gnat_ugn.texi: Minor spelling correction.
authorRobert Dewar <dewar@adacore.com>
Wed, 30 Jul 2014 15:13:23 +0000 (15:13 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 30 Jul 2014 15:13:23 +0000 (17:13 +0200)
commit45ec05e18a67b030cfc64802c9261b7ba2e7d34c
treee9d7f87f40d20e633debaafad695d3cb50b3a33b
parentad9560ea432c33bdcfdeb5ed16cdb411ced11fbc
gnat_ugn.texi: Minor spelling correction.

2014-07-30  Robert Dewar  <dewar@adacore.com>

* gnat_ugn.texi: Minor spelling correction.
* makeutl.adb: Minor code reorganization.
* exp_ch4.adb, exp_aggr.adb, exp_ch3.adb: Minor reformatting.

2014-07-30  Robert Dewar  <dewar@adacore.com>

* einfo.ads (Has_Unchecked_Union): Document that this is used
to check for illegal Valid_Scalars attribute references.
* exp_attr.adb (Build_Record_VS_Func): New function
(Expand_N_Attribute_Reference, case Valid_Scalars): Call this
function.
* gnat_rm.texi: Document 'Valid_Scalars cannot be applied to
Unchecked_Union Add note on 'Valid_Scalars generating a lot
of code.
* sem_attr.adb (Analyze_Attribute, case Valid_Scalars): Give
error on attempt to apply Valid_Scalars to Unchecked_Union type.

From-SVN: r213298
gcc/ada/ChangeLog
gcc/ada/einfo.ads
gcc/ada/exp_aggr.adb
gcc/ada/exp_attr.adb
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch4.adb
gcc/ada/gnat_rm.texi
gcc/ada/gnat_ugn.texi
gcc/ada/makeutl.adb
gcc/ada/sem_attr.adb