aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-09-10 17:21:28 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2013-09-10 17:21:28 +0200
commitfb620b37dec4b0c1e9855a59a0c4dfa28fb58d01 (patch)
tree2aa1248d70e80464bb18ab1104c8321f79d18735 /gcc/ada/prj.adb
parentac4018917999464e601b2e675ac326cbbf0044da (diff)
downloadgcc-fb620b37dec4b0c1e9855a59a0c4dfa28fb58d01.zip
gcc-fb620b37dec4b0c1e9855a59a0c4dfa28fb58d01.tar.gz
gcc-fb620b37dec4b0c1e9855a59a0c4dfa28fb58d01.tar.bz2
[multiple changes]
2013-09-10 Robert Dewar <dewar@adacore.com> * sinput.adb (Check_For_BOM): Avoid reading past end of file. 2013-09-10 Robert Dewar <dewar@adacore.com> * errout.adb (Error_Msg_Ada_2012_Feature): New procedure. * errout.ads (Error_Msg_Ada_2012_Feature): New procedure. * inline.ads: Save/Restore Ada_Version_Pragma. * opt.adb: Save/Restore Ada_Version_Pragma. * opt.ads (Ada_Version_Pragma): New variable. * par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par-ch8.adb, par-prag.adb: Use Error_Msg_Ada_2012_Feature. * prj.adb: Initialize Ada_Version_Pragma. * sem_attr.adb: Use Error_Msg_Ada_2012_Feature. * sem_ch12.adb, sem_ch8.adb: Save/restore Ada_Version_Pragma. * sem_prag.adb (Analyze_Pragma, cases Ada_xx): Set Ada_Version_Pragma. * switch-c.adb: Initialize Ada_Version_Pragma. * sem_ch12.adb: Minor reformatting. 2013-09-10 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Process_Subtype): Discard constraint on access to class-wide type. Such constraints are not supported and are considered a language pathology. From-SVN: r202466
Diffstat (limited to 'gcc/ada/prj.adb')
-rw-r--r--gcc/ada/prj.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/prj.adb b/gcc/ada/prj.adb
index 9e0e0aa..b98f711 100644
--- a/gcc/ada/prj.adb
+++ b/gcc/ada/prj.adb
@@ -959,6 +959,7 @@ package body Prj is
-- identifiers.
Opt.Ada_Version := Opt.Ada_95;
+ Opt.Ada_Version_Pragma := Empty;
Set_Name_Table_Byte (Name_Project, Token_Type'Pos (Tok_Project));
Set_Name_Table_Byte (Name_Extends, Token_Type'Pos (Tok_Extends));