[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 --- Comment #9 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01423.html

[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 --- Comment #8 from Manuel López-Ibáñez --- (In reply to Martin Sebor from comment #7) > Thanks, Manuel. That does the trick. Let me put a patch together. Note also that the extra: uu.c:3:26: note: (near initialization for ‘a’) is just a

[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-17 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-14 Thread dev at benjarobin dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 --- Comment #3 from Benjamin Robin --- If I preprocessed the source with clang then compile it with GCC, I do have the warning. This looks like it is related to the way NULL is expanded.

[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-14 Thread dev at benjarobin dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 --- Comment #2 from Benjamin Robin --- Created attachment 38489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38489=edit Preprocessed by Clang source file t.c attached

[Bug c/71115] Missing warning: excess elements in struct initializer

2016-05-14 Thread dev at benjarobin dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71115 --- Comment #1 from Benjamin Robin --- Created attachment 38488 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38488=edit Preprocessed by GCC source file t.c attached