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:

32-bit:

FAIL: c-c++-common/Wsizeof-pointer-memaccess2.c  -Wc++-compat  (test for excess 
errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 1 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 1 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 1 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 4 bytes from a region of size 1 
[-Wstringop-overflow=]

64-bit:

Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 0 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 1 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 1 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:11:30:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 1 
[-Wstringop-overflow=]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c:12:31:
 warning: '__builtin_memcpy' reading 8 bytes from a region of size 1 
[-Wstringop-overflow=]

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to