https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2022-06-09 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Chris Johns from comment #10) > And yes the eh_globals single-threaded fallback buffer does have this > problem however for RTEMS that is a corner case because something has called > `exit()` on an embedded realtime system and that typically means a reset is > about to happen. Right. Nobody is going to be creating new threads and throwing exceptions in a function registered with atexit!