diff options
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index d544410cf0c..95f9494e242 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -1469,6 +1469,8 @@ expand_builtin_constant_p (exp) case is not obvious, so emit (constant_p_rtx (ARGLIST)) and let CSE get a chance to see if it can deduce whether ARGLIST is constant. */ + current_function_calls_constant_p = 1; + tmp = expand_expr (arglist, NULL_RTX, VOIDmode, 0); tmp = gen_rtx_CONSTANT_P_RTX (value_mode, tmp); return tmp; |