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

--- Comment #6 from Chris Johns <chrisj at rtems dot org> ---
(In reply to Andrew Pinski from comment #5)
> There has to be an ordering issue of the calling of the deconstructors vs
> the ordering of the constructors.
> 
> Maybe the problem is the `eh_gloabls init` priority is not set correctly to
> be first/last.

It would have to be last or close to it and I have no idea how that could be
done without additional attributes that are not standard.

Reply via email to