[Bug c/108753] '-Wduplicated-cond' doesn't diagnose duplicated subexpressions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108753 --- Comment #2 from Marek Polacek --- Making this work should hopefully be fairly easy: add a tree walk on the operands of || and && and compare them to the previous condition?
[Bug c/108753] '-Wduplicated-cond' doesn't diagnose duplicated subexpressions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108753 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED