exp_ch13.adb (Expand_N_Attribute_Definition_Clause, [...]): If the initialization...
authorEd Schonberg <schonberg@adacore.com>
Wed, 6 Jun 2007 10:24:22 +0000 (12:24 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Jun 2007 10:24:22 +0000 (12:24 +0200)
commit33160237cba68041242b7faf782ab35a5106224f
treebdff9c3d3220741851fced6fae63fc3e5b1cbea0
parent31104818b707112ad18f985f4d1ab3689bf6625e
exp_ch13.adb (Expand_N_Attribute_Definition_Clause, [...]): If the initialization is the equivalent aggregate of the initialization...

2007-04-20  Ed Schonberg  <schonberg@adacore.com>
    Gary Dismukes  <dismukes@adacore.com>

* exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case 'Address):
If the initialization is the equivalent aggregate of the initialization
procedure of the type, do not remove it.
(Expand_N_Attribute_Definition_Clause): Exclude access variables
initialized to null from having their expression reset to empty and
note this exception in the comment.

From-SVN: r125394
gcc/ada/exp_ch13.adb