diff options
author | Graham Stott <graham.stott@btinternet.com> | 2002-10-14 18:02:43 +0000 |
---|---|---|
committer | Graham Stott <grahams@gcc.gnu.org> | 2002-10-14 18:02:43 +0000 |
commit | 34146b9406f4281fc83386e58059457cba1b5e1b (patch) | |
tree | 8117e18e154497014953dcb2d4769cd53fdc22f4 /gcc | |
parent | 3a840c9310f4cf9160a8fab275b321fc554cc16c (diff) | |
download | gcc-34146b9406f4281fc83386e58059457cba1b5e1b.zip gcc-34146b9406f4281fc83386e58059457cba1b5e1b.tar.gz gcc-34146b9406f4281fc83386e58059457cba1b5e1b.tar.bz2 |
* stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
From-SVN: r58128
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/stmt.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e5c0ed..0f5f1e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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> * stmt.c: Fix typo in comment. @@ -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 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. @@ -1414,6 +1414,7 @@ decl_conflicts_with_clobbers_p (decl, clobbered_regs) list are not allowed. */ if ((TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == PARM_DECL) && DECL_REGISTER (decl) + && REG_P (DECL_RTL (decl)) && REGNO (DECL_RTL (decl)) < FIRST_PSEUDO_REGISTER) { rtx reg = DECL_RTL (decl); |