Hello!

> This patch adds a test to the cmpstrnsi pattern in i386.md so that it
> will bail out (FAIL) if neither of the strings is a constant string. It
> can only work as a proper strncmp if the length is not longer than both
> of the strings. This change is required if expand_builtin_strncmp is
> going to try expansion of strncmp when neither string argument is
> constant.

The patch needs a ChangeLog entry, but otherwise looks good.

Uros.

Reply via email to