https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420

            Bug ID: 83420
           Summary: S/390 bootstrap failure starting with r255569
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krebbel at gcc dot gnu.org
  Target Milestone: ---

S/390 64 bit currently fails to bootstrap in stage 3. The problem started with
r255569

In file included from /home/andreas/build/../gcc/gcc/system.h:691,
                 from /home/andreas/build/../gcc/gcc/ada/adaint.c:107:
/home/andreas/build/../gcc/gcc/ada/adaint.c: In function ‘char*
__gnat_locate_exec(char*, char*)’:
/home/andreas/build/../gcc/gcc/ada/adaint.c:2890:12: warning: argument 1 null
where non-null expected [-Wnonnull]
    (strlen (exec_name) + strlen (HOST_EXECUTABLE_SUFFIX) + 1);
     ~~~~~~~^~~~~~~~~~~
/home/andreas/build/../gcc/gcc/../include/libiberty.h:722:37: note: in
definition of macro ‘alloca’
 # define alloca(x) __builtin_alloca(x)
                                     ^
In file included from
/home/andreas/build/gcc-8.0.0-64-13122017-build/prev-s390x-ibm-linux-gnu/libstdc++-v3/include/cstring:42,
                 from /home/andreas/build/../gcc/gcc/system.h:235,
                 from /home/andreas/build/../gcc/gcc/ada/adaint.c:107:
/usr/include/string.h:394:15: note: in a call to function ‘size_t strlen(const
char*)’ declared here
 extern size_t strlen (const char *__s)
               ^~~~~~
/home/andreas/build/../gcc/gcc/ada/adaint.c:2892:14: warning: argument 2 null
where non-null expected [-Wnonnull]
       strcpy (full_exec_name, exec_name);
       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/home/andreas/build/gcc-8.0.0-64-13122017-build/prev-s390x-ibm-linux-gnu/libstdc++-v3/include/cstring:42,
                 from /home/andreas/build/../gcc/gcc/system.h:235,
                 from /home/andreas/build/../gcc/gcc/ada/adaint.c:107:
/usr/include/string.h:125:14: note: in a call to function ‘char* strcpy(char*,
const char*)’ declared here
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~

Reply via email to