Do not override -fnon-call-exceptions in default mode
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 9 May 2020 20:52:21 +0000 (22:52 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 9 May 2020 20:52:21 +0000 (22:52 +0200)
commite92f85c792c8c5e7846ba2bc7f5e24f08dcdfece
treea69c67cd2b666786f559e3f8eedcc0aeef578c10
parent527ed00b715bf4a945284722b7e766a4f763049f
Do not override -fnon-call-exceptions in default mode

This was already the case in -gnatp mode.

* gcc-interface/misc.c (gnat_init_gcc_eh): Do not override the user
for -fnon-call-exceptions in default mode.
gcc/ada/ChangeLog
gcc/ada/gcc-interface/misc.c