[Bug c/92326] [10 Regression] wrong bound in zero-length array diagnostics

2020-04-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326 --- Comment #12 from Martin Sebor --- Thanks! I'm glad to see the new warning has helpe identify (and fix) a real bug!

[Bug c/92326] [10 Regression] wrong bound in zero-length array diagnostics

2020-04-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326 --- Comment #11 from Martin Liška --- All right, thanks for the clarification. Btw. qemu fixed the warning in the meantime: https://github.com/patchew-project/qemu/commit/4ce1e15fbc7266a108a7c77a3962644b3935346e

[Bug c/92326] [10 Regression] wrong bound in zero-length array diagnostics

2020-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug c/92326] [10 Regression] wrong bound in zero-length array diagnostics

2020-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug c/92326] [10 Regression] wrong bound in zero-length array diagnostics

2020-04-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/92326] [10 Regression] wrong bound in zero-length array diagnostics

2020-04-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:09f041390245da60411a9f0e08c4bedf7430585a commit r10-7706-g09f041390245da60411a9f0e08c4bedf7430585a Author: Martin Sebor Date: Mon

[Bug c/92326] [10 Regression] wrong bound in zero-length array diagnostics

2020-04-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326 Martin Sebor changed: What|Removed |Added Summary|wrong bound in zero-length |[10 Regression] wrong bound