https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83954
--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Mar 6 20:02:03 2018 New Revision: 258286 URL: https://gcc.gnu.org/viewcvs?rev=258286&root=gcc&view=rev Log: Backport r257343 2018-03-06 Martin Liska <mli...@suse.cz> Backport from mainline 2018-02-02 Eric Botcazou <ebotca...@adacore.com> PR lto/83954 * lto-symtab.c (warn_type_compatibility_p): Do not recurse into the component type of array types with non-aliased component. Modified: branches/gcc-7-branch/gcc/lto/ChangeLog branches/gcc-7-branch/gcc/lto/lto-symtab.c