diff options
Diffstat (limited to 'gcc/ipa-hello-world.c')
-rw-r--r-- | gcc/ipa-hello-world.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ipa-hello-world.c b/gcc/ipa-hello-world.c index e9322455eca..65a1ba9c6a4 100644 --- a/gcc/ipa-hello-world.c +++ b/gcc/ipa-hello-world.c @@ -306,8 +306,10 @@ static void count_access_for_types_in_call_rhs(gimple *stmt, const record_set &non_escaping_records, field_access_counter &counter) { is_gimple_call_p(stmt); - unsigned args = gimple_call_num_args (stmt); + + + for (unsigned i = 0; i < args; i++) { const_tree arg = gimple_call_arg (stmt, i); |