http://llvm.org/bugs/show_bug.cgi?id=15220
Bug ID: 15220
Summary: Segfault on dumping AST of code using a template
friend class
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 9988
--> http://llvm.org/bugs/attachment.cgi?id=9988&action=edit
Testcase
This bug prevents me from generating ASTs for a lot of code. The attached
(minimized) testcase causes clang to segfault when invoked with:
clang++ -cc1 -std=gnu++0x -ast-dump test.cpp >test.ast
The resulting ast file will be 1.4 GB big and indicates that the AST dumping
code goes into an infinite loop. Possibly related to bug 12292 or bug 7308?
Tested using clang version 3.3 (http://llvm.org/git/clang.git
992c59247497ba38e904142f9ac3028c3e1874af) (http://llvm.org/git/llvm.git
882b9276cb3a19ecc4fd307d8c0acd17574570a0).
--
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