gcc/ChangeLog:
2016-08-05 Kugan Vivekanandarajah <kuganv@linaro.org>
* tree-vrp.c (extract_range_basic): Check cfun->after_inlining
before folding call to __builtin_constant_p with parameters to false.
From-SVN: r239162
+2016-08-05 Kugan Vivekanandarajah <kuganv@linaro.org>
+
+ * tree-vrp.c (extract_range_basic): Check cfun->after_inlining
+ before folding call to __builtin_constant_p with parameters to false.
+
2016-08-05 Alan Modra <amodra@gmail.com>
* config/rs6000/rs6000.c (rs6000_preferred_reload_class): Delete
arg = gimple_call_arg (stmt, 0);
if (TREE_CODE (arg) == SSA_NAME
&& SSA_NAME_IS_DEFAULT_DEF (arg)
- && TREE_CODE (SSA_NAME_VAR (arg)) == PARM_DECL)
+ && TREE_CODE (SSA_NAME_VAR (arg)) == PARM_DECL
+ && cfun->after_inlining)
{
set_value_range_to_null (vr, type);
return;