[llvm-bugs] [Bug 52600] New: clang does not ignore throw()s within noexcept operator context + crash bonus
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 24 16:59:34 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=52600
Bug ID: 52600
Summary: clang does not ignore throw()s within noexcept
operator context + crash bonus
Product: clang
Version: 13.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++2a
Assignee: unassignedclangbugs at nondot.org
Reporter: janezz55 at gmail.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
If exceptions are disabled with -fno-exceptions, gcc will ignore throw()'s in a
noexcept() operator context, but not clang.
The example is here:
https://github.com/user1095108/generic/blob/master/dispatch.cpp
Remove #ifndef to reproduce the crash.
--
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/20211125/2c0a1849/attachment.html>
More information about the llvm-bugs
mailing list