aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/switch-c.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-02-20 15:26:06 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2015-02-20 15:26:06 +0100
commit9ec98e13b932b9d8404d8d8d61357662e80b35d1 (patch)
treef950b17bcbf2a70920676833247f508791695dab /gcc/ada/switch-c.adb
parentcd8e18e73d8b84988d3c495f3eb8b3baf960b04e (diff)
downloadgcc-9ec98e13b932b9d8404d8d8d61357662e80b35d1.zip
gcc-9ec98e13b932b9d8404d8d8d61357662e80b35d1.tar.gz
gcc-9ec98e13b932b9d8404d8d8d61357662e80b35d1.tar.bz2
[multiple changes]
2015-02-20 Tristan Gingold <gingold@adacore.com> * opt.ads (GNAT_Mode_Config): New variable. * opt.adb (Set_Opt_Config_Switches): Consider GNAT_Mode_Config to set Assertions_Enabled. * switch-c.adb (Scan_Front_End_Switches): Set GNAT_Mode_Config for -gnatg. 2015-02-20 Robert Dewar <dewar@adacore.com> * s-valllu.ads (Scan_Raw_Long_Long_Unsigned): Add an additional comment regarding the handling of unterminated fixed-point constants. * s-valuns.ads (Scan_Raw_Unsigned): Add comments corresponding to those previously added for System.Val_LLU.Scan_Raw_Long_Long_Unsigned. From-SVN: r220866
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r--gcc/ada/switch-c.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb
index 4f2f06e..7e8f50e 100644
--- a/gcc/ada/switch-c.adb
+++ b/gcc/ada/switch-c.adb
@@ -821,6 +821,7 @@ package body Switch.C is
when 'g' =>
Ptr := Ptr + 1;
GNAT_Mode := True;
+ GNAT_Mode_Config := True;
Identifier_Character_Set := 'n';
System_Extend_Unit := Empty;
Warning_Mode := Treat_As_Error;