gcc-4.0 branch from 2005-12-28; arm-linux target
$ cc1 -O2 phaser.i -fomit-frame-pointer -ffast-math -g -O2 -Wall
-falign-loops=4 -falign-jumps=4 -ffast-math -fomit-frame-pointer
-finline-functions -funroll-loops
yields:
phaser.i: In function ‘phaser1set’:
phaser.i:61: fatal error: internal consistency failure
compilation terminated.
#0 0xb7ecc3b6 in exit () from /lib/tls/libc.so.6
#1 0x0812c988 in diagnostic_action_after_output (
context=<value optimized out>, diagnostic=<value optimized out>)
at ../../gcc-4_0-branch/gcc/diagnostic.c:252
#2 0x0812caaf in diagnostic_report_diagnostic (context=0x83b75a0,
diagnostic=0xbffff5e8) at ../../gcc-4_0-branch/gcc/diagnostic.c:351
#3 0x0812ccfc in fatal_error (gmsgid=0x835df69 "internal consistency failure")
at ../../gcc-4_0-branch/gcc/diagnostic.c:496
#4 0x08174995 in verify_local_live_at_start (new_live_at_start=0x842f720,
bb=0xb7d13000) at ../../gcc-4_0-branch/gcc/flow.c:494
--
Summary: arm-linux: crash in verify_wide_reg with -funroll-loops
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pb at gcc dot gnu dot org
GCC target triplet: arm-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25588