[Bug c/97398] Enhancement request: Warning when multiply assigning to same struct field

2020-10-15 Thread Ulrich.Windl at rz dot uni-regensburg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97398 --- Comment #3 from Ulrich Windl --- (In reply to Eric Gallager from comment #2) > would this go under one of the existing -Wunused flags, or a new one? I think it's a case of being an unused value set to a variable in general, but more specific

[Bug c/97398] New: Enhancement request: Warning when multiply assigning to same struct field

2020-10-13 Thread Ulrich.Windl at rz dot uni-regensburg.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97398 Bug ID: 97398 Summary: Enhancement request: Warning when multiply assigning to same struct field Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: norma