http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48628
Summary: ICE in reload
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
The attached test causes gcc to ICE when compiled with -O0.
$ arm-eabi-gcc -c foo.c
foo.c: In function 'f0a':
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: left shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:16:1: warning: right shift count >= width of type [enabled by default]
foo.c:18:1: internal compiler error: in elimination_costs_in_insn, at
reload1.c:3643
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.