https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83954
--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Mar 7 09:43:49 2018 New Revision: 258320 URL: https://gcc.gnu.org/viewcvs?rev=258320&root=gcc&view=rev Log: Backport r257343 2018-03-07 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-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto-symtab.c