utils.c (convert): In the padded case...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 20 Aug 2009 15:19:16 +0000 (15:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 20 Aug 2009 15:19:16 +0000 (15:19 +0000)
commitf88facfe93adbbb0b297c603a11c5f723896bba0
treee50017bcca506b95542b806785adc714348c64c3
parent167f281ea66916a195bc4b7072714a305b0a123c
utils.c (convert): In the padded case...

* gcc-interface/utils.c (convert): In the padded case, do the final
conversion as an unchecked conversion if the underlying types are
array types with variable size.

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