OSDN Git Service

* gcc-interface/utils.c (maybe_unconstrained_array): Declare TYPE local
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2011 09:03:52 +0000 (09:03 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2011 09:03:52 +0000 (09:03 +0000)
commite69771d40fa9d7854dd07890d90dd1685d2ceb87
tree0e3583e62b69cf2a93adb229aa6787450b4da6f0
parent34381582ceb321ba789d27494d4cbf91da04ad92
* gcc-interface/utils.c (maybe_unconstrained_array): Declare TYPE local
variable and use it throughout.
<UNCONSTRAINED_ARRAY_TYPE>: Add 'break' at the end.
<RECORD_TYPE>: Do not unconditionally convert to the unpadded type as a
first step.  Also convert to the unpadded type as a last step.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179186 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/array17.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/array17_pkg.ads [new file with mode: 0644]