re PR c++/21308 (Very high compile time)
authorMark Mitchell <mark@codesourcery.com>
Sun, 6 Nov 2005 19:41:18 +0000 (19:41 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 6 Nov 2005 19:41:18 +0000 (19:41 +0000)
commitc5a35c3c50228be69ecbb579b53925d7be73377d
tree77425e35325959db6ea6ad913424e48a072f7455
parent4523d51b35a2a83b9632658067833000079081a9
re PR c++/21308 (Very high compile time)

PR c++/21308
* class.c (sizeof_biggest_empty_class): New variable.
(record_subobject_offsets): Don't record offsets past biggest
empty class for data members.  Replace vbases_p parameter with
is_data_member parameter.
(build_base_field): Adjust call.
(layout_class_type): Likewise.  Maintain
sizeof_biggest_empty_class.

From-SVN: r106566
gcc/cp/ChangeLog
gcc/cp/class.c