[LLVMbugs] [Bug 21912] New: core dump with empty compound literals

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 14 02:36:02 PST 2014


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

            Bug ID: 21912
           Summary: core dump with empty compound literals
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: m13253 at hotmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13538
  --> http://llvm.org/bugs/attachment.cgi?id=13538&action=edit
Output of clang

Compile the following code with clang++ -std=c++11 -O3 :

const int *const *a = (const int *const []) {};

Then clang crashes and dumps core.

Output: see the attachment clang-output.txt

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141214/5e7a8dfb/attachment.html>


More information about the llvm-bugs mailing list