From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10805 invoked by alias); 19 Jun 2005 13:18:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10794 invoked by uid 48); 19 Jun 2005 13:18:36 -0000 Date: Sun, 19 Jun 2005 13:18:00 -0000 From: "gcc at microbizz dot nl" To: gcc-bugs@gcc.gnu.org Message-ID: <20050619131834.22119.gcc@microbizz.nl> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/22119] New: nonlocal goto's fail on -i686-apple-darwin X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg02497.txt.bz2 List-Id: 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