<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Compiler segfaults when compiling a file with a user-defined deduction guide for a nested class"
href="https://bugs.llvm.org/show_bug.cgi?id=47875">47875</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Compiler segfaults when compiling a file with a user-defined deduction guide for a nested class
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++17
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dfr@rabson.org
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>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:
********************</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>