public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16928] New: test of positivness
@ 2004-08-09 8:12 jean-pascal dot laedermann at hospvd dot ch
2004-08-09 8:18 ` [Bug c++/16928] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: jean-pascal dot laedermann at hospvd dot ch @ 2004-08-09 8:12 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/16928] test of positivness
2004-08-09 8:12 [Bug c++/16928] New: test of positivness jean-pascal dot laedermann at hospvd dot ch
@ 2004-08-09 8:18 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-09 8:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-09 08:18 -------
int - unsigned (and unsigned - int) is still unsigned so this is invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16928
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-09 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-09 8:12 [Bug c++/16928] New: test of positivness jean-pascal dot laedermann at hospvd dot ch
2004-08-09 8:18 ` [Bug c++/16928] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).