This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/8681] Generates unneeded test
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Apr 2005 18:10:46 -0000
- Subject: [Bug tree-optimization/8681] Generates unneeded test
- References: <20021122094603.8681.rf13@inf.tu-dresden.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at physics dot uc dot edu 2005-04-24 18:10 -------
Subject: Re: Generates unneeded test
On Apr 24, 2005, at 2:06 PM, Diego Novillo wrote:
> What is the type of 'i'? If it's unsigned, then we would be
> wasting our time.
It is signed, otherwise "i < 0" will always be true and the conditional
would have gotten rid of already.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8681