This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: add target_flags to gensupport.c


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]