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: Eager newline handling for cpplib [patch]


On Sat, 13 Mar 1999 17:20:35 -0800, Per Bothner wrote:
>> cpplib's performance is now neck and neck with cccp.
>
>Great!  Thanks for adopting cpplib!
>
>How close do you think we are to switching over to using
>cppmain instead of cccp as the default for cpp?

Now it's just missing features: -lint, -dM (possibly other -d
switches), multibyte characters and \u escapes, C89 Amendment 1
digraphs, C9x varargs macros, possibly others.  I have code to do \u
escapes almost everywhere (except in macro names) and multibyte
characters should be pretty easy.  We did agree that we won't do
multibyte on systems that don't have the reentrant functions, right?

The big issue is that the macro-expansion code is a mess, and won't
take well to the addition of digraphs or UCNs.  I think it might be
easier to rewrite from scratch; I have some design ideas but nothing
concrete.

I still don't know if it works on 64-bit platforms.  I think it needs
a lot more testing in general before we trust it to replace cccp.
Making it the default at the beginning of the 1.3 series might be
possible.

zw


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