patches/gcc/4.7.0/001-gcc-bug-54494.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

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