This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to c-commonc.c, preliminary for PR/3865 fix
On Fri, Aug 30, 2002 at 10:55:33PM +0200, Gabriel Dos Reis wrote:
> Zack Weinberg <zack@codesourcery.com> writes:
>
> | On Tue, Aug 27, 2002 at 11:21:31AM +0200, Gabriel Dos Reis wrote:
> | >
> | > As discussed in the thread starting at
> | >
> | > http://gcc.gnu.org/ml/gcc/2002-08/msg01391.html
> | >
> | > I'm about to check-in the following patch, a preliminary for fixing
> | > numerical supports in the C++ runtime system (see for example
> | > PR/3865).
> |
> | 1) It would be more efficient if you turned most of these into
> | CPP-level builtin macros -- the values to define them with would
> | have to be poked into the library at initialization time, but
> | that could be a structure and a single function call.
>
> I'm afraid I don't get what you mean here.
I believe it would be more efficient to handle these macros in
cppmacro.c:_cpp_builtin_macro_text, taking their values from a
structure filled in by c-common.c and passed into cpplib. However,
thinking about it a bit more, this is premature optimization; never
mind.
zw