reload1.c (reload_cse_simplify): Before checking REG_FUNCTION_VALUE_P, check REG_P.
* reload1.c (reload_cse_simplify): Before checking REG_FUNCTION_VALUE_P, check REG_P. From-SVN: r56267
This commit is contained in:
parent
a43c89861e
commit
cf87d551b0
@ -1,3 +1,8 @@
|
||||
2002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* reload1.c (reload_cse_simplify): Before checking
|
||||
REG_FUNCTION_VALUE_P, check REG_P.
|
||||
|
||||
2002-08-13 Geoffrey Keating <geoffk@redhat.com>
|
||||
|
||||
* Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
|
||||
|
@ -8044,7 +8044,8 @@ reload_cse_simplify (insn, testreg)
|
||||
{
|
||||
if (! reload_cse_noop_set_p (part))
|
||||
break;
|
||||
if (REG_FUNCTION_VALUE_P (SET_DEST (part)))
|
||||
if (REG_P (SET_DEST (part))
|
||||
&& REG_FUNCTION_VALUE_P (SET_DEST (part)))
|
||||
{
|
||||
if (value)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user