diff options
author | Michael Matz <matz@gcc.gnu.org> | 2011-04-08 20:18:08 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2011-04-08 20:18:08 +0000 |
commit | 42821aff0aa8c8118a0e19c2dc640b24ad26e1dc (patch) | |
tree | 913be8fcb10baa2e6e9e098eeb7d7b28a3bc79b9 /gcc/testsuite/gcc.target | |
parent | ad7be0090c0276c2526887944f5f6927e20507f2 (diff) | |
download | gcc-42821aff0aa8c8118a0e19c2dc640b24ad26e1dc.zip gcc-42821aff0aa8c8118a0e19c2dc640b24ad26e1dc.tar.gz gcc-42821aff0aa8c8118a0e19c2dc640b24ad26e1dc.tar.bz2 |
re PR rtl-optimization/48389 (ICE: in make_edges, at cfgbuild.c:319 with -mtune=pentiumpro)
PR middle-end/48389
* jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New
functions.
(rebuild_jump_labels): Call rebuild_jump_labels_1.
* rtl.h (rebuild_jump_labels_chain): Declare.
* cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on
insns inserted on edges.
testsuite/
* gcc.target/i386/pr48389.c: New test.
From-SVN: r172208
Diffstat (limited to 'gcc/testsuite/gcc.target')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr48389.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr48389.c b/gcc/testsuite/gcc.target/i386/pr48389.c new file mode 100644 index 0000000..d43f664 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr48389.c @@ -0,0 +1,13 @@ +/* PR middle-end/48389 */ +/* { dg-do compile } */ +/* { dg-options "-O -mtune=pentiumpro -Wno-abi" } */ +/* { dg-require-effective-target ilp32 } */ +typedef float V2SF __attribute__ ((vector_size (128))); +V2SF foo (int x, V2SF a) +{ + V2SF b = {}; + if (x & 42) + b = a; + a += b; + return a; +} |