http://llvm.org/bugs/show_bug.cgi?id=9463

           Summary: Changes for parsing of goto statement broke compiling
                    of existing source code
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6314)
 --> (http://llvm.org/bugs/attachment.cgi?id=6314)
simplified test case

It works before 125813 revision
(http://llvm.org/viewvc/llvm-project/cfe/trunk/?pathrev=125813).

The simplified test case attached to the report, with following error:
GotoTest.cpp:29:18: error: use of undeclared identifier 'end'

The following error for existing source code
(http://code.google.com/p/upp-mirror/source/browse/trunk/uppsrc/CtrlLib/FileList.cpp?r=2889#96):
uppsrc/CtrlLib/FileList.cpp:96:38: error: use of undeclared identifier 'end';
did you mean 'nd'?

Also tested with gcc 4.2/4.6 version, which works.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to