]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/checks.adb
exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no longer need to...
authorRobert Dewar <dewar@gnat.com>
Mon, 4 Oct 2004 14:58:47 +0000 (14:58 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 4 Oct 2004 14:58:47 +0000 (16:58 +0200)
commit1fdebfe5fd9189af6e36d46c1b6a2733ad145bf0
treeeee69f9476365cf2db06be3df66d76e53f8c8b30
parentcd91501c62733d6bc51340cbbdcb6ca0b8015524
exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no longer need to be initialized to zero.

2004-10-04  Robert Dewar  <dewar@gnat.com>

* exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no
longer need to be initialized to zero.
(Get_Simple_Init_Val): Modular packed arrays no longer need to be
initialized to zero.

* checks.adb (Expr_Known_Valid): Packed arrays are now always
considered valid, even if the representation is modular. That's correct
now that we no longer initialize packed modular arrays to zero.

* exp_dbug.ads: Clarify documentation on handling of PAD and JM
suffixes. These are now documented as the only cases in which the
debugger ignores outer records.
Previously, the spec allowed arbitrary suffixes for this purpose.
Change name of LJM to JM for packed array pad records
Create separate section on packed array handling, and add a whole new
set of comments to this section describing the situation with packed
modular types and justification requirements depending on endianness.

From-SVN: r88500
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/exp_ch3.adb
gcc/ada/exp_dbug.ads
This page took 0.064028 seconds and 5 git commands to generate.