[PATCH] Fix extract_range_from_cond (PR tree-optimization/19060)
Vladimir Merzliakov
wanderer@rsu.ru
Tue Jan 11 00:24:00 GMT 2005
Just for note 2 :)
I am run testcase at GCC 4.0.0 20050110 (experimental) without and with
patch
Result diff:
=== libstdc++ Summary ===
-# of expected passes 3283
+# of expected passes 3336
-# of unexpected failures 67
+# of unexpected failures 15
# of unexpected successes 1
# of expected failures 5
Patch fix 52 tests at FreeBSD 5.3 + 1 new test
>> 2005-01-07 Jakub Jelinek <jakub@redhat.com>
>>
>> PR tree-optimization/19060
>> * tree-ssa-dom.c (extract_range_from_cond) <case LT_EXPR, GT_EXPR>:
>> Return 0 if op1 <= TYPE_MIN_VALUE () resp. op1 >= TYPE_MAX_VALUE ().
>> (simplify_cond_and_lookup_avail_expr): Add assert for dummy == 0
>> and handle extract_range_from_cond returning false.
>> * fold-const.c (fold): Optimize comparisons with min/max even for
>> width > HOST_BITS_PER_WIDE_INT.
>>
>> * gcc.c-torture/execute/20050104-1.c: New test.
>>
More information about the Gcc-patches
mailing list