From 4b86508194463b601000bfa779bce0834247c66c Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 10 May 2022 09:45:16 +0200 Subject: Replace PTR with 'void *' in compiler. gcc/ada/ChangeLog: * gcc-interface/decl.cc (compare_field_bitpos): Use void * instead PTR. * gcc-interface/utils2.cc (compare_elmt_bitpos): Likewise. gcc/ChangeLog: * basic-block.h (struct basic_block_d): Use void * instead PTR. * cfgloop.h: Likewise. * cgraph.h: Likewise. * gengtype-state.cc (state_ident_by_name): Likewise. (record_type): Likewise. (read_state_already_seen_type): Likewise. * gengtype.cc (dump_type): Likewise. (input_file_by_name): Likewise. (main): Likewise. * ggc-common.cc (ggc_cleared_alloc_ptr_array_two_args): Likewise. * ipa-utils.h (struct ipa_dfs_info): Likewise. * plugin.cc (htab_hash_plugin): Likewise. --- gcc/cgraph.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/cgraph.h') diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 8c512b6..4be67e3 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -628,7 +628,7 @@ public: /* File stream where this node is being written to. */ struct lto_file_decl_data * lto_file_data; - PTR GTY ((skip)) aux; + void *GTY ((skip)) aux; /* Comdat group the symbol is in. Can be private if GGC allowed that. */ tree x_comdat_group; @@ -1895,7 +1895,7 @@ public: /* Additional information about an indirect call. Not cleared when an edge becomes direct. */ cgraph_indirect_call_info *indirect_info; - PTR GTY ((skip (""))) aux; + void *GTY ((skip (""))) aux; /* When equal to CIF_OK, inline this call. Otherwise, points to the explanation why function was not inlined. */ enum cgraph_inline_failed_t inline_failed; -- cgit v1.1