[llvm-bugs] [Bug 47875] New: Compiler segfaults when compiling a file with a user-defined deduction guide for a nested class
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 16 01:55:30 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47875
Bug ID: 47875
Summary: Compiler segfaults when compiling a file with a
user-defined deduction guide for a nested class
Product: clang
Version: 11.0
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P
Component: C++17
Assignee: unassignedclangbugs at nondot.org
Reporter: dfr at rabson.org
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
Stack dump:
0. Program arguments: /usr/local/llvm11/bin/clang++ -cc1 -triple
x86_64-portbld-freebsd12.1 -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name bug.cpp
-mrelocation-model static -mframe-pointer=all -fno-rounding-math
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-fno-split-dwarf-inlining -debug-info-kind=standalone -dwarf-version=4
-debugger-tuning=gdb -resource-dir /usr/local/llvm11/lib/clang/11.0.0
-internal-isystem /usr/include/c++/v1 -std=c++17 -fdeprecated-macro
-fdebug-compilation-dir /home/dfr/src/clang-bug -ferror-limit 19
-fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics
-faddrsig -o /tmp/bug-2b41fa.o -x c++ bug.cpp
1. bug.cpp:35:72: current parser token ';'
2. bug.cpp:23:1: parsing struct/union/class body 'log'
#0 0x00000008056bb666 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/local/llvm11/lib/libLLVM-11.so+0x24bb666)
#1 0x00000008056b97e5 llvm::sys::RunSignalHandlers()
(/usr/local/llvm11/lib/libLLVM-11.so+0x24b97e5)
#2 0x00000008056bbef1 (/usr/local/llvm11/lib/libLLVM-11.so+0x24bbef1)
#3 0x000000080027a3b0 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
clang++: error: unable to execute command: Segmentation fault (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 11.0.0
Target: x86_64-portbld-freebsd12.1
Thread model: posix
InstalledDir: /usr/local/llvm11/bin
clang++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/bug-c11b99.cpp
clang++: note: diagnostic msg: /tmp/bug-c11b99.sh
clang++: note: diagnostic msg:
********************
--
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/20201016/5a253381/attachment-0001.html>
More information about the llvm-bugs
mailing list