aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2005-08-31 15:55:52 +0000
committerFariborz Jahanian <fjahanian@apple.com>2005-08-31 15:55:52 +0000
commitdfa381c9aac0f15569aa957df77b76789549405a (patch)
tree18099d4c9108cab72f9d8b420877fd4281f5f06d /gcc/expr.c
parent9135fbc91cd2e76a3119738754a43c053acf69c7 (diff)
Fix ppc -m64 constant address expression expansion bug.
Oked by Richard Henderson. git-svn-id: https://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;