[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 12 Jul 2012 10:33:23 +0000 (12:33 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 12 Jul 2012 10:33:23 +0000 (12:33 +0200)
commit1e4b91fc4f5c6d15955594c01553462a38db97d4
treefb8c68ef22595e504bcebbd574dc5416017bbb2b
parentd9819bbd70137cde670497826160c6ae964454a7
[multiple changes]

2012-07-12  Thomas Quinot  <quinot@adacore.com>

* s-bytswa.adb (Swapped2.Bswap16): Remove local function,
no longer needed.

2012-07-12  Javier Miranda  <miranda@adacore.com>

* exp_attr.adb (Expand_N_Attribute_Reference): For
attributes 'access, 'unchecked_access and 'unrestricted_access,
iff the current instance reference is located in a protected
subprogram or entry then rewrite the access attribute to be the
name of the "_object" parameter.

2012-07-12  Tristan Gingold  <gingold@adacore.com>

* raise.h: Revert previous patch: structure is used in init.c
by vms.

2012-07-12  Vincent Celier  <celier@adacore.com>

* make.adb (Binding_Phase): If --subdirs was used, but not
-P, change the working directory to the specified subdirectory
before invoking gnatbind.
(Linking_Phase): If --subdirs was used, but not -P, change the working
directory to the specified subdirectory before invoking gnatlink.

2012-07-12  Vincent Pucci  <pucci@adacore.com>

* exp_ch9.adb (Build_Lock_Free_Unprotected_Subprogram_Body):
For a procedure, instead of replacing each Comp reference by a
reference to Current_Comp, make a renaming Comp of Current_Comp
that rewrites the original renaming generated by the compiler
during the analysis. Move the declarations of the procedure
inside the generated block.
(Process_Stmts): Moved in the body
of Build_Lock_Free_Unprotected_Subprogram_Body.
(Process_Node):
Moved in the body of Build_Lock_Free_Unprotected_Subprogram_Body.
* sem_ch9.adb (Allows_Lock_Free_Implementation): Restrict any
non-elementary out parameters in protected procedures.

2012-07-12  Thomas Quinot  <quinot@adacore.com>

* sem_ch13.adb (Analyze_Attribute_Definition_Clause, case
Scalar_Storage_Order): Attribute applies to base type only.

From-SVN: r189435
gcc/ada/ChangeLog
gcc/ada/exp_attr.adb
gcc/ada/exp_ch9.adb
gcc/ada/make.adb
gcc/ada/raise.h
gcc/ada/s-bytswa.adb
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch9.adb