This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64759] The compiler does NOT show a warning in a case where it is reasonable to expect a warning message.
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Jan 2015 23:46:37 +0000
- Subject: [Bug c++/64759] The compiler does NOT show a warning in a case where it is reasonable to expect a warning message.
- Auto-submitted: auto-generated
- References: <bug-64759-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64759
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.8.2 |unknown
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
!x is the same as x == 0.0 and yes sometimes it make sense to compare against
zero.