https://bugs.llvm.org/show_bug.cgi?id=52145
Bug ID: 52145
Summary: Frontend segmentation fault when using naked lambda
function.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++2b
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Created attachment 25351
--> https://bugs.llvm.org/attachment.cgi?id=25351&action=edit
Stack trace
When using Clang 13 and trunk (checked on godbolt), invoking a naked lambda
causes a segmentation fault in the frontend during codegen for it.
Example code (tested with -std=c++2b -Wall -Wextra -Wpedantic):
void f() {
[] [[gnu::naked]] {}();
}
Attached is the stack trace from Clang 13.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs