http://llvm.org/bugs/show_bug.cgi?id=11794
Bug #: 11794
Summary: EarlyCSE stack overflow on long functions.
Product: tools
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: opt
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 7900
--> http://llvm.org/bugs/attachment.cgi?id=7900
Running this Python script will generate a file which when compiled with the
EarlyCSE optimizer enabled (-O2 will enable it) causes the stack to be blown.
Basically, the issue is that EarlyCSE::processNode() is recursive and with a
very large function, such as the machine generated one I have, it blows the
stack.
The attached script generates a function which re-creates the problem. On my
64-bit FreeBSD 7.3 build machine I come across this issue with a function as
short as 5800 lines, possibly shorter. gcc 4.3 does not display the same issue.
--
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