[Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 7 09:44:00 GMT 2018
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 <mliska@suse.cz>
Backport from mainline
2018-02-02 Eric Botcazou <ebotcazou@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
More information about the Gcc-bugs
mailing list