freeze.adb (Freeze_Record_Type): Only test for useless pack on record types, not...
authorRobert Dewar <dewar@adacore.com>
Fri, 9 Dec 2005 17:20:03 +0000 (18:20 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 9 Dec 2005 17:20:03 +0000 (18:20 +0100)
commitee09461671baa1d6e1bc4d0a2b596f8e791ca93b
tree2016af73f33d0ee6db5d264ae30cbdd744bedfe0
parent653da906036b7c3bd8c573fed889ddc151fce7c6
freeze.adb (Freeze_Record_Type): Only test for useless pack on record types, not on record subtypes.

2005-12-05  Robert Dewar  <dewar@adacore.com>

* freeze.adb (Freeze_Record_Type): Only test for useless pack on record
types, not on record subtypes.
(Freeze_Entity): Code cleanup. Add barrier to the loop
that generates the references for primitive operations. This allows to
remove an unnecessary exception handler.
Code reformatting and comment clean ups.

From-SVN: r108296
gcc/ada/freeze.adb