2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
comparison codes.
From-SVN: r39353
+2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
+ comparison codes.
+
2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
* c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
comparison_dominates_p (code1, code2)
enum rtx_code code1, code2;
{
+ /* UNKNOWN comparison codes can happen as a result of trying to revert
+ comparison codes.
+ They can't match anything, so we have to reject them here. */
+ if (code1 == UNKNOWN || code2 == UNKNOWN)
+ return 0;
+
if (code1 == code2)
return 1;