tree-vrp.c (extract_range_basic): Check cfun->after_inlining before folding call to __builtin_constant_p with...
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
This commit is contained in:
parent
7ffedfee02
commit
343092cfa2
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -3785,7 +3785,8 @@ extract_range_basic (value_range *vr, gimple *stmt)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user