[llvm-bugs] [Bug 39601] New: crash at goto label inside sizeof
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 9 06:25:55 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39601
Bug ID: 39601
Summary: crash at goto label inside sizeof
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: eugvelesevich at gmail.com
CC: llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
source.cpp:
int main() {
sizeof(({M:0;}));
goto M;
}
output:
clang-8: error: unable to execute command: Segmentation fault (core dumped)
clang-8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 8.0.0 (trunk 346454)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Code is a little strange... gcc gets sigsegv too :)
--
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/20181109/3cb30ca1/attachment-0001.html>
More information about the llvm-bugs
mailing list