[Bug c++/49409] some possible new warnings for strange code

2017-07-26 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 David Binderman changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/49409] some possible new warnings for strange code

2015-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 --- Comment #7 from Marek Polacek --- I meant "agree with closing".

[Bug c++/49409] some possible new warnings for strange code

2015-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 --- Comment #6 from Marek Polacek --- -Wtautological-compare has been added to GCC 6. -Wlogical-op is older, but the part of it that warns about "i && i" is new and has only been added to GCC 6. I agree about closing the bug now, BTW.

[Bug c++/49409] some possible new warnings for strange code

2015-08-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 Paolo Carlini changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/49409] some possible new warnings for strange code

2015-08-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 Paolo Carlini changed: What|Removed |Added CC||polacek at redhat dot com --- Comment #3

[Bug c++/49409] some possible new warnings for strange code

2015-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/49409] some possible new warnings for strange code

2011-06-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 Richard Guenther changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug c++/49409] some possible new warnings for strange code

2011-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 --- Comment #1 from Jonathan Wakely 2011-06-14 22:34:34 UTC --- some warnings would seem sensible to me I tried clang++ which only warns about the first two, via -Wtautological-compare