[LLVMbugs] [Bug 2325] New: clang crashes codegen'ing goto in compound statement

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue May 13 11:56:54 PDT 2008


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

           Summary: clang crashes codegen'ing goto in compound statement
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase:
int a() { return ({goto L; 0;}) && ({L: 5;});}

Crashes with clang -emit-llvm.

Apparently this is supposed to return 1, although I have no clue how this is
supposed to work.


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