public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/92773] [8/9/10/11 Regression] GCC compilation with big array / header is infinite [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> @ 2020-05-26 9:33 ` szotsaki at gmail dot com 2021-02-11 0:43 ` msebor at gcc dot gnu.org ` (5 subsequent siblings) 6 siblings, 0 replies; 7+ messages in thread From: szotsaki at gmail dot com @ 2020-05-26 9:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Szőts Ákos <szotsaki at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |szotsaki at gmail dot com --- Comment #12 from Szőts Ákos <szotsaki at gmail dot com> --- Might be a duplicate of Bug 85402? Though this one is better researched. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/92773] [8/9/10/11 Regression] GCC compilation with big array / header is infinite [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> 2020-05-26 9:33 ` [Bug c/92773] [8/9/10/11 Regression] GCC compilation with big array / header is infinite szotsaki at gmail dot com @ 2021-02-11 0:43 ` msebor at gcc dot gnu.org 2021-05-14 9:52 ` [Bug c/92773] [9/10/11/12 " jakub at gcc dot gnu.org ` (4 subsequent siblings) 6 siblings, 0 replies; 7+ messages in thread From: msebor at gcc dot gnu.org @ 2021-02-11 0:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #13 from Martin Sebor <msebor at gcc dot gnu.org> --- The output of the much simpler test case below shows the warning repeatedly prints the same hint over and over, adding to it for each new element of the outer array. The last two hints are also duplicates of one another. It's easy to limit the number of warnings for the same initializer to some maximum. A nicer fix would avoid the duplication altogether. $ cat t.c && gcc -S -Wall t.c struct { int a[8]; } a [] = { { 0 }, { 0, 0 }, { 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0 } }; t.c:5:1: warning: missing braces around initializer [-Wmissing-braces] 5 | { | ^ 6 | { 0 }, | { } 7 | { 0, 0 }, | { } t.c:5:1: warning: missing braces around initializer [-Wmissing-braces] 5 | { | ^ 6 | { 0 }, | { } 7 | { 0, 0 }, | { } 8 | { 0, 0, 0 }, | { } t.c:5:1: warning: missing braces around initializer [-Wmissing-braces] 5 | { | ^ 6 | { 0 }, | { } 7 | { 0, 0 }, | { } 8 | { 0, 0, 0 }, | { } 9 | { 0, 0, 0, 0 }, | { } t.c:5:1: warning: missing braces around initializer [-Wmissing-braces] 5 | { | ^ 6 | { 0 }, | { } 7 | { 0, 0 }, | { } 8 | { 0, 0, 0 }, | { } 9 | { 0, 0, 0, 0 }, | { } 10 | { 0, 0, 0, 0, 0 }, | { } t.c:5:1: warning: missing braces around initializer [-Wmissing-braces] 5 | { | ^ 6 | { 0 }, | { } 7 | { 0, 0 }, | { } 8 | { 0, 0, 0 }, | { } 9 | { 0, 0, 0, 0 }, | { } 10 | { 0, 0, 0, 0, 0 }, | { } 11 | { 0, 0, 0, 0, 0, 0 }, | { } t.c:5:1: warning: missing braces around initializer [-Wmissing-braces] 5 | { | ^ 6 | { 0 }, | { } 7 | { 0, 0 }, | { } 8 | { 0, 0, 0 }, | { } 9 | { 0, 0, 0, 0 }, | { } 10 | { 0, 0, 0, 0, 0 }, | { } 11 | { 0, 0, 0, 0, 0, 0 }, | { } 12 | { 0, 0, 0, 0, 0, 0, 0 } | { } t.c:5:1: warning: missing braces around initializer [-Wmissing-braces] 5 | { | ^ 6 | { 0 }, | { } 7 | { 0, 0 }, | { } 8 | { 0, 0, 0 }, | { } 9 | { 0, 0, 0, 0 }, | { } 10 | { 0, 0, 0, 0, 0 }, | { } 11 | { 0, 0, 0, 0, 0, 0 }, | { } 12 | { 0, 0, 0, 0, 0, 0, 0 } | { } ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/92773] [9/10/11/12 Regression] GCC compilation with big array / header is infinite [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> 2020-05-26 9:33 ` [Bug c/92773] [8/9/10/11 Regression] GCC compilation with big array / header is infinite szotsaki at gmail dot com 2021-02-11 0:43 ` msebor at gcc dot gnu.org @ 2021-05-14 9:52 ` jakub at gcc dot gnu.org 2021-06-01 8:15 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 6 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2021-05-14 9:52 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.5 |9.4 --- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 8 branch is being closed. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/92773] [9/10/11/12 Regression] GCC compilation with big array / header is infinite [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2021-05-14 9:52 ` [Bug c/92773] [9/10/11/12 " jakub at gcc dot gnu.org @ 2021-06-01 8:15 ` rguenth at gcc dot gnu.org 2022-05-27 9:41 ` [Bug c/92773] [10/11/12/13 " rguenth at gcc dot gnu.org ` (2 subsequent siblings) 6 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2021-06-01 8:15 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.4 |9.5 --- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 9.4 is being released, retargeting bugs to GCC 9.5. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/92773] [10/11/12/13 Regression] GCC compilation with big array / header is infinite [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2021-06-01 8:15 ` rguenth at gcc dot gnu.org @ 2022-05-27 9:41 ` rguenth at gcc dot gnu.org 2022-06-28 10:39 ` jakub at gcc dot gnu.org 2023-07-07 10:36 ` [Bug c/92773] [11/12/13/14 " rguenth at gcc dot gnu.org 6 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-05-27 9:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.5 |10.4 --- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 9 branch is being closed ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/92773] [10/11/12/13 Regression] GCC compilation with big array / header is infinite [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> ` (4 preceding siblings ...) 2022-05-27 9:41 ` [Bug c/92773] [10/11/12/13 " rguenth at gcc dot gnu.org @ 2022-06-28 10:39 ` jakub at gcc dot gnu.org 2023-07-07 10:36 ` [Bug c/92773] [11/12/13/14 " rguenth at gcc dot gnu.org 6 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2022-06-28 10:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.4 |10.5 --- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 10.4 is being released, retargeting bugs to GCC 10.5. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/92773] [11/12/13/14 Regression] GCC compilation with big array / header is infinite [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> ` (5 preceding siblings ...) 2022-06-28 10:39 ` jakub at gcc dot gnu.org @ 2023-07-07 10:36 ` rguenth at gcc dot gnu.org 6 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-07-07 10:36 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.5 |11.5 --- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 10 branch is being closed. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-07-07 10:36 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-92773-4@http.gcc.gnu.org/bugzilla/> 2020-05-26 9:33 ` [Bug c/92773] [8/9/10/11 Regression] GCC compilation with big array / header is infinite szotsaki at gmail dot com 2021-02-11 0:43 ` msebor at gcc dot gnu.org 2021-05-14 9:52 ` [Bug c/92773] [9/10/11/12 " jakub at gcc dot gnu.org 2021-06-01 8:15 ` rguenth at gcc dot gnu.org 2022-05-27 9:41 ` [Bug c/92773] [10/11/12/13 " rguenth at gcc dot gnu.org 2022-06-28 10:39 ` jakub at gcc dot gnu.org 2023-07-07 10:36 ` [Bug c/92773] [11/12/13/14 " rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).