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
This commit is contained in:
Richard Henderson 1999-01-06 10:51:30 -08:00 committed by Richard Henderson
parent ca54603f6a
commit 44d22bef0a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Jan 6 07:51:05 1999 Richard Henderson <rth@cygnus.com>
* expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
value_mode for the return mode.
Wed Jan 6 17:55:19 1999 Robert Lipe <robertlipe@usa.net>
* configure.in: New flag --with-dwarf2. If set, enables DWARF-2

View File

@ -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;
}