--- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-03 10:39 ---
Adding -W/-Wextra and we get a warning:
t.c: In function foo:
t.c:3: warning: comparison of unsigned expression < 0 is always false
t.c:5: warning: comparison of unsigned expression >= 0 is always true
I always f
--- Comment #2 from pluto at agmk dot net 2006-11-03 10:44 ---
(In reply to comment #1)
> Adding -W/-Wextra and we get a warning:
> t.c: In function �foo�:
> t.c:3: warning: comparison of unsigned expression < 0 is always false
> t.c:5: warning: comparison of unsigned expression >= 0 is
--- Comment #3 from manu at gcc dot gnu dot org 2007-01-09 15:21 ---
Wextra warns for this, what is the bug?
--
manu at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from gdr at integrable-solutions dot net 2007-01-09 18:41
---
Subject: Re: missed warnings about comparisons which are always true/false.
"manu at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:
| Wextra warns for this, what is the bug?
I believe pluto wants -Walways
--- Comment #5 from manu at gcc dot gnu dot org 2007-01-09 20:28 ---
(In reply to comment #4)
> Subject: Re: missed warnings about comparisons which are always true/false.
>
> "manu at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:
>
> | Wextra warns for this, what is the bug?
>
>
--- Comment #6 from manu at gcc dot gnu dot org 2007-01-20 16:30 ---
This is a duplicate of PR 23587.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29694
--- Comment #7 from pluto at agmk dot net 2007-01-23 20:15 ---
(In reply to comment #4)
> Subject: Re: missed warnings about comparisons which are always true/false.
>
> "manu at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:
>
> | Wextra warns for this, what is the bug?
>
> I beli
--- Comment #8 from manu at gcc dot gnu dot org 2007-05-20 21:31 ---
Subject: Bug 29694
Author: manu
Date: Sun May 20 20:29:55 2007
New Revision: 124875
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124875
Log:
2007-05-20 Manuel Lopez-Ibanez <[EMAIL PROTECTED]>
PR mi