aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-06-12 14:11:50 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2012-06-12 14:11:50 +0200
commit4c7be3105294ae11d15bcb9265a1199a34666e1b (patch)
tree8b357df419b643a99514ae1be0743478c65946d4 /gcc/ada/usage.adb
parent33738c606df5ea714dd9260ba65e7643e3216dea (diff)
downloadgcc-4c7be3105294ae11d15bcb9265a1199a34666e1b.zip
gcc-4c7be3105294ae11d15bcb9265a1199a34666e1b.tar.gz
gcc-4c7be3105294ae11d15bcb9265a1199a34666e1b.tar.bz2
[multiple changes]
2012-06-12 Robert Dewar <dewar@adacore.com> * sem_ch12.adb: Minor reformatting. 2012-06-12 Eric Botcazou <ebotcazou@adacore.com> * opt.ads (Inline_Level): New variable. * gnat1drv.adb (Adjust_Global_Switches): Set it based on optimization level if it has not been set by the user. * switch-c.adb (Scan_Front_End_Switches): Accept -gnatn1 and -gnatn2 and set Inline_Level accordingly. * inline.adb (Add_Inlined_Body): Declate new Inline_Level_Type type. (Must_Inline): Return Inline_Level_T instead of Boolean to indicate whether the package of the inlined subprogram must be compiled. If Inline_Level is set to 1, only compile packages of subprograms directly called from the main unit. * usage.adb (Usage): Adjust line for -gnatn switch. * gnat_ugn.texi (Switches for gcc): Document -gnatn1 and -gnatn2. From-SVN: r188451
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r--gcc/ada/usage.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 637097b..292d681 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -298,7 +298,7 @@ begin
-- Line for -gnatn switch
- Write_Switch_Char ("n");
+ Write_Switch_Char ("n[d]");
Write_Line ("Enable pragma Inline (both within and across units)");
-- Line for -gnatN switch