On Tue, Mar 13, 2018 at 12:06 AM, Eric Botcazou <ebotca...@adacore.com> 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
> fixlet (no testcase because the -Wodr warnings have a totally random order).
> Tested on x86-64/Linux, OK for the mainline?



> 2018-03-12  Eric Botcazou  <ebotca...@adacore.com>
>         PR lto/84805
>         * ipa-devirt.c (odr_subtypes_equivalent_p): Do not get the ODR type of
>         incomplete types.
> --
> Eric Botcazou

Reply via email to