[LLVMbugs] [Bug 8089] New: clang crashes when an enum forward declaration is used in cast

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 5 19:06:50 PDT 2010


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

           Summary: clang crashes when an enum forward declaration is used
                    in cast
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pichet2000 at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


test.cpp:
  enum E;
  int a = (E)3;


clang -cc1 -fsyntax-only test.cpp

stack dump.

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