This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]