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 optimization/15347] [tree-ssa] fold if ("<12ers" + 1 == 0).


------- Additional Comments From kazu at cs dot umass dot edu  2004-05-09 20:15 -------
Andrew, I forgot to say that the first testcase can be obtained more or less
if you use Steven's strchr optimization patch.
IIRC, His strchr optimization happens in CCP, so
fold does not get to fold "<12ers" + 1 == 0 into false.

In any case, all the stupidity in this area should go away.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15347


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