Commit d89124ed by Jakub Jelinek Committed by Jakub Jelinek

tree-vrp.c (infer_nonnull_range): Use is_gimple_call, ignore internal calls.

	* tree-vrp.c (infer_nonnull_range): Use is_gimple_call,
	ignore internal calls.

From-SVN: r203427
parent e6ad28c3
2013-10-11 Jakub Jelinek <jakub@redhat.com>
* tree-vrp.c (infer_nonnull_range): Use is_gimple_call,
ignore internal calls.
2013-10-11 Richard Biener <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Allow to dump
......
......@@ -4484,7 +4484,7 @@ infer_nonnull_range (gimple stmt, tree op)
if (num_loads + num_stores > 0)
return true;
if (gimple_code (stmt) == GIMPLE_CALL)
if (is_gimple_call (stmt) && !gimple_call_internal_p (stmt))
{
tree fntype = gimple_call_fntype (stmt);
tree attrs = TYPE_ATTRIBUTES (fntype);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment