[llvm-bugs] [Bug 39579] New: clang++ (v. 7.0.0) segfault at -O2 but not -O1
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 7 06:12:32 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39579
Bug ID: 39579
Summary: clang++ (v. 7.0.0) segfault at -O2 but not -O1
Product: clang
Version: 7.0
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: mb.hansen at chem.au.dk
CC: llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
Created attachment 21098
--> https://bugs.llvm.org/attachment.cgi?id=21098&action=edit
clang++ output to stdout
Hi, my clang++ installation crashes when compiling a file c++ source file.
```
$ clang++ --version
clang version 7.0.0 (tags/RELEASE_700/final)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin
```
It segfaults with the -O2 flag, but not with -O1.
I'll attach the stdout output from clang++ as well as the three files asked in
the diagnostics message.
Attached file will be from running with -O2.
--
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/20181107/438c51f4/attachment.html>
More information about the llvm-bugs
mailing list