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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=58525

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Thiago Macieira from comment #6)
> Suggestion: add a function to libgcc to be called instead of
> __cxa_throw_bad_array_new_length when exceptions are disabled. That function
> can be a mere two instructions, but it provides two advantages:
> * no need to stream something into LTO

Except there is still a generic issue (which I did link, PR 80922).

> * allows post-compilation tools to know what's happened (Valgrind,
> debuggers, etc.)
> 
> I don't know if this is an acceptable solution, but I thought I'd make the
> suggestion.

See PR 58525 also which added that code path.

Reply via email to