[Bug c++/16928] New: test of positivness
jean-pascal dot laedermann at hospvd dot ch
gcc-bugzilla@gcc.gnu.org
Mon Aug 9 08:12:00 GMT 2004
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
More information about the Gcc-bugs
mailing list