https://bugs.llvm.org/show_bug.cgi?id=42710
Bug ID: 42710
Summary: Segmentation Fault when compiling with debug symbols
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++17
Assignee: unassignedclangb...@nondot.org
Reporter: cvzakharche...@gmail.com
CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
Created attachment 22268
--> https://bugs.llvm.org/attachment.cgi?id=22268&action=edit
Segfault minimal reproducible example
Here is the code and the error, produced by clang compiler both on the latest
trunk version and some previous versions (clang-9.0, clang-8.0):
https://godbolt.org/z/H523mO
I attached the same code here. It produces Segmentation Fault, when compiled on
Linux 4.19.59-1-MANJARO with a command:
clang++ -std=c++17 -g test_main.cpp
It doesn't produce any errors without -g flag.
clang version 8.0.0 (tags/RELEASE_800/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs