[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #12 from Martin Liška --- Should be fixed on all active branches.
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 Bug 81440 depends on bug 83954, which changed state. Bug 83954 Summary: [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 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #11 from Martin Liška --- Author: marxin Date: Wed Mar 7 09:47:46 2018 New Revision: 258328 URL: https://gcc.gnu.org/viewcvs?rev=258328=gcc=rev Log: Backport r256989 2018-03-07 Martin LiskaBackport from mainline 2018-01-23 Martin Liska PR lto/81440 * lto-symtab.c (lto_symtab_merge): Handle and do not warn about trailing arrays at the end of a struct. 2018-03-07 Martin Liska Backport from mainline 2018-01-23 Martin Liska PR lto/81440 * gcc.dg/lto/pr81440.h: New test. * gcc.dg/lto/pr81440_0.c: New test. * gcc.dg/lto/pr81440_1.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440.h branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440_0.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440_1.c Modified: branches/gcc-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto-symtab.c branches/gcc-6-branch/gcc/testsuite/ChangeLog
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #10 from Martin Liška --- Author: marxin Date: Tue Mar 6 20:06:29 2018 New Revision: 258295 URL: https://gcc.gnu.org/viewcvs?rev=258295=gcc=rev Log: Backport r256989 2018-03-06 Martin LiskaBackport from mainline 2018-01-23 Martin Liska PR lto/81440 * lto-symtab.c (lto_symtab_merge): Handle and do not warn about trailing arrays at the end of a struct. 2018-03-06 Martin Liska Backport from mainline 2018-01-23 Martin Liska PR lto/81440 * gcc.dg/lto/pr81440.h: New test. * gcc.dg/lto/pr81440_0.c: New test. * gcc.dg/lto/pr81440_1.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440.h branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440_0.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440_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
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 Eric Gallager changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #9 from Eric Gallager --- (In reply to Martin Liška from comment #8) > Fixed on trunk, queued for backport. Since you're the assignee I'm changing the status to ASSIGNED for the backport
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 Martin Liška changed: What|Removed |Added Known to work||8.0 Known to fail||6.4.0, 7.2.0 --- Comment #8 from Martin Liška --- Fixed on trunk, queued for backport.
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #7 from Martin Liška --- Author: marxin Date: Tue Jan 23 15:46:02 2018 New Revision: 256989 URL: https://gcc.gnu.org/viewcvs?rev=256989=gcc=rev Log: Handle trailing arrays in ODR warning (PR lto/81440). 2018-01-23 Martin LiskaPR lto/81440 * lto-symtab.c (lto_symtab_merge): Handle and do not warn about trailing arrays at the end of a struct. 2018-01-23 Martin Liska PR lto/81440 * gcc.dg/lto/pr81440.h: New test. * gcc.dg/lto/pr81440_0.c: New test. * gcc.dg/lto/pr81440_1.c: New test. Added: trunk/gcc/testsuite/gcc.dg/lto/pr81440.h trunk/gcc/testsuite/gcc.dg/lto/pr81440_0.c trunk/gcc/testsuite/gcc.dg/lto/pr81440_1.c Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto-symtab.c trunk/gcc/testsuite/ChangeLog
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #6 from Martin Liška --- Patch candidate: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01942.html
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #5 from Martin Liška --- (In reply to Dan Halbert from comment #4) > There's movement on bug 83954, which seems related but is a different > manifestation. Will a fix there fix this also? (I see your "I've got a > patch" comment, but that was a while ago). Sorry, I forgot about it. Let me push it..
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #4 from Dan Halbert --- There's movement on bug 83954, which seems related but is a different manifestation. Will a fix there fix this also? (I see your "I've got a patch" comment, but that was a while ago).
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #3 from Martin Liška --- Confirmed, I've got patch that I'll consult with Honza.
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-09-11 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Liška --- I'll take a look.
[Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81440 --- Comment #1 from Dan Halbert --- *** Bug 81439 has been marked as a duplicate of this bug. ***