]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (components_to_record): Do not reuse the empty union type if there is a repres...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 22 Jan 2008 18:15:49 +0000 (18:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 22 Jan 2008 18:15:49 +0000 (18:15 +0000)
commit0bf3823958c2f4322ab59aae959b08fb82c0c114
tree66c68bdf36ff81a3bd62fcd604dbe3bcc4131fc6
parent255ef0345c9976d876677058f9beec62eb56aa28
decl.c (components_to_record): Do not reuse the empty union type if there is a representation clause on the record.

* decl.c (components_to_record): Do not reuse the empty union type
if there is a representation clause on the record.
* trans.c (addressable_p): Return true for INTEGER_CST.

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