diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-21 14:31:33 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-21 14:31:33 +0100 |
commit | ca20a08e2660cf50bf7488925a63aa10f3bb8c47 (patch) | |
tree | db4c1d7582813fbe517da4909e736f60b487a944 /gcc/ada/aspects.adb | |
parent | d2d4b3556d4f8b7c32de809f023ac876cd8cae82 (diff) | |
download | gcc-ca20a08e2660cf50bf7488925a63aa10f3bb8c47.zip gcc-ca20a08e2660cf50bf7488925a63aa10f3bb8c47.tar.gz gcc-ca20a08e2660cf50bf7488925a63aa10f3bb8c47.tar.bz2 |
[multiple changes]
2011-11-21 Arnaud Charlet <charlet@adacore.com>
* s-taprop-irix.adb, s-taprop-solaris.adb (Create_Task): Use
Unrestricted_Access to deal with fact that we properly detect the
error if Access is used.
* gcc-interface/Make-lang.in: Update dependencies.
2011-11-21 Yannick Moy <moy@adacore.com>
* exp_prag.adb (Expand_Pragma_Check): Place error on first character
of expression.
* sem_res.adb (Resolve_Short_Circuit): Place error on first
character of expression.
2011-11-21 Yannick Moy <moy@adacore.com>
* exp_util.adb (Remove_Side_Effects): Do nothing in Alfa mode.
2011-11-21 Hristian Kirtchev <kirtchev@adacore.com>
* exp_attr.adb (Expand_N_Attribute_Reference, case
Max_Size_In_Storage_Elements): Account for the size of the
hidden list header which precedes controlled objects allocated
on the heap.
* rtsfind.ads: Add RE_Header_Size_With_Padding to the runtime
tables.
* sinfo.adb (Header_Size_Added): New routine.
(Set_Header_Size_Added): New routine.
* sinfo.ads: Add flag Controlled_Header_Added along with
associated comment.
(Header_Size_Added): New inlined routine.
(Set_Header_Size_Added): New inlined routine.
* s-stposu.adb (Allocate_Any_Controlled): Use
Header_Size_With_Padding to calculate the proper
size of the header.
(Deallocate_Any_Controlled): Use
Header_Size_With_Padding to calculate the proper size
of the header. (Header_Size_With_Padding): New routine.
(Nearest_Multiple_Rounded_Up): Removed along with its uses.
* s-stposu.ads (Header_Size_With_Padding): New routine.
2011-11-21 Ed Schonberg <schonberg@adacore.com>
* aspects.adb: Aspect specifications are allowed on renaming
declarations
* par-ch6.adb (P_Subprogram): Parse aspect specifications in a
subprogram renaming declaration
From-SVN: r181576
Diffstat (limited to 'gcc/ada/aspects.adb')
-rwxr-xr-x | gcc/ada/aspects.adb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/aspects.adb b/gcc/ada/aspects.adb index d25ba15..7cc218e 100755 --- a/gcc/ada/aspects.adb +++ b/gcc/ada/aspects.adb @@ -180,6 +180,7 @@ package body Aspects is N_Component_Declaration => True, N_Entry_Declaration => True, N_Exception_Declaration => True, + N_Exception_Renaming_Declaration => True, N_Formal_Abstract_Subprogram_Declaration => True, N_Formal_Concrete_Subprogram_Declaration => True, N_Formal_Object_Declaration => True, @@ -188,11 +189,14 @@ package body Aspects is N_Full_Type_Declaration => True, N_Function_Instantiation => True, N_Generic_Package_Declaration => True, + N_Generic_Renaming_Declaration => True, N_Generic_Subprogram_Declaration => True, N_Object_Declaration => True, + N_Object_Renaming_Declaration => True, N_Package_Declaration => True, N_Package_Instantiation => True, N_Package_Specification => True, + N_Package_Renaming_Declaration => True, N_Private_Extension_Declaration => True, N_Private_Type_Declaration => True, N_Procedure_Instantiation => True, @@ -202,6 +206,7 @@ package body Aspects is N_Single_Task_Declaration => True, N_Subprogram_Body => True, N_Subprogram_Declaration => True, + N_Subprogram_Renaming_Declaration => True, N_Subtype_Declaration => True, N_Task_Body => True, N_Task_Type_Declaration => True, |