https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983
--- Comment #13 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 <mli...@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 <mli...@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