public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/22119] New: nonlocal goto's fail on -i686-apple-darwin
@ 2005-06-19 13:18 gcc at microbizz dot nl
  2005-06-19 13:20 ` [Bug target/22119] nonlocal goto's fail on i?86-darwin pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 4+ messages in thread
From: gcc at microbizz dot nl @ 2005-06-19 13:18 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <bug-22119-6064@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2009-06-03 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-19 13:18 [Bug target/22119] New: nonlocal goto's fail on -i686-apple-darwin gcc at microbizz dot nl
2005-06-19 13:20 ` [Bug target/22119] nonlocal goto's fail on i?86-darwin pinskia at gcc dot gnu dot org
     [not found] <bug-22119-6064@http.gcc.gnu.org/bugzilla/>
2005-11-20 16:30 ` gcc at microbizz dot nl
2009-06-03 21:51 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).