[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 18 20:09:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391

--- Comment #18 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Apr 18 20:08:44 2018
New Revision: 259479

URL: https://gcc.gnu.org/viewcvs?rev=259479&root=gcc&view=rev
Log:
Make Wodr warnings stable.

2018-04-18  Martin Liska  <mliska@suse.cz>

        PR ipa/83983
        PR ipa/85391
        * lto.c (cmp_type_location): New function.
        (lto_read_decls): First collect all types, then
        sort them according by location before register_odr_type
        is called.
2018-04-18  Martin Liska  <mliska@suse.cz>

        PR ipa/83983
        PR ipa/85391
        * g++.dg/lto/pr83121_1.C (struct Environment): Adjust expected
        output.

Modified:
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/lto/pr83121_1.C


More information about the Gcc-bugs mailing list