[PATCH v2 2/2, expand] make expand_builtin_strncmp more general

Richard Biener richard.guenther@gmail.com
Thu Nov 17 10:56:00 GMT 2016


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



More information about the Gcc-patches mailing list