[llvm-bugs] [Bug 33449] New: segfault parsing invalid structured bindings range-for loop
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 13 23:13:10 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33449
Bug ID: 33449
Summary: segfault parsing invalid structured bindings range-for
loop
Product: clang
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: danny at nerdcruft.net
CC: llvm-bugs at lists.llvm.org
Created attachment 18634
--> https://bugs.llvm.org/attachment.cgi?id=18634&action=edit
reduced test case
When parsing an (invalid) function definition which includes a fragment with a
range-based for loop using structure bindings clang++-4.0 reports a segfault
after accurately reporting various syntax errors.
Attached a reduced testcase, with backtrace and run scripts to follow.
--
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/20170614/c952901a/attachment.html>
More information about the llvm-bugs
mailing list