Re: [PATCH] Fix PR78472

2016-11-23 Thread Richard Biener
On Tue, 22 Nov 2016, Richard Biener wrote: > > The following fixes a C/C++ interoperability issue with LTO when > zero-sized fields appear in one variant of a struct but not in another. > > Bootstrap & regtest in progress on x86_64-unknown-linux-gnu. This is what I have applied. Richard. 2016

[PATCH] Fix PR78472

2016-11-22 Thread Richard Biener
The following fixes a C/C++ interoperability issue with LTO when zero-sized fields appear in one variant of a struct but not in another. Bootstrap & regtest in progress on x86_64-unknown-linux-gnu. Richard. 2016-11-22 Richard Biener PR lto/78472 * tree.c (gimple_canonical_ty