other/10901: non-local goto's (still) don't work on apple-powerpc-darwin
| Newsgroups | gmane.comp.gcc.prs |
|---|---|
| Message-ID | <20030521101542.24244.qmail__39372.2582528882$1053513170@sources.redhat.com> |
>Number: 10901 >Category: other >Synopsis: non-local goto's (still) don't work on apple-powerpc-darwin >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed May 21 10:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: [email protected] >Release: gcc-3.3 >Organization: >Environment: apple-powerpc-darwin >Description: 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 -o nonlocalgoto -O3 gcc nonlocalgoto.c -o nonlocalgoto -O0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: