From 44d22bef0af1c9df8d65748a7e5905ff22843f00 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 6 Jan 1999 10:51:30 -0800 Subject: expr.c (expand_builtin): Use value_mode for the return mode. * expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use value_mode for the return mode. From-SVN: r24525 --- gcc/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/expr.c') diff --git a/gcc/expr.c b/gcc/expr.c index 4967642..48f726a 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -9031,7 +9031,7 @@ expand_builtin (exp, target, subtarget, mode, ignore) tmp = expand_expr (arg, NULL_RTX, VOIDmode, 0); tmp = gen_rtx_CONSTANT_P_RTX (ptr_mode, tmp); tmp = gen_rtx_CONST (ptr_mode, tmp); - tmp = convert_to_mode (mode, tmp, 0); + tmp = convert_to_mode (value_mode, tmp, 0); return tmp; } -- cgit v1.1