re PR lto/83954 (LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incom...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 2 Feb 2018 18:09:32 +0000 (18:09 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 2 Feb 2018 18:09:32 +0000 (18:09 +0000)
commitee034d3108105353a2130a2d0d3630e5f8214811
tree5ccdd70d4f0b6784c546fa2294d377c157cf9ecd
parentaa81b142afd82cef291a1940b2dbca80807af59a
re PR lto/83954 (LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type)

PR lto/83954
* lto-symtab.c (warn_type_compatibility_p): Do not recurse into the
component type of array types with non-aliased component.

From-SVN: r257343
gcc/lto/ChangeLog
gcc/lto/lto-symtab.c