This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: add target_flags to gensupport.c
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: add target_flags to gensupport.c
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 23 Oct 2001 22:38:05 -0700
- CC: gcc-patches at gcc dot gnu dot org
- References: <10110240217.AA05645@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> This fixes the powerpc build failure.
It can't possibly make sense to be querying target_flags in gen*.
At the least, this needs a large comment explaining how it is correct,
both here and in rtl.c where the use occurs.
> Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
>
> * gensupport.c (target_flags): Add.
>
> *** gensupport.c 2001/10/21 21:32:00 1.21
> --- gensupport.c 2001/10/24 01:37:07
> ***************
> *** 27,30 ****
> --- 27,33 ----
>
>
> + /* In case some macros used by files we include need it, define this here. */
> + int target_flags;
> +
> static struct obstack obstack;
> struct obstack *rtl_obstack = &obstack;
--
- Geoffrey Keating <geoffk@geoffk.org>