[LLVMbugs] [Bug 9463] New: Changes for parsing of goto statement broke compiling of existing source code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 11 10:38:26 PST 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: lightside at safebox.ru
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list