On 05/09/2017 02:01 PM, Rainer Orth wrote:
Andreas Schwab <sch...@suse.de> writes:

I see these regressions on ia64:

FAIL: c-c++-common/Wsizeof-pointer-memaccess2.c -std=gnu++11 (test for
excess errors)
Excess errors:
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:53:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:55:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:53:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:55:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:53:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:55:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:53:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]
/usr/local/gcc/gcc-20170508/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:55:
warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)'
reading 8 bytes from a region of size 1 [-Wstringop-overflow=]

The testcase also regresses on sparc-sun-solaris2.12:

The test (intentionally) does bad things that trigger the new
warning.  The failures were reported last week in bug 80643 along
with a bunch of others.  The latter were also fixed last week but
I overlooked these.  I pruned the new diagnostics this morning
to avoid the excess failures.  The test should pass again on all
targets.  Thank you for your patience.

Martin

Reply via email to