size_t)' destination unchanged after copying no bytes
gcc/ChangeLog:
PR bootstrap/82948
* prefic.c (translate_name): Replace strncpy with memcpy to
avoid -Wstringop-truncation.
From-SVN: r254658
+2017-11-11 Martin Sebor <msebor@redhat.com>
+
+ PR bootstrap/82948
+ * prefic.c (translate_name): Replace strncpy with memcpy to
+ avoid -Wstringop-truncation.
+
2017-11-10 Jan Hubicka <hubicka@ucw.cz>
* tree-ssa-loop-im.c (execute_sm_if_changed): Do not compute freq_sum.
;
key = (char *) alloca (keylen + 1);
- strncpy (key, &name[1], keylen);
+ memcpy (key, &name[1], keylen);
key[keylen] = 0;
if (code == '@')