aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/inline.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-10-16 12:44:09 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2015-10-16 12:44:09 +0200
commit113522092bb252b2b5ee9e51ebd36d59677b1199 (patch)
tree6ac32ae21b13bb0214d13325a3baed1d0935dfc5 /gcc/ada/inline.adb
parent251b6a477e97787533753da196dc6e9640359a5a (diff)
downloadgcc-113522092bb252b2b5ee9e51ebd36d59677b1199.zip
gcc-113522092bb252b2b5ee9e51ebd36d59677b1199.tar.gz
gcc-113522092bb252b2b5ee9e51ebd36d59677b1199.tar.bz2
[multiple changes]
2015-10-16 Javier Miranda <miranda@adacore.com> * inline.adb (Add_Inlined_Body): Ensure that Analyze_Inlined_Bodies will be invoked after completing the analysis of the current unit. 2015-10-16 Arnaud Charlet <charlet@adacore.com> * sem_ch13.adb (Adjust_Record_For_Reverse_Bit_Order): Fix error message for bad last bit position. * sem_ch3.adb, sem_util.adb, sem_util.ads: Minor reformatting. 2015-10-16 Ed Schonberg <schonberg@adacore.com> * exp_ch5.adb (Expand_N_Case_Statement): If expression is compile-time known but does not obey a static predicate on its type, replace the case statement with a raise statement, as with other statically detected constraint violations. 2015-10-16 Bob Duff <duff@adacore.com> * s-traceb.adb, s-traceb.ads, s-traceb-hpux.adb, s-traceb-mastop.adb: Reinstate code. * opt.ads: Minor typo. From-SVN: r228866
Diffstat (limited to 'gcc/ada/inline.adb')
-rw-r--r--gcc/ada/inline.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/inline.adb b/gcc/ada/inline.adb
index b36ec52..398a466f 100644
--- a/gcc/ada/inline.adb
+++ b/gcc/ada/inline.adb
@@ -405,6 +405,11 @@ package body Inline is
Pack : constant Entity_Id := Get_Code_Unit_Entity (E);
begin
+ -- Ensure that Analyze_Inlined_Bodies will be invoked after
+ -- completing the analysis of the current unit.
+
+ Inline_Processing_Required := True;
+
if Pack = E then
-- Library-level inlined function. Add function itself to