aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1998-12-15 11:56:36 +0000
committerNick Clifton <nickc@gcc.gnu.org>1998-12-15 11:56:36 +0000
commitddc54eaa30e8e670df26185114dec8fb68717834 (patch)
treee5115b8edfd5f3bc935fac8ba9531d98218d2f38 /gcc/emit-rtl.c
parentc49445e0012a736c72876d6ebb28a3ee554c1e67 (diff)
downloadgcc-ddc54eaa30e8e670df26185114dec8fb68717834.zip
gcc-ddc54eaa30e8e670df26185114dec8fb68717834.tar.gz
gcc-ddc54eaa30e8e670df26185114dec8fb68717834.tar.bz2
Cope with inlining functions which return a multiword CONCAT value
From-SVN: r24328
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index c5d5060..701415f 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -942,7 +942,7 @@ subreg_realpart_p (x)
if (GET_CODE (x) != SUBREG)
abort ();
- return SUBREG_WORD (x) == 0;
+ return SUBREG_WORD (x) * UNITS_PER_WORD < GET_MODE_UNIT_SIZE (GET_MODE (SUBREG_REG (x)));
}
/* Assuming that X is an rtx (e.g., MEM, REG or SUBREG) for a value,