Re: [PATCH] Fix PR52178

2012-02-15 Thread Richard Guenther
On Wed, 15 Feb 2012, Eric Botcazou wrote: This fixes PR52178, the failure to bootstrap Ada with LTO (well, until you hit the next problem). A self-referential DECL_QUALIFIER makes us think that a QUAL_UNION_TYPE type is of variable-size which makes us stream that type locally, wrecking

[PATCH] Fix PR52178

2012-02-13 Thread Richard Guenther
This fixes PR52178, the failure to bootstrap Ada with LTO (well, until you hit the next problem). A self-referential DECL_QUALIFIER makes us think that a QUAL_UNION_TYPE type is of variable-size which makes us stream that type locally, wrecking type merging and later ICEing in the type verifier.