diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-04 14:52:11 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-04 14:52:11 +0100 |
commit | b2ab8c33ed0041184fe3747fbad246a619883600 (patch) | |
tree | 7f53d4867b8bca91dd3be1c563430e99336b44b7 /gcc/ada/exp_ch8.ads | |
parent | 4c3182538905f7e806afcf2358825cce22183991 (diff) | |
download | gcc-b2ab8c33ed0041184fe3747fbad246a619883600.zip gcc-b2ab8c33ed0041184fe3747fbad246a619883600.tar.gz gcc-b2ab8c33ed0041184fe3747fbad246a619883600.tar.bz2 |
[multiple changes]
2011-11-04 Hristian Kirtchev <kirtchev@adacore.com>
* exp_alfa.adb: Add with and use clauses for Exp_Ch8 and
Sem_Util.
(Expand_Alfa): Alphabetize cases on first choice. Add
processing for object renaming declarations, identifiers and
expanded names.
(Expand_Alfa_N_In): Remove useless return.
(Expand_Alfa_N_Object_Renaming_Declaration): New routine.
(Expand_Potential_Renaming): New routine.
* exp_ch8.adb (Evaluate_Name): Moved to the top level.
(Expand_N_Object_Declaration): Alphabetize local variables. Move
Evaluate_Name out to the top level.
* exp_ch8.ads (Evaluate_Name): Moved from body to package spec.
* exp_util.adb (Remove_Side_Effects): Add processing for
functions with side effects in Alfa mode.
2011-11-04 Hristian Kirtchev <kirtchev@adacore.com>
* gnat_rm.texi: Add entries for
restrictions No_Relative_Delay, No_Requeue_Statements and
No_Stream_Optimizations.
2011-11-04 Ed Schonberg <schonberg@adacore.com>
* sem_ch4.adb: Set type of entity in prefixed call, for
completeness in a generic context.
From-SVN: r180951
Diffstat (limited to 'gcc/ada/exp_ch8.ads')
-rw-r--r-- | gcc/ada/exp_ch8.ads | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch8.ads b/gcc/ada/exp_ch8.ads index 7df54f3..b5056ab 100644 --- a/gcc/ada/exp_ch8.ads +++ b/gcc/ada/exp_ch8.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -32,4 +32,9 @@ package Exp_Ch8 is procedure Expand_N_Object_Renaming_Declaration (N : Node_Id); procedure Expand_N_Package_Renaming_Declaration (N : Node_Id); procedure Expand_N_Subprogram_Renaming_Declaration (N : Node_Id); + + procedure Evaluate_Name (Nam : Node_Id); + -- Remove the all side effects from a name except for the outermost + -- construct. + end Exp_Ch8; |