jump.c (comparison_dominates_p): Don't try to handle UNKNOWN comparison codes.
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
This commit is contained in:
parent
e9770d5120
commit
1e738f74b9
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
* c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
|
* c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
|
||||||
|
@ -2087,6 +2087,12 @@ int
|
|||||||
comparison_dominates_p (code1, code2)
|
comparison_dominates_p (code1, code2)
|
||||||
enum rtx_code 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)
|
if (code1 == code2)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user