checks.adb, [...]: Improve warnings for address overlays.
authorRobert Dewar <dewar@adacore.com>
Wed, 26 Sep 2007 10:42:29 +0000 (12:42 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 26 Sep 2007 10:42:29 +0000 (12:42 +0200)
commit2642f9987ea72b416bce764ca3d95c19c9e77836
treec18c110446e28ac9daaa52f59a3c7a207d5e4632
parent6e818918f2c6dab5258d709562aad8a836feaa1f
checks.adb, [...]: Improve warnings for address overlays.

2007-09-26  Robert Dewar  <dewar@adacore.com>

* checks.adb, gnat1drv.adb, sem_util.ads: Improve warnings for address
overlays.

* sem_ch13.ads, sem_ch13.adb: Improve warnings for address overlays
(Analyze_Record_Representation_Clause): Suppress junk warning for
missing component clause.
(Analyze_Attribute_Definition_Clause, case Address): Apply the special
tests for controlled type overlay to composites with controlled
components.
(Analyze_Record_Representation_Clause): Add reference for component name

From-SVN: r128785
gcc/ada/checks.adb
gcc/ada/gnat1drv.adb
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch13.ads
gcc/ada/sem_util.ads