mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 14:01:04 +08:00
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
This commit is contained in:
parent
e6ad28c368
commit
d89124ed12
@ -1,3 +1,8 @@
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user