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: Changes to gcc 3.x to invoke an external cpp


Ashif S. Harji wrote:-

> As the changes relate strictly to the command line interface, the testcases 
> would simply invoke gcc/g++ with different combinations involving -zzzz-cpp,
> -save-temps and -traditional.  I am not sure how to specify these types of
> tests.  However, if you provide me with some guidance I can create some
> testcases.

I think something like this is best kept in your local tree; and it
certainly has no reason to be C++ specific.

We have discussed integrating the separate preprocessor cpp0 into the
compiler completely; probably during 3.2 development.  It is also not
inconceivable (I'd like to see it happen) that cpplib, once it is C99
compliant, has the -traditional capability added to it, and then the
separate traditional preprocessor would die too.

In other words, in future it is reasonably likely that --save-temps,
or a separate invocation of CPP, become the only way to get
preprocessed source.

Neil.


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