[Bug c/92286] Possible improvement for -Wduplicated-cond warning

2022-10-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92286 --- Comment #6 from Martin Liška --- > trunk.git/libsanitizer/sanitizer_common/sanitizer_allocator_primary64.h:547: > 27: style: Expression is always true because 'else if' condition is opposite > to previous condition at line 538. [multiConditio

[Bug c/92286] Possible improvement for -Wduplicated-cond warning

2022-10-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92286 --- Comment #5 from David Binderman --- A quick grep suggests two problems in gcc source code: trunk.git/gcc/ada/sysdep.c:423:26: style: Expression is always true because 'else if' condition is opposite to previous condition at line 415. [multiC

[Bug c/92286] Possible improvement for -Wduplicated-cond warning

2022-10-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92286 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c/92286] Possible improvement for -Wduplicated-cond warning

2019-11-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92286 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/92286] Possible improvement for -Wduplicated-cond warning

2019-10-30 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92286 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug c/92286] Possible improvement for -Wduplicated-cond warning

2019-10-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92286 Marek Polacek changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRME