[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #4 from Andreas Krebbel --- Closing
[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #3 from Andreas Krebbel --- Fixed
[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Mon Dec 18 11:31:06 2017 New Revision: 255777 URL: https://gcc.gnu.org/viewcvs?rev=255777&root=gcc&view=rev Log: S/390: PR83420: Improve hotpatch option parsing. With the attached patch we get rid of the following build failure: /home/andreas/build/../gcc/gcc/config/s390/s390.c: In function ‘void s390_option_override()’: /home/andreas/build/../gcc/gcc/config/s390/s390.c:15361:16: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 256 equals destination size [-Werror=stringop-truncation] strncpy (s, opt->arg, 256); ^~ gcc/ChangeLog: 2017-12-18 Andreas Krebbel PR target/83420 * config/s390/s390.c (s390_option_override): Avoid strncpy. Modified: trunk/gcc/ChangeLog trunk/gcc/config/s390/s390.c
[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2017-12-14 Assignee|unassigned at gcc dot gnu.org |krebbel at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andreas Krebbel --- The error messages I've posted were not complete. The important is that one: /home/andreas/build/../gcc/gcc/config/s390/s390.c: In function ‘void s390_option_override()’: /home/andreas/build/../gcc/gcc/config/s390/s390.c:15361:16: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 256 equals destination size [-Werror=stringop-truncation] strncpy (s, opt->arg, 256); ^~ And this should be easy to fix. Mine