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

           Summary: Crash when parsing a piece of template metaprogramming
                    code.
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


The attached source file reproduce a "Segmentation fault" error in the latest
svn clang,
revision 131131.

I've only access to OS X machines but it doesn't seem to be related to
hardware/OS issues.

I can reproduce the bug with the following command:
clang -cc1 -fsyntax-only test.cpp

gdb says:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffff8
0x00000001006a91c6 in clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformTemplateArgument ()

The full backtrace is attached with the source file.

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

Reply via email to