diff options
Diffstat (limited to 'recipes/gcc/gcc-4.4.0/fedora/gcc43-pr32139.patch')
-rw-r--r-- | recipes/gcc/gcc-4.4.0/fedora/gcc43-pr32139.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-4.4.0/fedora/gcc43-pr32139.patch b/recipes/gcc/gcc-4.4.0/fedora/gcc43-pr32139.patch new file mode 100644 index 0000000000..f35696703d --- /dev/null +++ b/recipes/gcc/gcc-4.4.0/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; ++} |