This is with 4.4.0-RC-20090414, with --enable-checking=yes,rtl,tree if that matters.
$ h8300-elf-gcc -mh -mint32 -g -fomit-frame-pointer -S read_write.i /home/segher/src/kernel/fs/read_write.c: In function 'sys_pwrite64': /home/segher/src/kernel/fs/read_write.c:455: internal compiler error: in compute_frame_pointer_to_fb_displacement, at dwarf2out.c:12179 It needs all those options to fail. -- Summary: internal compiler error: in compute_frame_pointer_to_fb_displacement, at dwarf2out.c:12179 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: segher at kernel dot crashing dot org GCC host triplet: x86_64-linux GCC target triplet: h8300-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39766