]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- fix critical 4.1/4.2 regression.
authorPaweł Sikora <pluto@pld-linux.org>
Tue, 7 Mar 2006 16:13:56 +0000 (16:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  strict aliasing incorrectly pre-loads an array element with loops.

Changed files:
    gcc-pr26587.patch -> 1.1.2.1

gcc-pr26587.patch [new file with mode: 0644]

diff --git a/gcc-pr26587.patch b/gcc-pr26587.patch
new file mode 100644 (file)
index 0000000..a9068b8
--- /dev/null
@@ -0,0 +1,12 @@
+--- gcc-4.1.0/gcc/tree-ssa-structalias.c.orig  2006-02-14 17:01:32.000000000 +0100
++++ gcc-4.1.0/gcc/tree-ssa-structalias.c       2006-03-07 17:11:16.637683250 +0100
+@@ -2837,7 +2837,8 @@
+   tree op0, op1;
+   struct constraint_expr base, offset;
+-  if (TREE_CODE (expr) != PLUS_EXPR)
++  if (TREE_CODE (expr) != PLUS_EXPR
++      && TREE_CODE (expr) != MINUS_EXPR)
+     return false;
+   op0 = TREE_OPERAND (expr, 0);
This page took 0.037612 seconds and 4 git commands to generate.