summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.3.1/fedora/gcc43-pr32139.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc-4.3.1/fedora/gcc43-pr32139.patch')
-rw-r--r--packages/gcc/gcc-4.3.1/fedora/gcc43-pr32139.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.3.1/fedora/gcc43-pr32139.patch b/packages/gcc/gcc-4.3.1/fedora/gcc43-pr32139.patch
new file mode 100644
index 0000000000..f35696703d
--- /dev/null
+++ b/packages/gcc/gcc-4.3.1/fedora/gcc43-pr32139.patch
@@ -0,0 +1,19 @@
+2007-06-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/32139
+ * gcc.c-torture/compile/20070531-1.c: New test.
+
+--- gcc/testsuite/gcc.c-torture/compile/20070531-1.c.jj 2007-05-31 13:47:22.000000000 +0200
++++ gcc/testsuite/gcc.c-torture/compile/20070531-1.c 2007-06-01 10:57:15.000000000 +0200
+@@ -0,0 +1,11 @@
++/* PR tree-optimization/32139 */
++int foo (void);
++int bar (void) __attribute__ ((const));
++
++int
++test (int x)
++{
++ int a = (x == 10000 ? foo : bar) ();
++ int b = (x == 10000 ? foo : bar) ();
++ return a + b;
++}