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: cpplib: Start moving switch handling to front ends


On Thu, Aug 08, 2002 at 11:25:06AM -0700, Zack Weinberg wrote:
> On Thu, Aug 08, 2002 at 10:37:05AM -0700, Devang Patel wrote:
> > >
> > >It would not be that hard to do the inode/dev check after opening the
> > >file, we call fstat() anyway.  And that'd be a good idea.  (Have to 
> > >figure
> > >out a way to index the include cache on two different keys, though.)
> > 
> > We do have local inode/dev check.  Here is the code snippet...
> [...]
> 
> Yes, I am interested in seeing this cleaned up for submission.  You do
> need to do some work first - for instance, those static variables must
> go.

Oh, one more thing: you need to be using the INO_T_EQ and INO_T_COPY
macros from cppinit.c (move them to system.h).

zw


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