On Wed, Jul 11, 2018 at 11:55:32AM +0200, Richard Biener wrote:
> This fixes handle_packed_attribute creating a type variant which differs
> in TYPE_PACKED. This cannot be generally allowed since TYPE_PACKED
> affects layout and layout is shared between variants.
> For the testcase in question the attribute itself is later ignored
> but TYPE_PACKED is still applied which eventually leads to an ICE
> in type verification (that isn't applied very reliably).
> Bootstrapped and tested on x86_64-unknown-linux-gnu, OK?