This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2 2/2, expand] make expand_builtin_strncmp more general
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Aaron Sawdey <acsawdey at linux dot vnet dot ibm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Kaz Kojima <kkojima at gcc dot gnu dot org>, olegendo at gcc dot gnu dot org, Nick Clifton <nickc at redhat dot com>, Jeff Law <law at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>, David Edelsohn <dje dot gcc at gmail dot com>
- Date: Thu, 17 Nov 2016 11:56:31 +0100
- Subject: Re: [PATCH v2 2/2, expand] make expand_builtin_strncmp more general
- Authentication-results: sourceware.org; auth=none
- References: <1479324149.6279.31.camel@linux.vnet.ibm.com>
On Wed, Nov 16, 2016 at 8:22 PM, Aaron Sawdey
<acsawdey@linux.vnet.ibm.com> wrote:
> This patch makes expand_builtin_strncmp attempt to expand via cmpstrnsi
> even if neither of the string arguments are string constants.
Ok.
Thanks,
Richard.
> 2016-11-16 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
>
> * builtins.c (expand_builtin_strncmp): Attempt expansion of strncmp
> via cmpstrnsi even if neither string is constant.
>
> --
> Aaron Sawdey, Ph.D. acsawdey@linux.vnet.ibm.com
> 050-2/C113 (507) 253-7520 home: 507/263-0782
> IBM Linux Technology Center - PPC Toolchain