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; 2+ 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] 2+ messages in thread
* [Bug target/22119] nonlocal goto's fail on i?86-darwin
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 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-19 13:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-19 13:20 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC host triplet|i686-apple-darwin |
GCC target triplet|i686-apple-darwin |i?86-darwin
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2005-06-19 13:20:20
date| |
Summary|nonlocal goto's fail on - |nonlocal goto's fail on
|i686-apple-darwin |i?86-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22119
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-19 13:20 UTC | newest]
Thread overview: 2+ 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
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).