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]
Other format: [Raw text]

Re: misc patch function.h


Richard,

Richard Henderson wrote:
> 
> On Sun, Dec 30, 2001 at 07:08:18AM +0000, Graham Stott wrote:
> > Would a patch to mkconfig.sh to output these forward defs for
> > these be acceptable?
> 
> Err, I'd have thought the relevant declarations would be in
> cpu-protos.h.  I guess there's variable declarations and such...
> 
The forward defs for struct tags are in cpu-protos.h but the typedefs
aren't because one gets redefinition errors. By putting the forward
defs and typedefs in the *config.h files one is able to *always* use
the typedefs.
 
> Yeah, I guess that'd be ok.
OK I submit a patch shortly one x86 is bacxk to bootstrap land.

> 
> r~

Graham


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