Commit 14832dcb by Jon Beniston

gcc.dg/strcmpopt_6.c: Add space in array for terminator.

parent 855b4aae
2020-02-18 Jon Beniston <jon@beniston.com>
* gcc.dg/strcmpopt_6.c: Add space in array for terminator.
2020-02-18 Mark Eggleston <markeggleston@gcc.gnu.org>
PR fortran/93714
......
......@@ -33,7 +33,7 @@ test_strlen_lt6_strcmp_abcd (const char *s)
__attribute__ ((noclone, noinline)) int
test_strcpy_strcmp_abc (const char *s)
{
char a[4];
char a[5];
strcpy (a, s);
return strcmp (a, "abc") == 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment