This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/8681] Generates unneeded test


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]