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

Reply via email to