This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/23568] New: Nested functions + local label sometimes don't compile
- From: "eanda at skynet dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2005 23:02:30 -0000
- Subject: [Bug c/23568] New: Nested functions + local label sometimes don't compile
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/* the program below doesn't compile under Mac OS 10.4.2, using gcc 4.0.0 */
int main(int argc, const char *argv[])
{
__label__ myLabel;
void a() {goto myLabel;}
myLabel:
return 0;
}
--
Summary: Nested functions + local label sometimes don't compile
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eanda at skynet dot be
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: gcc version 4.0.0 (Apple Computer, Inc. build 5026)
GCC target triplet: powerpc-apple-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23568