summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch6.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-03-09 15:50:48 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2012-03-09 15:50:48 +0100
commita1fc903a3f2f5eb03776b500f22115eb466d70c6 (patch)
treed1aedbd66af9c99b39741e1a46c7919ec53f4090 /gcc/ada/sem_ch6.adb
parentea3a4ad0a334535466172e2860f7f5ed7795e331 (diff)
downloadgcc-a1fc903a3f2f5eb03776b500f22115eb466d70c6.tar.gz
[multiple changes]
2012-03-09 Robert Dewar <dewar@adacore.com> * s-osinte-linux.ads, sem_util.adb, s-taprop-linux.adb, exp_ch4.adb, a-strsup.ads, sem_ch6.adb, a-stwisu.ads, exp_ch3.adb, a-stzsup.ads: Minor reformatting. 2012-03-09 Thomas Quinot <quinot@adacore.com> * s-ransee-vms.adb: Minor reformatting. 2012-03-09 Arnaud Charlet <charlet@adacore.com> * comperr.adb (Delete_SCIL_Files): Fix handling of N_Package_Renaming_Declaration and N_Generic_Package_Declaration. From-SVN: r185141
Diffstat (limited to 'gcc/ada/sem_ch6.adb')
-rw-r--r--gcc/ada/sem_ch6.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb
index 82898b901de..60d07c66edb 100644
--- a/gcc/ada/sem_ch6.adb
+++ b/gcc/ada/sem_ch6.adb
@@ -4888,10 +4888,12 @@ package body Sem_Ch6 is
Remove (Body_To_Analyze);
-- Keep separate checks needed when compiling without optimizations
- -- AAMP and VM targets have no support for inlining in the backend
- -- and hence we use frontend inlining at all optimization levels.
if Optimization_Level = 0
+
+ -- AAMP and VM targets have no support for inlining in the backend
+ -- and hence we use frontend inlining at all optimization levels.
+
or else AAMP_On_Target
or else VM_Target /= No_VM
then