[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
Tue Mar 6 20:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83954
--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Mar 6 20:01:44 2018
New Revision: 258285
URL: https://gcc.gnu.org/viewcvs?rev=258285&root=gcc&view=rev
Log:
Backport r257183
2018-03-06 Martin Liska <mliska@suse.cz>
Backport from mainline
2018-01-30 Jan Hubicka <hubicka@ucw.cz>
PR lto/83954
* lto-symtab.c (warn_type_compatibility_p): Silence false positive
for type match warning on arrays of pointers.
2018-03-06 Martin Liska <mliska@suse.cz>
Backport from mainline
2018-01-30 Jan Hubicka <hubicka@ucw.cz>
PR lto/83954
* gcc.dg/lto/pr83954.h: New testcase.
* gcc.dg/lto/pr83954_0.c: New testcase.
* gcc.dg/lto/pr83954_1.c: New testcase.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr83954.h
branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr83954_0.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr83954_1.c
Modified:
branches/gcc-7-branch/gcc/lto/ChangeLog
branches/gcc-7-branch/gcc/lto/lto-symtab.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list