mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 14:30:42 +08:00
sem_attr.adb (Analyze_Attribute): Remove duplicate identical embedded check for "Ada_Version >= Ada_05".
gcc/ada/ * sem_attr.adb (Analyze_Attribute): Remove duplicate identical embedded check for "Ada_Version >= Ada_05". From-SVN: r129965
This commit is contained in:
parent
bc01690e80
commit
d9c1dc68ad
@ -22,6 +22,9 @@
|
||||
which is always false; LOWEST_ADDRESS is 0 and is never greater
|
||||
than an unsigned integer.
|
||||
|
||||
* sem_attr.adb (Analyze_Attribute): Remove duplicate identical
|
||||
embedded check for "Ada_Version >= Ada_05".
|
||||
|
||||
2007-11-07 Olivier Hainque <hainque@adacore.com>
|
||||
|
||||
* decl.c (make_aligning_type): Set the mode of the RECORD_TYPE we
|
||||
|
@ -1841,10 +1841,9 @@ package body Sem_Attr is
|
||||
-- entry wrappers, the attributes Count, Caller and AST_Entry require
|
||||
-- a context check
|
||||
|
||||
if Ada_Version >= Ada_05
|
||||
and then (Aname = Name_Count
|
||||
or else Aname = Name_Caller
|
||||
or else Aname = Name_AST_Entry)
|
||||
if Aname = Name_Count
|
||||
or else Aname = Name_Caller
|
||||
or else Aname = Name_AST_Entry
|
||||
then
|
||||
declare
|
||||
Count : Natural := 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user