[Bug c++/63585] no warning

2014-10-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/63585] no warning

2014-10-18 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585 --- Comment #2 from Максим Прохоренко --- clang return all warnings

[Bug c++/63585] no warning

2014-10-18 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585 --- Comment #1 from Максим Прохоренко --- int f (double x) { if (x > 0 || x < 0) return 1; // ok - warn } struct value { double x; int operator== (const value &a) { if (a.x < x || a.x > x) return 0; // no warn ?? }