------- Comment #3 from ubizjak at gmail dot com 2008-10-25 10:14 ------- Minimized testcase: --cut here-- void Perl_croak (void) __attribute__ ((noreturn)); static int __attribute__ ((noreturn)) not_here (void) { Perl_croak (); } void XS_IO__Handle_setvbuf (void) { int i = not_here (); } --cut here-- gcc -O2 pr37913.c: pr37913.c: In function ‘XS_IO__Handle_setvbuf’: pr37913.c:12: internal compiler error: Segmentation fault Please submit a full bug report, -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37913