This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Reduce size footprint of empty strings.
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Maxim Kuvyrkov <maxim at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 25 Feb 2010 12:09:46 +0100
- Subject: Re: [PATCH] Reduce size footprint of empty strings.
- References: <4B8656D9.8050303@codesourcery.com>
On Thu, Feb 25, 2010 at 11:54 AM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
> OK for 4.6?
>
> The patch is simple enough to be considered for 4.5, but this is RMs' call.
It may add some compile time if we loop over all string literals.
Perhaps gcc can detect empty strings earlier (during parsing?) and
hijack a flag on STRING_CST nodes?
Ciao!
Steven