[LLVMbugs] [Bug 7342] New: Segfault when compiling with optimizations
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 10 00:31:12 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7342
Summary: Segfault when compiling with optimizations
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bwy at benjaminwolsey.de
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=4998)
--> (http://llvm.org/bugs/attachment.cgi?id=4998)
Preprocessed source
The following code consistently fails to compile with -O2 or -O3. I've reduced
the case as far as possible.
Output:
1. <eof> parser at end of file
2. Code generation
3. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZN4TestC2Ev'
#include <boost/shared_ptr.hpp>
#include <deque>
namespace {
struct A { };
}
struct Test
{
Test();
std::deque<boost::shared_ptr<A> > x;
};
Test::Test() {}
--
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