* gcc-interface/decl.c (gnat_to_gnu_component_type): Force at least
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Oct 2009 20:03:16 +0000 (20:03 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Oct 2009 20:03:16 +0000 (20:03 +0000)
commita1d123c54fbba362e38258ca3445d86456fa3f67
tree6c00917bd9a69d7134985539e11695ed15c7ec5b
parente7911ef046f1e111acd5c0e906a5c80a6a4c8aea
* gcc-interface/decl.c (gnat_to_gnu_component_type): Force at least
unit size for the component size of an array with aliased components.
(maybe_pad_type): Do not warn for MAX_EXPR.

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