diff options
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r-- | gcc/tree-vrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 4cd2f2a..8b6b91d 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -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); |