------- Comment #52 from rguenth at gcc dot gnu dot org  2008-03-28 22:58 
-------
I'm now testing a variant of the patch that fixes fold_sign_changed_comparison
and just initializes incoming parameter value-ranges based on their types.
This seems to do the same range-check removals and looks like an overall
sane change.

I assume when inlining we will see the range check that assures the function
parameters are in-range, right?  So even for that case we should be able
to do the same simplifications.  Can you cook up a testcase that shows this
case?


-- 


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

Reply via email to