summaryrefslogtreecommitdiff
path: root/gcc/ipa-hello-world.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-hello-world.c')
-rw-r--r--gcc/ipa-hello-world.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ipa-hello-world.c b/gcc/ipa-hello-world.c
index 20c122f3a16..bf11df45a0d 100644
--- a/gcc/ipa-hello-world.c
+++ b/gcc/ipa-hello-world.c
@@ -512,17 +512,17 @@ get_fields_to_reorg()
return records_and_fields_to_reorg;
}
-static void
+void
print_record_field_set(const record_field_set &to_reorg)
{
- log("I am about to print\n");
+ log_2("I am about to print\n");
for (auto it = to_reorg.cbegin(); it != to_reorg.cend(); ++it)
{
fields record_field_pair = *it;
const_tree record = record_field_pair.first;
const_tree field = record_field_pair.second;
// TODO: Some fields / records might be anonymous
- log("will eliminate %s.%s\n", get_type_name(record), get_field_name(field));
+ log_2("will eliminate %s.%s\n", get_type_name(record), get_field_name(field));
}
}