Use memcpy instead of strncpy to avoid error with -Werror=stringop-truncation.
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 19 Mar 2021 15:57:06 +0000 (15:57 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 19 Mar 2021 15:57:06 +0000 (15:57 +0000)
commit22d1a90a1526a77585333bd6c7d9bfc1a9cbdffa
treee7f14a7787a3c47ac0cfa4dd6cf7221900c78211
parentc3a2bc6daaa2d278cb5f323e2df4b8c2af4198ac
Use memcpy instead of strncpy to avoid error with -Werror=stringop-truncation.

gcc/ChangeLog:

* config/pa/pa.c (import_milli): Use memcpy instead of strncpy.
gcc/config/pa/pa.c