public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/84210] __ubsan_handle_builtin_unreachable shoun't be const
       [not found] <bug-84210-4@http.gcc.gnu.org/bugzilla/>
@ 2024-04-03 18:51 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu.org @ 2024-04-03 18:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84210

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=107300
   Last reconfirmed|2021-12-19 00:00:00         |2024-4-3

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
And then there was an issue where we convert __builtin_unreachable to
__builtin_trap which had the similar issue so we added:
DEF_GCC_BUILTIN        (BUILT_IN_UNREACHABLE_TRAP, "unreachable trap",
BT_FN_VOID, ATTR_CONST_NORETURN_NOTHROW_LEAF_COLD_LIST)

instead, see PR 107300 for the issue there. 

So the question becomes why was __builtin_unreachable marked as const, I have
no idea.
Anyways reconfirmed.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-03 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-84210-4@http.gcc.gnu.org/bugzilla/>
2024-04-03 18:51 ` [Bug sanitizer/84210] __ubsan_handle_builtin_unreachable shoun't be const pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).