https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101746
--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> --- In addition on arm: FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++98 (test for excess errors) Excess errors: /gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:148:3: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 2 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++14 (test for excess errors) Excess errors: /gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:148:3: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 2 bytes into a region of size 0 [-Wstringop-overflow=] /gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:149:3: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 3 bytes into a region of size 2 [-Wstringop-overflow=] FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++17 (test for excess errors) Excess errors: /gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:148:3: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 2 bytes into a region of size 0 [-Wstringop-overflow=] /gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:149:3: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 3 bytes into a region of size 2 [-Wstringop-overflow=] FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++2a (test for excess errors) Excess errors: /gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:148:3: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 2 bytes into a region of size 0 [-Wstringop-overflow=] /gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:149:3: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 3 bytes into a region of size 2 [-Wstringop-overflow=]