aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/Makefile.rtl4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index e66f11133ea..e0d4e657fed 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2019-10-15 Arnaud Charlet <charlet@adacore.com>
+
+ * Makefile.rtl (a-except.o): Put -O1 earlier so that it can be
+ overriden if needed by other variables.
+
2019-10-12 Eric Botcazou <ebotcazou@adacore.com>
PR ada/91995
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index e5aa6b8eeac..c28670103ad 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -2733,8 +2733,8 @@ s-tasdeb.o : s-tasdeb.adb s-tasdeb.ads
# use -O1 otherwise gdb isn't able to get a full backtrace on mips targets.
a-except.o : a-except.adb a-except.ads
- $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) \
- $(NO_INLINE_ADAFLAGS) $(NO_REORDER_ADAFLAGS) -O1 $(ADA_INCLUDES) \
+ $(ADAC) -c $(ALL_ADAFLAGS) -O1 $(FORCE_DEBUG_ADAFLAGS) \
+ $(NO_INLINE_ADAFLAGS) $(NO_REORDER_ADAFLAGS) $(ADA_INCLUDES) \
$< $(OUTPUT_OPTION)
# Compile s-excdeb.o without optimization and with debug info to let the