diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 10:42:29 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 10:42:29 +0000 |
commit | 83f8f0a61fc2a3e1251c1e13591445e84f6492a7 (patch) | |
tree | c18c110446e28ac9daaa52f59a3c7a207d5e4632 /gcc/ada/sem_ch13.ads | |
parent | e7e688ddb985f3538b2b821dfc2a7387faff071f (diff) | |
download | gcc-83f8f0a61fc2a3e1251c1e13591445e84f6492a7.tar.gz |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128785 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch13.ads')
-rw-r--r-- | gcc/ada/sem_ch13.ads | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/sem_ch13.ads b/gcc/ada/sem_ch13.ads index c34981f0427..3c5681c7bf2 100644 --- a/gcc/ada/sem_ch13.ads +++ b/gcc/ada/sem_ch13.ads @@ -161,4 +161,10 @@ package Sem_Ch13 is -- The reason it is called that late is to take advantage of any -- back-annotation of size and alignment performed by the backend. + procedure Validate_Address_Clauses; + -- This is called after the back end has been called (and thus after the + -- alignments of objects have been back annotated). It goes through the + -- table of saved address clauses checking for suspicious alignments and + -- if necessary issuing warnings. + end Sem_Ch13; |