summaryrefslogtreecommitdiff
path: root/gcc/ipa-hello-world.c
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-04-20 13:14:30 +0200
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-05-14 14:45:52 +0200
commit0c5ae46660f9c035ca67de5b1d9c1d45d5da7211 (patch)
treefbd81fe62ec9f3bfb247d28250fdba9fb2be9ae4 /gcc/ipa-hello-world.c
parentb6207e44c99033096c3ff1f7ba6629c2d17271b1 (diff)
blacklisting memset
Diffstat (limited to 'gcc/ipa-hello-world.c')
-rw-r--r--gcc/ipa-hello-world.c4
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);