aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-12-16 06:57:01 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-12-16 06:57:01 -0500
commitc46722a71749151201474d46ebf00f4c5a7a45ca (patch)
tree4148f5cbb7fb5f2925114729c03bcb1e7d6a6433 /gcc/function.c
parent9f541d35cfd90f381b7707dc0bfa1fc12ecfb8b5 (diff)
downloadgcc-c46722a71749151201474d46ebf00f4c5a7a45ca.zip
gcc-c46722a71749151201474d46ebf00f4c5a7a45ca.tar.gz
gcc-c46722a71749151201474d46ebf00f4c5a7a45ca.tar.bz2
(fixup_var_refs_1): Fix two incorrect calls to single_set.
From-SVN: r10776
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 6fd2bb7..a1699dc 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -1979,7 +1979,7 @@ fixup_var_refs_1 (var, promoted_mode, loc, insn, replacements)
&& (GET_CODE (SET_DEST (x)) == REG
|| (GET_CODE (SET_DEST (x)) == SUBREG
&& GET_CODE (SUBREG_REG (SET_DEST (x))) == REG))
- && x == single_set (PATTERN (insn)))
+ && x == single_set (insn))
{
rtx pat;
@@ -2024,7 +2024,7 @@ fixup_var_refs_1 (var, promoted_mode, loc, insn, replacements)
&& (GET_CODE (SET_SRC (x)) == REG
|| (GET_CODE (SET_SRC (x)) == SUBREG
&& GET_CODE (SUBREG_REG (SET_SRC (x))) == REG))
- && x == single_set (PATTERN (insn)))
+ && x == single_set (insn))
{
rtx pat;