summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorfjahanian <fjahanian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-31 15:55:52 +0000
committerfjahanian <fjahanian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-31 15:55:52 +0000
commitd0ce84265164827f11494239b06d0eaa5d81ff7d (patch)
tree18099d4c9108cab72f9d8b420877fd4281f5f06d /gcc/expr.c
parentc6950818cc78854be4fcb839ff2f1fed25dedc09 (diff)
downloadppe42-gcc-d0ce84265164827f11494239b06d0eaa5d81ff7d.tar.gz
ppe42-gcc-d0ce84265164827f11494239b06d0eaa5d81ff7d.zip
Fix ppc -m64 constant address expression expansion bug.
Oked by Richard Henderson. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index e75d3351395..e44a54f9729 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -7673,7 +7673,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
}
else if (TREE_CODE (TREE_OPERAND (exp, 1)) == INTEGER_CST
- && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_INT
+ && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
&& TREE_CONSTANT (TREE_OPERAND (exp, 0)))
{
rtx constant_part;
OpenPOWER on IntegriCloud