On Thu, Jul 9, 2026 at 9:43 AM Arsen Arsenović <[email protected]> wrote:
>
> gcc/ChangeLog:
>
>         * target.def (HOOK_PREFIX): Undefine, before redefining.
> ---
>  gcc/target.def | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gcc/target.def b/gcc/target.def
> index 884fe1bd57e1..a9ccc19c180a 100644
> --- a/gcc/target.def
> +++ b/gcc/target.def
> @@ -29,6 +29,7 @@
>  HOOK_VECTOR (TARGET_INITIALIZER, gcc_target)
>
>  /* Functions that output assembler for the target.  */
> +#undef HOOK_PREFIX
>  #define HOOK_PREFIX "TARGET_ASM_"
>  HOOK_VECTOR (TARGET_ASM_OUT, asm_out)

Hmm, I am trying to figure out why is this needed.
target.def is only included once in target.h.
Are you changing that?
Or is it because you include target.h after c-target.h ?

>
> --
> 2.55.0
>

Reply via email to