See PR10901 Test program (nonlocalgoto.c):
extern int puts (const char *); extern void abort (void); int main (void) { __label__ l1; void foo (void) { void bar (void) { puts ("goto l1"); goto l1; } bar (); } foo (); abort (); l1: puts ("label l1"); return 0; } How-To-Repeat: %gcc nonlocalgoto.c %./a.out On x86 Darwin 7.2.1 this prints: goto l1 run this program. -- Summary: nonlocal goto's fail on -i686-apple-darwin Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc at microbizz dot nl CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-apple-darwin GCC target triplet: i686-apple-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22119