[Bug c++/64759] The compiler does NOT show a warning in a case where it is reasonable to expect a warning message.

2015-01-23 Thread lakshayg at iitk dot ac.in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64759 --- Comment #2 from Lakshay Garg --- (In reply to Andrew Pinski from comment #1) > !x is the same as x == 0.0 and yes sometimes it make sense to compare > against zero. It makes sense to compare against 0 but not 0.0 . NOT operation makes sense

[Bug c++/64759] New: The compiler does NOT show a warning in a case where it is reasonable to expect a warning message.

2015-01-23 Thread lakshayg at iitk dot ac.in
: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lakshayg at iitk dot ac.in Created attachment 34558 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34558&action=edit test code that