Re: [patch] Fix PR lto/84805

2018-03-13 Thread Richard Biener
On Tue, Mar 13, 2018 at 12:06 AM, Eric Botcazou wrote: > Hi, > > this is an ICE in LTO mode on code violating the ODR rule: get_odr_type checks > that there is a sensible internal order between base, type and derived types > but this can be easily messed up by incomplete types. Hence the attached

[patch] Fix PR lto/84805

2018-03-12 Thread Eric Botcazou
Hi, this is an ICE in LTO mode on code violating the ODR rule: get_odr_type checks that there is a sensible internal order between base, type and derived types but this can be easily messed up by incomplete types. Hence the attached fixlet (no testcase because the -Wodr warnings have a totally