Re: [PATCH] PR ada/66242 Front-end error if exception propagation disabled

2015-06-15 Thread Arnaud Charlet
Simon, As discussed privately, your patch is interesting but isn't complete enough so cannot be integrated as is since we also want to avoid not only the generation of the initialization/finalization exception handlers, but also to eliminate the creation of the various variables that keep track of

[PATCH] PR ada/66242 Front-end error if exception propagation disabled

2015-06-14 Thread Simon Wright
There are two issues in code expansion related to Ada.Finalization that aren’t properly handled in the presence of pragma Restriction (No_Exception_Propagation). The expanded code attempts to catch any exception propagated during Finalize and record that it happened, and later, if there was a c