[llvm-bugs] [Bug 26062] New: Attached self-contained source (from range-v3 example) crashes clang++ front-end

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 7 05:31:53 PST 2016


            Bug ID: 26062
           Summary: Attached self-contained source (from range-v3 example)
                    crashes clang++ front-end
           Product: new-bugs
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: tonyelewis at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15576
  --> https://llvm.org/bugs/attachment.cgi?id=15576&action=edit
self-contained source file that crashes clang++ 3.6.2

The attached self-contained source file crashes Clang 3.6.2 with the following

clang++ -std=c++11 -c clang_compile_problem.ii

Following the instructions on
http://llvm.org/docs/HowToSubmitABug.html#crashing-bugs, I find it still
crashes if I add the options -O0 -emit-llvm so it appears to be a front-end

I have used delta and hand modification to reduce the crashing source (though I
can't guarantee that that hasn't changed the cause of the crash).

The version of Clang is:

Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2)
Target: x86_64-pc-linux-gnu
Thread model: posix

The OS is:

Ubuntu 15.10
Linux4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64 x86_64
x86_64 GNU/Linux

For context, the original source file comes from (probably mis)using Eric
Niebler's range-v3 library.

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/20160107/f117a1c6/attachment.html>

More information about the llvm-bugs mailing list