[Bug c/71552] Confusing error for incorrect struct initialization

2016-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 --- Comment #9 from Martin Sebor --- I asked on the list and it doesn't seem that this rises to the level of importance to justify backporting it (as regressions or incorrect code generation do).

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-30 Thread mpeg.blue at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 --- Comment #8 from Mason --- Thanks, Martin. Will your fix be back-ported to gcc 5/6 or will it only be in gcc 7 ? Regards.

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 --- Comment #6 from Martin Sebor --- Author: msebor Date: Tue Jun 28 20:09:36 2016 New Revision: 237829 URL: https://gcc.gnu.org/viewcvs?rev=237829&root=gcc&view=rev Log: PR c/71552 - Confusing error for incorrect struct initialization gcc/c/Ch

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-18 Thread mpeg.blue at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 --- Comment #5 from Mason --- (In reply to Martin Sebor from comment #3) > In a discussion on gcc-help the submitter provided a different/better test > case for which GCC could and arguably should emit a better error than > "initializer element i

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 Martin Sebor changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed|

[Bug c/71552] Confusing error for incorrect struct initialization

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

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-18 Thread mpeg.blue at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 --- Comment #2 from Mason --- Martin, Please reconsider this bug's resolution. In my opinion, "conversion of integers to pointers" is a red herring. This test case (double vs double ptr) triggers the same confusing error: struct foo { double

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED