stor-layout.c (finish_bitfield_representative): Fall back to the conservative maximum...
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Mar 2012 11:47:26 +0000 (11:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Mar 2012 11:47:26 +0000 (11:47 +0000)
commit2447776cc92a53f18c9a439e198cfd1d8f9cb330
tree12f156b2aa3208d9537ce80c5796aaa8041091a4
parent86286a8a969979fabab15c052ad8540e44a61720
stor-layout.c (finish_bitfield_representative): Fall back to the conservative maximum size if...

2012-03-16  Richard Guenther  <rguenther@suse.de>

* stor-layout.c (finish_bitfield_representative): Fall back
to the conservative maximum size if we cannot compute the
size of the tail padding.

* gnat.dg/specs/pack7.ads: New testcase.

From-SVN: r185464
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/pack7.ads [new file with mode: 0644]