This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
other/10901: non-local goto's (still) don't work on apple-powerpc-darwin
- From: gcc at microbizz dot nl
- To: gcc-gnats at gcc dot gnu dot org
- Date: 21 May 2003 10:15:42 -0000
- Subject: other/10901: non-local goto's (still) don't work on apple-powerpc-darwin
- Reply-to: gcc at microbizz dot nl
>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: gcc@microbizz.nl
>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: