aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2014-07-31 10:16:33 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-31 12:16:33 +0200
commit9697805c7ad19e329c9fdc836c8f42f0c731d603 (patch)
tree81443d8093d312a6b870a908998fd0fe08f071ff /gcc
parent022ed1787e398b279fa7afba30e4c9847d56bb9f (diff)
downloadgcc-9697805c7ad19e329c9fdc836c8f42f0c731d603.zip
gcc-9697805c7ad19e329c9fdc836c8f42f0c731d603.tar.gz
gcc-9697805c7ad19e329c9fdc836c8f42f0c731d603.tar.bz2
* gcc-interface/Makefile.in (s-traceb.o): Adjust rules.
From-SVN: r213342
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog1
-rw-r--r--gcc/ada/gcc-interface/Makefile.in9
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 8daa4dc..c169828 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -80,6 +80,7 @@
* s-traceb.adb, s-traceb-hpux.adb, s-traceb-mastop.adb:
(Call_Chain): Add 1 to number of frames to skip, to account for
the fact that there's one more frame on the stack.
+ * gcc-interface/Makefile.in (s-traceb.o): Adjust rules.
2014-07-31 Robert Dewar <dewar@adacore.com>
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
index fb06b6b..c4c81e5 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -106,6 +106,7 @@ GNATBIND_FLAGS = -static -x
ADA_CFLAGS =
ADAFLAGS = -W -Wall -gnatpg -gnata
FORCE_DEBUG_ADAFLAGS = -g
+NO_INLINE_ADAFLAGS = -fno-inline
NO_SIBLING_ADAFLAGS = -fno-optimize-sibling-calls
NO_REORDER_ADAFLAGS = -fno-toplevel-reorder
GNATLIBFLAGS = -W -Wall -gnatpg -nostdinc
@@ -2997,14 +2998,14 @@ ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
# force no sibling call optimization on s-traceb.o so the number of stack
# frames to be skipped when computing a call chain is not modified by
-# optimization.
+# optimization. We don't want inlining, either.
s-traceb.o : s-traceb.adb s-traceb.ads
- $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) \
+ $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) $(NO_INLINE_ADAFLAGS) \
$(NO_SIBLING_ADAFLAGS) $(ADA_INCLUDES) $< $(OUTPUT_OPTION)
-# force debugging information on s-tasdeb.o so that it is always
-# possible to set conditional breakpoints on tasks.
+# compile s-tasdeb.o without optimization and with debug info so that it is
+# always possible to set conditional breakpoints on tasks.
s-tasdeb.o : s-tasdeb.adb s-tasdeb.ads
$(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O0 $(ADA_INCLUDES) \