http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49874
Summary: [h8300] ICE in
compute_frame_pointer_to_fb_displacement, at
dwarf2out.c:16312
Product: gcc
Version: 4.5.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 24844
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24844
reduced testcase.
Using:
Using built-in specs.
COLLECT_GCC=/src/h8300/obj/destdir/bin/h8300-elf-gcc
COLLECT_LTO_WRAPPER=/src/h8300/obj/destdir/libexec/gcc/h8300-elf/4.5.4/lto-wrapper
Target: h8300-elf
Configured with: ../../../external/gpl/gcc/configure
--prefix=/src/h8300/obj/destdir --target=h8300-elf --enable-languages=c
Thread model: single
gcc version 4.5.4 20110726 (prerelease) (GCC)
and the attached reduced testcase triggers the following ICE:
% /src/h8300/obj/destdir/bin/h8300-elf-gcc -O2 -mh -mint32 -fno-builtin -g
-fomit-frame-pointer -c -o read_write.o read_write.c
read_write.c: In function 'sys_pwrite64':
read_write.c:41:1: internal compiler error: in
compute_frame_pointer_to_fb_displacement, at dwarf2out.c:16312
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
The ICE do not happens without -fomit-frame-pointer