From 14f020d16d55787f1ddbb8185247ea8dd65dfd9a Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 15 Oct 2019 10:12:15 +0000 Subject: [PATCH] Makefile.rtl (a-except.o): Put -O1 earlier so that it can be overriden if needed by other variables. * Makefile.rtl (a-except.o): Put -O1 earlier so that it can be overriden if needed by other variables. From-SVN: r276988 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/Makefile.rtl | 4 ++-- 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 + + * Makefile.rtl (a-except.o): Put -O1 earlier so that it can be + overriden if needed by other variables. + 2019-10-12 Eric Botcazou 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 -- 2.30.2