On Mon, 7 Nov 2011, Richard Guenther wrote: > On Mon, 7 Nov 2011, Eric Botcazou wrote: > > > > This tries to find a way to prepend explicitly set command-line options > > > by those implicitly set by the frontend (-fexceptions in this case). > > > Unfortunately we don't seem to have a good way to extract this information > > > easily, so for -fexceptions I hope all frontends set that during > > > init_options_struct. > > > > That's wrong for Ada: it is set in gnat_init_gcc_eh and cannot be set > > earlier > > because we support run time selection of the EH scheme.
Btw, I doubt the patch would break anything for Ada - it at most adds -fexceptions, so if Ada doesn't set flag_exceptions in init_options_struct then it is a no-op for Ada. Richard.