]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/freeze.adb
sem_intr.adb, [...]: Minor reformatting.
authorRobert Dewar <dewar@adacore.com>
Thu, 17 Jun 2010 09:57:32 +0000 (09:57 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 17 Jun 2010 09:57:32 +0000 (11:57 +0200)
commit8a95f4e86791d06494bd5fc8b0da29b9651530fb
treeffaf92cdf6f090cddfad2f2f57c2f05d9ad2a9c8
parente1b871e93c547d7fe50bc5c30fb18c1bd3ba16da
sem_intr.adb, [...]: Minor reformatting.

2010-06-17  Robert Dewar  <dewar@adacore.com>

* sem_intr.adb, sem_prag.adb, sem_res.adb, sem_type.adb, sem_util.adb,
sem_warn.adb, sem_eval.adb: Minor reformatting.  Use Ekind_In.
(Set_Slice_Subtype): Explicitly freeze the slice's itype at the point
where the slice's actions are inserted.
(Decompose_Expr): Account for possible rewriting of slice bounds
resulting from side effects suppression caused by the above freezing,
so that folding of bounds is preserved by such rewriting.

2010-06-17  Robert Dewar  <dewar@adacore.com>

* einfo.ads, einfo.adb (Get_Record_Representation_Clause): New function.
* freeze.adb (Freeze_Record_Type): Add call to
Check_Record_Representation_Clause.
* sem_ch13.adb (Check_Record_Representation_Clause): New function
(Analyze_Record_Representation_Clause): Split out overlap code into this
new function.
(Check_Component_Overlap): Moved inside
Check_Record_Representation_Clause.
* sem_ch13.ads (Check_Record_Representation_Clause): New function.

From-SVN: r160892
13 files changed:
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/einfo.ads
gcc/ada/freeze.adb
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch13.ads
gcc/ada/sem_eval.adb
gcc/ada/sem_intr.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_res.adb
gcc/ada/sem_type.adb
gcc/ada/sem_util.adb
gcc/ada/sem_warn.adb