From 7604f4351a2c08ea9340bd124570d2c4bb11d3cd Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 20 Jul 2019 16:47:25 +0000 Subject: [PATCH] pa.h (hppa_profile_hook): Delete declaration. * config/pa/pa.h (hppa_profile_hook): Delete declaration. * config/pa/pa-protos.h (hppa_profile_hook): Add declaration. From-SVN: r273628 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa-protos.h | 1 + gcc/config/pa/pa.h | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 537799efa3e..8adea2d7b35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-20 John David Anglin + + * config/pa/pa.h (hppa_profile_hook): Delete declaration. + * config/pa/pa-protos.h (hppa_profile_hook): Add declaration. + 2019-07-20 Jakub Jelinek * tree.def (OMP_LOOP): New tree code. diff --git a/gcc/config/pa/pa-protos.h b/gcc/config/pa/pa-protos.h index a62eeb732dc..6e9e7a71a9e 100644 --- a/gcc/config/pa/pa-protos.h +++ b/gcc/config/pa/pa-protos.h @@ -109,6 +109,7 @@ extern void pa_hpux_asm_output_external (FILE *, tree, const char *); extern HOST_WIDE_INT pa_initial_elimination_offset (int, int); extern HOST_WIDE_INT pa_function_arg_size (machine_mode, const_tree); extern void pa_output_function_label (FILE *); +extern void hppa_profile_hook (int); extern const int pa_magic_milli[]; diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 561efa51882..f38a6dce9f9 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -666,7 +666,6 @@ struct hppa_args {int words, nargs_prototype, incoming, indirect; }; (*targetm.asm_out.internal_label) (FILE, FUNC_BEGIN_PROLOG_LABEL, LABEL) #define PROFILE_HOOK(label_no) hppa_profile_hook (label_no) -void hppa_profile_hook (int label_no); /* The profile counter if emitted must come before the prologue. */ #define PROFILE_BEFORE_PROLOGUE 1 -- 2.30.2