This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/23568] New: Nested functions + local label sometimes don't compile


/* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]