diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-04-27 15:15:40 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-04-27 15:15:40 +0200 |
commit | 7327f5c21ce98b8211801095008e2f024593b79c (patch) | |
tree | 187dbca6624cfb9c6e298d7a2321a62a7e9b946e /gcc/ada/sem_attr.adb | |
parent | 7494697b8c55022b046dbed542369289646fbe22 (diff) | |
download | gcc-7327f5c21ce98b8211801095008e2f024593b79c.zip gcc-7327f5c21ce98b8211801095008e2f024593b79c.tar.gz gcc-7327f5c21ce98b8211801095008e2f024593b79c.tar.bz2 |
[multiple changes]
2017-04-27 Yannick Moy <moy@adacore.com>
* sem_res.adb: Remove duplicate code.
* sem_attr.adb: Delete duplicate code.
2017-04-27 Bob Duff <duff@adacore.com>
* g-dyntab.adb: Reduce the amount of copying in
Release. No need to copy items past Last.
2017-04-27 Hristian Kirtchev <kirtchev@adacore.com>
* checks.adb Add with and use clauses for Sem_Disp.
(Install_Primitive_Elaboration_Check): New routine.
* checks.ads (Install_Primitive_Elaboration_Check): New routine.
* exp_attr.adb (Expand_N_Attribute_Reference): Clean up the
processing of 'Elaborated.
* exp_ch6.adb (Expand_N_Subprogram_Body): Install a primitive
elaboration check.
From-SVN: r247330
Diffstat (limited to 'gcc/ada/sem_attr.adb')
-rw-r--r-- | gcc/ada/sem_attr.adb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb index 0184d8e..ca43d06 100644 --- a/gcc/ada/sem_attr.adb +++ b/gcc/ada/sem_attr.adb @@ -9662,9 +9662,6 @@ package body Sem_Attr is elsif Is_Access_Type (Typ) then Id := RE_Type_Class_Access; - elsif Is_Enumeration_Type (Typ) then - Id := RE_Type_Class_Enumeration; - elsif Is_Task_Type (Typ) then Id := RE_Type_Class_Task; |