This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize strlen/strcmp/strncmp/strncpy/fputs on ?: orcomma expressions
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 Jun 2003 18:56:00 -0700
- Subject: Re: [PATCH] Optimize strlen/strcmp/strncmp/strncpy/fputs on ?: orcomma expressions
- References: <20030623131916.GY20507@sunsite.ms.mff.cuni.cz>
OK.
Typo "si" should be "is".
I notice that your COND_EXPR support uses recursive calls, but the
COMPOUND_EXPR support does not. Maybe it should? If you have nested
COMPOUND_EXPRs, or a COND_EXPR nested inside a COMPOUND_EXPR, your patch
doesn't help. Not obvious if these cases matter though.