Commit 34146b94 by Graham Stott Committed by Graham Stott

* stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.

From-SVN: r58128
parent 3a840c93
2002-10-14 Graham Stott <graham.stott@btinternet.com>
* stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
2002-10-14 Aldy Hernandez <aldyh@redhat.com> 2002-10-14 Aldy Hernandez <aldyh@redhat.com>
* stmt.c: Fix typo in comment. * stmt.c: Fix typo in comment.
...@@ -2932,7 +2936,7 @@ Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it> ...@@ -2932,7 +2936,7 @@ Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
* cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
information. information.
2002-09-07 Graham Stott <graham.stott@btinternet.con> 2002-09-07 Graham Stott <graham.stott@btinternet.com>
* rtlanal.c (dead_or_set_regno_p): Fix typo. * rtlanal.c (dead_or_set_regno_p): Fix typo.
......
...@@ -1414,6 +1414,7 @@ decl_conflicts_with_clobbers_p (decl, clobbered_regs) ...@@ -1414,6 +1414,7 @@ decl_conflicts_with_clobbers_p (decl, clobbered_regs)
list are not allowed. */ list are not allowed. */
if ((TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == PARM_DECL) if ((TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == PARM_DECL)
&& DECL_REGISTER (decl) && DECL_REGISTER (decl)
&& REG_P (DECL_RTL (decl))
&& REGNO (DECL_RTL (decl)) < FIRST_PSEUDO_REGISTER) && REGNO (DECL_RTL (decl)) < FIRST_PSEUDO_REGISTER)
{ {
rtx reg = DECL_RTL (decl); rtx reg = DECL_RTL (decl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment