mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-25 07:54:01 +08:00
* recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
From-SVN: r35368
This commit is contained in:
parent
fbddce27a7
commit
22251f806b
@ -1,3 +1,7 @@
|
||||
Mon Jul 31 10:36:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
|
||||
|
||||
2000-07-31 Geoff Keating <geoffk@cygnus.com>
|
||||
|
||||
* c-parse.in (extdefs): Call ggc_collect between external
|
||||
|
@ -409,8 +409,11 @@ validate_replace_rtx_1 (loc, from, to, object)
|
||||
register int i, j;
|
||||
register const char *fmt;
|
||||
register rtx x = *loc;
|
||||
enum rtx_code code = GET_CODE (x);
|
||||
enum rtx_code code;
|
||||
|
||||
if (!x)
|
||||
return;
|
||||
code = GET_CODE (x);
|
||||
/* X matches FROM if it is the same rtx or they are both referring to the
|
||||
same register in the same mode. Avoid calling rtx_equal_p unless the
|
||||
operands look similar. */
|
||||
|
Loading…
Reference in New Issue
Block a user