https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595
--- Comment #5 from Daniel Gutson ---
(In reply to Andrew Pinski from comment #4)
> (In reply to Daniel Gutson from comment #3)
> > OK. That was my second suggested alternative.
> > BTW I didn't see __builtin_trap documented as noreturn in the do
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595
--- Comment #4 from Andrew Pinski ---
(In reply to Daniel Gutson from comment #3)
> OK. That was my second suggested alternative.
> BTW I didn't see __builtin_trap documented as noreturn in the documentation.
Depends on the reading of __builtin_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595
--- Comment #2 from Andrew Pinski ---
https://github.com/scottt/debugbreak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595
--- Comment #3 from Daniel Gutson ---
(In reply to Andrew Pinski from comment #1)
> What you want is __builtin_breakpoint (if that existed). Trap is considered
> as noreturn just like abort/exit.
OK. That was my second suggested alternative.
BT
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595
--- Comment #1 from Andrew Pinski ---
What you want is __builtin_breakpoint (if that existed). Trap is considered as
noreturn just like abort/exit.