[Bug debug/42244] New: var-tracking ICE for 300.twolf
janis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 1 23:20:00 GMT 2009
GCC trunk gets an internal compiler error when building SPEC CPU2000 test
300.twolf with "-O2 -g -ffloat-store -fmodulo-sched" on powerpc-linux, as
demonstrated by this minimized testcase:
extern int numerator, denom;
double
compute_and_combination (double states)
{
for (; numerator > denom; numerator--)
states *= (double) numerator;
return states;
}
elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gcc -O2 -g -ffloat-store
-fmodulo-sched -c bug.c
bug.c: In function Âcompute_and_combinationÂ:
bug.c:9:1: internal compiler error: in create_ddg_dep_no_link, at ddg.c:215
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
The failure started when var-tracking-assignments was enabled by default if
var-tracking was enabled; the test case passes with the additional option
-fno-var-tracking.
--
Summary: var-tracking ICE for 300.twolf
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42244
More information about the Gcc-bugs
mailing list