This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Mar 2018 20:02:15 +0000
- Subject: [Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type
- Auto-submitted: auto-generated
- References: <bug-83954-4@http.gcc.gnu.org/bugzilla/>
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