]> git.ipfire.org Git - thirdparty/gcc.git/commit
utils.c (convert): When converting to a padded type with an inner type of self-refere...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 17 Oct 2009 11:17:27 +0000 (11:17 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 17 Oct 2009 11:17:27 +0000 (11:17 +0000)
commit431cfac1ffb50746d86afbf486f84180d39c54e8
treed7e70992d9aba30711a5e73fff24f4b4d2d46b90
parent3f273c8a53e786389658f14a0316e48a5e0de0b6
utils.c (convert): When converting to a padded type with an inner type of self-referential size...

* gcc-interface/utils.c (convert): When converting to a padded type
with an inner type of self-referential size, pad the expression before
doing the unchecked conversion.

From-SVN: r152935
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/aggr11.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/aggr11_pkg.ads [new file with mode: 0644]