combine.c (reversed_comparison): Fix typo in last patch.
* combine.c (reversed_comparison): Fix typo in last patch. Check X for NULL. (combine_reversed_comparison_code): Make static to follow prototype declaration. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r38942
This commit is contained in:
parent
0949f72302
commit
c3ffea5051
|
@ -1,3 +1,11 @@
|
||||||
|
Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
|
||||||
|
Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
* combine.c (reversed_comparison): Fix typo in last patch.
|
||||||
|
Check X for NULL.
|
||||||
|
(combine_reversed_comparison_code): Make static to follow
|
||||||
|
prototype declaration.
|
||||||
|
|
||||||
2001-01-12 Phil Edwards <pme@sources.redhat.com>
|
2001-01-12 Phil Edwards <pme@sources.redhat.com>
|
||||||
|
|
||||||
* install.texi: Remove misplaced duplicate entry.
|
* install.texi: Remove misplaced duplicate entry.
|
||||||
|
|
|
@ -11123,7 +11123,7 @@ simplify_comparison (code, pop0, pop1)
|
||||||
|
|
||||||
/* Like jump.c' reversed_comparison_code, but use combine infrastructure for
|
/* Like jump.c' reversed_comparison_code, but use combine infrastructure for
|
||||||
searching backward. */
|
searching backward. */
|
||||||
enum rtx_code
|
static enum rtx_code
|
||||||
combine_reversed_comparison_code (exp)
|
combine_reversed_comparison_code (exp)
|
||||||
rtx exp;
|
rtx exp;
|
||||||
{
|
{
|
||||||
|
@ -11135,8 +11135,8 @@ combine_reversed_comparison_code (exp)
|
||||||
return code1;
|
return code1;
|
||||||
/* Otherwise try and find where the condition codes were last set and
|
/* Otherwise try and find where the condition codes were last set and
|
||||||
use that. */
|
use that. */
|
||||||
x = get_last_value (XEXP (x, 0));
|
x = get_last_value (XEXP (exp, 0));
|
||||||
if (GET_CODE (x) != COMPARE)
|
if (!x || GET_CODE (x) != COMPARE)
|
||||||
return UNKNOWN;
|
return UNKNOWN;
|
||||||
return reversed_comparison_code_parts (GET_CODE (exp),
|
return reversed_comparison_code_parts (GET_CODE (exp),
|
||||||
XEXP (x, 0), XEXP (x, 1), NULL);
|
XEXP (x, 0), XEXP (x, 1), NULL);
|
||||||
|
|
Loading…
Reference in New Issue