aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-04-19 13:51:17 +0000
committerJim Meyering <meyering@gcc.gnu.org>2012-04-19 13:51:17 +0000
commit75be0217a8b024cc146748db6894ff9e060d7ac9 (patch)
tree1ba4033c565f62c67056f57f928c6283b1ab75f0 /gcc/print-rtl.c
parentf68c04877cba9e6f2b77cfb8ba564e37c4d8a254 (diff)
downloadgcc-75be0217a8b024cc146748db6894ff9e060d7ac9.zip
gcc-75be0217a8b024cc146748db6894ff9e060d7ac9.tar.gz
gcc-75be0217a8b024cc146748db6894ff9e060d7ac9.tar.bz2
genmodes: remove misleading use of strncpy
* genmodes.c (make_complex_modes): Avoid unnecessary use of strncpy. We verified above that the string(including trailing NUL) fits in buf, so just use memcpy. From-SVN: r186596
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions