This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16928] New: test of positivness
- From: "jean-pascal dot laedermann at hospvd dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2004 08:12:30 -0000
- Subject: [Bug c++/16928] New: test of positivness
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Let i an int and u an unsigned int, with i = 1 and u = 2
- i - u > 0 returns true !
- let int a = i - u, a > 0 returns false (OK)
--
Summary: test of positivness
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jean-pascal dot laedermann at hospvd dot ch
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16928