https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806
Bug ID: 90806 Summary: Warray-bounds-2.c fail on cross-aarch64 on RH6 host Product: gcc Version: 6.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi, I've noticed that c-c++-common/Warray-bounds-2.c passes on a cross-compiler for aarch64 when the host runs RH7, but fails when the host is RH6: FAIL: c-c++-common/Warray-bounds-2.c -Wc++-compat (test for warnings, line 95) FAIL: c-c++-common/Warray-bounds-2.c -Wc++-compat memcpy (test for warnings, line 90) FAIL: c-c++-common/Warray-bounds-2.c -Wc++-compat strncpy (test for warnings, line 205) FAIL: c-c++-common/Warray-bounds-2.c -Wc++-compat strncpy (test for warnings, line 210) In both cases the whole toolchain is built on the host before running the tests, I'm NOT running the same GCC binaries on different hosts. Both builds use the same gmp/mpfr/mpc versions, and bison-3.3.2. What host component can affect this behavior?