diff options
author | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2017-11-16 09:56:46 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2017-11-16 09:56:46 +0000 |
commit | 6361db43b2a245e9b38cfb84d4f725e8c410812f (patch) | |
tree | 9b31fcde99b84700cb1395608bae6c4441c52b4a /gcc/ada/lib-writ.adb | |
parent | 8dce7371d32ee41acc6b154dedcbc35ce57bd915 (diff) | |
download | gcc-6361db43b2a245e9b38cfb84d4f725e8c410812f.zip gcc-6361db43b2a245e9b38cfb84d4f725e8c410812f.tar.gz gcc-6361db43b2a245e9b38cfb84d4f725e8c410812f.tar.bz2 |
[multiple changes]
2017-11-16 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Process_Subtype): If the subtype indication does not
syntactically denote a type, return Any_Type to prevent subsequent
compiler crashes or infinite loops.
2017-11-16 Steve Baird <baird@adacore.com>
* lib-writ.adb: Fix bug which causes Program_Error to be raised in some
cases when writing out a .ali file when a Rename_Pragma pragma is in
effect.
* lib-writ.adb (Write_Unit_Information): Replace call to
Pragma_Name_Unmapped with call to Pragma_Name.
2017-11-16 Gary Dismukes <dismukes@adacore.com>
* sem_elab.adb: Minor typo fixes.
2017-11-16 Justin Squirek <squirek@adacore.com>
* sem_res.adb (Resolve_Allocator): Correct warning messages and make
them more explicit.
From-SVN: r254803
Diffstat (limited to 'gcc/ada/lib-writ.adb')
-rw-r--r-- | gcc/ada/lib-writ.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/lib-writ.adb b/gcc/ada/lib-writ.adb index addc9a0..1ee329e 100644 --- a/gcc/ada/lib-writ.adb +++ b/gcc/ada/lib-writ.adb @@ -694,7 +694,7 @@ package body Lib.Writ is Write_Info_Initiate ('N'); Write_Info_Char (' '); - case Pragma_Name_Unmapped (N) is + case Pragma_Name (N) is when Name_Annotate => C := 'A'; when Name_Comment => |