[LLVMbugs] [Bug 10332] New: Compiler crashes when parser overflows the stack, instead of providing a nice report
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jul 11 10:58:42 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10332
Summary: Compiler crashes when parser overflows the stack,
instead of providing a nice report
Product: clang
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: seth.cantrell at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6871)
--> (http://llvm.org/bugs/attachment.cgi?id=6871)
A simple case to make parser overflow stack
When compiling the attached file the parser overflows the stack. Then the code
to catch crashes and print out a stack trace is called and another crash
occurs, presenting the user (on Windows 7) with the 'close program'/'debug
program' dialog.
For comparison, Microsoft's cl.exe gives the following output when compiling
the attached file:
tail.cpp(2) : fatal error C1026: parser stack overflow, program too complex
--
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