* decl.c (components_to_record): Do not reuse the empty union type
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jan 2008 18:15:49 +0000 (18:15 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jan 2008 18:15:49 +0000 (18:15 +0000)
commit15bb3971525465d05130cf16d932f2ee81c73f47
tree66c68bdf36ff81a3bd62fcd604dbe3bcc4131fc6
parent4e8c3ff8cad2efc5849b04d4a3f62187b77e2874
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131733 138bc75d-0d04-0410-961f-82ee72b054a4
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]