patches/gcc/4.7.0/001-gcc-bug-54494.patch
author Yann Diorcet <diorcet.yann@gmail.com>
Mon Nov 19 21:45:09 2012 +0100 (2012-11-19)
changeset 3121 5016315d88ba
permissions -rw-r--r--
binutils/binutils: simplify gold dependencies

In preparation of adding a new kernel-type, Yann D. came up
with a change in semantic on binutils/gold availability.

So far, it was architectures' responsibility to declare that
they did support binutils/gold or not. It makes much more sense
that binutils/gold declares its own availability depending on
the current architecture; after all, architectures have no way
to know wether gold supports them, while gold does know it.

Signed-off-by:Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971
     1 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191025
     2 Log:
     3 2012-09-06  Andrew Pinski  <apinski@cavium.com>
     4 
     5         PR tree-opt/54494
     6         * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also.
     7 2012-09-06  Andrew Pinski  <apinski@cavium.com>
     8 
     9         PR tree-opt/54494
    10         * gcc.dg/tree-ssa/strlen-1.c: New testcase.
    11 
    12 
    13 Added:
    14     branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c
    15       - copied unchanged from r191014,
    16 trunk/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c
    17 Modified:
    18     branches/gcc-4_7-branch/   (props changed)
    19     branches/gcc-4_7-branch/gcc/ChangeLog
    20     branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    21     branches/gcc-4_7-branch/gcc/tree-inline.c
    22 
    23 Propchange: branches/gcc-4_7-branch/
    24             ('svn:mergeinfo' modified)
    25 
    26 ---
    27 --- gcc-4_7-branch/gcc/tree-inline.c	2012/09/06 13:47:33	191024
    28 +++ gcc-4_7-branch/gcc/tree-inline.c	2012/09/06 13:51:37	191025
    29 @@ -871,6 +871,7 @@
    30  			     ptr, TREE_OPERAND (*tp, 1));
    31  	  TREE_THIS_NOTRAP (*tp) = TREE_THIS_NOTRAP (old);
    32  	  TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old);
    33 +	  TREE_SIDE_EFFECTS (*tp) = TREE_SIDE_EFFECTS (old);
    34  	  TREE_NO_WARNING (*tp) = TREE_NO_WARNING (old);
    35  	  *walk_subtrees = 0;
    36  	  return NULL;
    37