tree-sra.c (sra_type_can_be_decomposed_p): Make sure that the bitfield is of integral...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 27 May 2008 11:00:38 +0000 (11:00 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 27 May 2008 11:00:38 +0000 (11:00 +0000)
commit469dfae932684a783566ae5f1654504fcf8ffd54
treed87a910aa92849bb44796633b36b39da56efa712
parent3b3c04308eef477c84841ef6090ad28e71315220
tree-sra.c (sra_type_can_be_decomposed_p): Make sure that the bitfield is of integral type before testing its precision.

* tree-sra.c (sra_type_can_be_decomposed_p) <RECORD_TYPE>: Make sure
that the bitfield is of integral type before testing its precision.

From-SVN: r136009
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/pack9.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/pack9.ads [new file with mode: 0644]
gcc/tree-sra.c