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

2016-11-17 Thread Richard Biener
On Wed, Nov 16, 2016 at 8:22 PM, Aaron Sawdey 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 > > * builtins.c (expand_builtin_strncmp): Att

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

2016-11-16 Thread Aaron Sawdey
This patch makes expand_builtin_strncmp attempt to expand via cmpstrnsi even if neither of the string arguments are string constants. 2016-11-16  Aaron Sawdey   * builtins.c (expand_builtin_strncmp): Attempt expansion of strncmp via cmpstrnsi even if neither string is constant. -