This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix for building with gcc-2.3.3
- To: law at cygnus dot com
- Subject: Re: fix for building with gcc-2.3.3
- From: Zack Weinberg <zack at bitmover dot com>
- Date: Mon, 04 Oct 1999 08:57:14 -0700
- cc: gcc-patches at gcc dot gnu dot org
- References: <28427.938995870@upchuck.cygnus.com>
Jeffrey A Law wrote:
>
> Someone tried to use gcc-2.3.3 to bootstrap gcc-2.95. It didn't
> work because the initializer syntax for is_idchar isn't groked by
> gcc-2.3.3.
>
> I have *serious* reservations about the next for this code to be gcc
> version dependent. I don't see that the benefit of static
> initialization in this case is worth the headaches it involves.
> But for now I'm not going to zap the gcc special initialization.
It's done that way because the code in a couple of critical paths
(read_and_prescan, cpp_get_token) improves significantly if those
tables are constant.
zw