public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/42282]  New: regression: ICE when bootstrapping trunk with -O2 -funswitch-loops
@ 2009-12-04 20:23 matt at use dot net
  2009-12-07 17:23 ` [Bug regression/42282] " jakub at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: matt at use dot net @ 2009-12-04 20:23 UTC (permalink / raw)
  To: gcc-bugs

With 20091201 trunk on Linux/amd64 ICE does not happen with GCC 4.4.1-ubuntu8.
Appears to be bad interaction 
between -O2 and -funswitch-loops. Either alone is fine, but together the crash
occurs. The commandline below reproduces the issue, but removing all but -O2
and -funswitch-loops will also reproduce.

gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc-trunk/gcc -I../../gcc-trunk/gcc/. -I../../gcc-trunk/gcc/../include
-I../../gcc-trunk/gcc/../libcpp/include  -I../../gcc-trunk/gcc/../libdecnumber
-I../../gcc-trunk/gcc/../libdecnumber/bid -I../libdecnumber 
-DCLOOG_PPL_BACKEND  -I/usr/include/libelf -O2 -floop-interchange
-floop-strip-mine -floop-block -findirect-inlining -ftree-switch-conversion
-fvect-cost-model -fgcse-sm -fgcse-las -fgcse-after-reload -fsee
-ftree-loop-linear -ftree-loop-distribution -ftree-loop-im -ftree-loop-ivcanon
-fivopts -fvpt -funroll-loops -funswitch-loops
../../gcc-trunk/gcc/simplify-rtx.c -o simplify-rtx.o
../../gcc-trunk/gcc/simplify-rtx.c: In function
‘simplify_immed_subreg’:
../../gcc-trunk/gcc/simplify-rtx.c:4829:1: error: definition in block 35 does
not dominate use in block 131
for SSA_NAME: vp_549 in statement:
# DEBUG vp => vp_549 + 1
../../gcc-trunk/gcc/simplify-rtx.c:4829:1: internal compiler error: verify_ssa
failed


-- 
           Summary: regression: ICE when bootstrapping trunk with -O2 -
                    funswitch-loops
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matt at use dot net
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42282


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-19 13:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-04 20:23 [Bug regression/42282] New: regression: ICE when bootstrapping trunk with -O2 -funswitch-loops matt at use dot net
2009-12-07 17:23 ` [Bug regression/42282] " jakub at gcc dot gnu dot org
2009-12-07 20:40 ` matt at use dot net
2009-12-07 20:41 ` matt at use dot net
2009-12-07 22:16 ` zsojka at seznam dot cz
2010-01-19  9:14 ` jakub at gcc dot gnu dot org
2010-02-19 13:23 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).