source: trunk/toolchain/gcc/patches/4.7.0/002-gcc-bug-54494.patch @ 33329

Last change on this file since 33329 was 33329, checked in by florian, 4 years ago

[toolchain] gcc: add upstream fixes for GCC bug 54494

See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.

File size: 1.2 KB
  • gcc-4_7-branch/gcc/tree-inline.c

    URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191025
    Log:
    2012-09-06  Andrew Pinski  <apinski@cavium.com>
    
            PR tree-opt/54494
            * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also.
    2012-09-06  Andrew Pinski  <apinski@cavium.com>
    
            PR tree-opt/54494
            * gcc.dg/tree-ssa/strlen-1.c: New testcase.
    
    
    Added:
        branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c
          - copied unchanged from r191014,
    trunk/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c
    Modified:
        branches/gcc-4_7-branch/   (props changed)
        branches/gcc-4_7-branch/gcc/ChangeLog
        branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
        branches/gcc-4_7-branch/gcc/tree-inline.c
    
    Propchange: branches/gcc-4_7-branch/
                ('svn:mergeinfo' modified)
    
    ---
     
    871871                             ptr, TREE_OPERAND (*tp, 1)); 
    872872          TREE_THIS_NOTRAP (*tp) = TREE_THIS_NOTRAP (old); 
    873873          TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old); 
     874          TREE_SIDE_EFFECTS (*tp) = TREE_SIDE_EFFECTS (old); 
    874875          TREE_NO_WARNING (*tp) = TREE_NO_WARNING (old); 
    875876          *walk_subtrees = 0; 
    876877          return NULL; 
Note: See TracBrowser for help on using the repository browser.