This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Handle read-only vars initialized to string literals in c_strlen
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: s dot bosscher at student dot tudelft dot nl
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Sep 04 13:38:33 EDT
- Subject: Re: [PATCH] Handle read-only vars initialized to string literals in c_strlen
On Monday 13 September 2004 18:16, Jakub Jelinek wrote:
> * expr.c (string_constant): Handle also read-only variables
> initialized to string literals.
Please don't add this here, add it in the tree optimizers instead.
Why? It seems to me that the lower-level we do such a check, the better.