decl.c (gnat_to_gnu_entity): Do not force a non-null size if it has overflowed.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 31 Mar 2008 19:14:08 +0000 (19:14 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 31 Mar 2008 19:14:08 +0000 (19:14 +0000)
commit5a864002b8608352188f6019d28ba15878e05363
tree0f65879b64d2251911ce095698a002384eaf0bd2
parenta12bdb97c9bb28dc996017ec826612ac61dbe846
decl.c (gnat_to_gnu_entity): Do not force a non-null size if it has overflowed.

* decl.c (gnat_to_gnu_entity) <object>: Do not force a non-null
size if it has overflowed.

From-SVN: r133768
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/object_overflow.adb [new file with mode: 0644]