On 01/08/2016 07:58 AM, Jakub Jelinek wrote:
On Fri, Jan 08, 2016 at 01:46:47PM +0100, Bernd Schmidt wrote:
On 01/07/2016 10:43 PM, Jakub Jelinek wrote:

        PR c++/69164
        * class.c (layout_class_type): Also copy DEC_SIZE_UNIT, DECL_BIT_FIELD
        and DEC_BIT_FIELD_TYPE.

Any reason this isn't using copy_node?

No idea, perhaps that would be even better.  Jason?

I imagine that the code is trying to avoid copying lang-specific information to the artificial as-base type, but I don't see why copying that would be a problem. Try copy_node and see if anything breaks?

Jason

Reply via email to