[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2018-05-15 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #27 from Vincent Lefèvre --- (In reply to Waynem Ccollough from comment #26) > Does the issue already fixed? For the simplest cases, it is. But complex cases still trigger a warning, see e.g. PR 80454.

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2018-05-15 Thread waynemccollough at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Waynem Ccollough changed: What|Removed |Added CC||waynemccollough at gmx dot com ---

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2017-04-18 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net ---

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2015-03-15 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #24 from nightstrike nightstrike at gmail dot com --- (In reply to Marek Polacek from comment #20) Sorry, the patch hasn't been applied to 4.9 nor 4.8 branch yet, and I don't think it should be backported as-is, because just today I

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2015-02-06 Thread safinaskar at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Askar Safin safinaskar at mail dot ru changed: What|Removed |Added CC||safinaskar at

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2015-02-06 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #22 from Rich Felker bugdal at aerifal dot cx --- The warning is probably correct for C++ because C++ has {} as its universal zero initializer, and {0} may not (unsure about this; I'm not a C++ expert) even be valid as an initializer

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2015-02-06 Thread safinaskar at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #23 from Askar Safin safinaskar at mail dot ru --- Please remove {0} warning at least in cases where {0} is obviously OK (such as addrinfo)

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2015-01-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #20 from Marek Polacek mpolacek at gcc dot gnu.org --- Sorry, the patch hasn't been applied to 4.9 nor 4.8 branch yet, and I don't think it should be backported as-is, because just today I found out that the patch contains a bug; see

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2015-01-21 Thread rogerdpack at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 roger pack rogerdpack at gmail dot com changed: What|Removed |Added CC||rogerdpack at

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-08-03 Thread rose.garcia-eggl2fk at yopmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Rose Garcia rose.garcia-eggl2fk at yopmail dot com changed: What|Removed |Added CC|

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-08-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #17 from Marek Polacek mpolacek at gcc dot gnu.org --- I'm sorry, GCC 4.7 branch is already closed.

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-08-03 Thread rose.garcia-eggl2fk at yopmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #18 from Rose Garcia rose.garcia-eggl2fk at yopmail dot com --- Created attachment 33229 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33229action=edit backported fix for gcc 4.8.3 oh, is that so? that's unfortunate, as gcc

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-06-05 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #12 from Jeffrey A. Law law at gcc dot gnu.org --- Author: law Date: Thu Jun 5 19:36:03 2014 New Revision: 211289 URL: http://gcc.gnu.org/viewcvs?rev=211289root=gccview=rev Log: 2014-06-05 S. Gilles sgil...@terpmail.umd.edu

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-06-05 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 nightstrike nightstrike at gmail dot com changed: What|Removed |Added CC||nightstrike at

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-06-05 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #14 from Rich Felker bugdal at aerifal dot cx --- In C++, the correct zero initializer is {}, not {0}. I'm not an expert in C++ but I think {0} in C++ might even be a constraint violation unless the brace level happens to match.

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2014-06-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2013-09-07 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #11 from Manuel López-Ibáñez manu at gcc dot gnu.org --- (In reply to JamesH from comment #10) Therefore, is there any progress on this bug? I wouldn't expect any soon, unless new developers join GCC development and decide to work

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2013-08-14 Thread jnahughes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 JamesH jnahughes at googlemail dot com changed: What|Removed |Added CC||jnahughes at

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-05-03 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-26 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #6 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-04-26 10:37:26 UTC --- On Wed, 25 Apr 2012, manu at gcc dot gnu.org wrote: It seems to me you are right. However, I cannot see how to check for ={0} at the

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-26 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-26 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #8 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-04-26 10:50:38 UTC --- On Thu, 26 Apr 2012, manu at gcc dot gnu.org wrote: OK, but do you agree that the warning should be silenced always for ={0}? Yes, I

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-25 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #2 from Rich Felker bugdal at aerifal dot cx 2012-04-25 18:01:41 UTC --- Sorry, I wrote the bug report without GCC in front of me. The correct name for the warning option is -Wmissing-braces.

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #3 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-04-25 18:12:29 UTC --- I can't get reproduce this. Could you provide a small reproducible testcase? Plus the info asked here: http://gcc.gnu.org/bugs/#need

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-25 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 --- Comment #4 from Rich Felker bugdal at aerifal dot cx 2012-04-25 18:32:08 UTC --- Created attachment 27242 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27242 minimal test case Glibc's mbstate_t is defined as a struct whose first element

[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

2012-04-25 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |UNCONFIRMED