diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-27 13:01:35 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-27 13:01:35 +0200 |
commit | 2e885a6f7ce629d6517c2bf8dc14824be8e93987 (patch) | |
tree | 97c19940d80f087c3cbe29b3c4615f73aafba48f /gcc/ada/exp_ch2.adb | |
parent | 2a253c5bba9ecf4f09242253bf8efd05c9cce9de (diff) | |
download | gcc-2e885a6f7ce629d6517c2bf8dc14824be8e93987.zip gcc-2e885a6f7ce629d6517c2bf8dc14824be8e93987.tar.gz gcc-2e885a6f7ce629d6517c2bf8dc14824be8e93987.tar.bz2 |
[multiple changes]
2016-04-27 Hristian Kirtchev <kirtchev@adacore.com>
* aspects.ads Aspects Export and Import do not require delay. They
were classified as delayed aspects, but treated as non-delayed
by the analysis of aspects.
* freeze.adb (Copy_Import_Pragma): New routine.
(Wrap_Imported_Subprogram): Copy the import pragma by first
resetting all semantic fields to avoid an infinite loop when
performing the copy.
* sem_ch13.adb (Analyze_Aspects_At_Freeze_Point): Add
comment on the processing of aspects Export and Import
at the freeze point.
(Analyze_Aspect_Convention: New routine.
(Analyze_Aspect_Export_Import): New routine.
(Analyze_Aspect_External_Link_Name): New routine.
(Analyze_Aspect_External_Or_Link_Name): Removed.
(Analyze_Aspect_Specifications): Factor out the analysis of
aspects Convention, Export, External_Name, Import, and Link_Name
in their respective routines. Aspects Export and Import should
not generate a Boolean pragma because their corresponding pragmas
have a very different syntax.
(Build_Export_Import_Pragma): New routine.
(Get_Interfacing_Aspects): New routine.
2016-04-27 Eric Botcazou <ebotcazou@adacore.com>
* inline.adb (Add_Inlined_Body): Overhaul implementation,
robustify handling of -gnatn1, add special treatment for
expression functions.
2016-04-27 Doug Rupp <rupp@adacore.com>
* g-traceb.ads: Update comment.
* exp_ch2.adb: minor style fix in object declaration
From-SVN: r235483
Diffstat (limited to 'gcc/ada/exp_ch2.adb')
-rw-r--r-- | gcc/ada/exp_ch2.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch2.adb b/gcc/ada/exp_ch2.adb index 88dc824..65b2212 100644 --- a/gcc/ada/exp_ch2.adb +++ b/gcc/ada/exp_ch2.adb @@ -413,7 +413,7 @@ package body Exp_Ch2 is and then (Is_Atomic (E) or else Is_Atomic (Etype (E))) then declare - Set : Boolean; + Set : Boolean; begin -- If variable is atomic, but type is not, setting depends on |