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

            Bug ID: 80643
           Summary: NA->FAIL: gcc.dg/pr79214.c gcc.dg/pr79222.c
                    gcc.dg/pr79223.c
                    gcc.dg/tree-ssa/builtins-folding-gimple-ub.c
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thopre01 at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---
            Target: arm-none-eabi

Hi,

The following testcases regressed or are new FAIL on arm-none-eabi targets
(such as -mcpu=cortex-m0, the last one FAILing only on that specific target) I
believe because of r247622:

NA->FAIL: gcc.dg/pr79214.c
NA->FAIL: gcc.dg/pr79222.c
NA->FAIL: gcc.dg/pr79223.c
PASS->FAIL: gcc.dg/tree-ssa/builtins-folding-gimple-ub.c
PASS->FAIL: c-c++-common/Wsizeof-pointer-memaccess2.c

Note that, unlike PASS->FAIL for gcc.dg/pr78138.c, the FAILs are still there if
I fix the obvious missing colon after the name of the function

The log for the errors is as follows:

NA->FAIL: gcc.dg/pr79214.c

In file included from gcc/gcc/testsuite/gcc.dg/pr79214.c:6:0:^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_bzero':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:25:3: warning: '__builtin_bzero': writing 4
or more bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_memcpy':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:30:3: warning: '__builtin_memcpy': writing 4
or more bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_memmove':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:35:3: warning: '__builtin_memmove': writing
4 or more bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_mempcpy':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:40:3: warning: '__builtin_mempcpy': writing
4 or more bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_memset':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:45:3: warning: '__builtin_memset': writing 4
or more bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_strcat':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:52:3: warning: '__builtin_strcat': writing
between 4 and 5 bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_stpcpy':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:59:10: warning: '__builtin_stpcpy': writing
between 4 and 5 bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_stpncpy':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:66:10: warning: '__builtin_stpncpy': writing
4 or more bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_strcpy':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:73:10: warning: '__builtin_strcpy': writing
between 4 and 5 bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_strncpy':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:80:10: warning: '__builtin_strncpy': writing
4 or more bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79214.c: In function 'test_strncat':^M
gcc/gcc/testsuite/gcc.dg/pr79214.c:87:10: warning: '__builtin_strncat':
specified bound between 4 and 4294967295 exceeds destination size 3
[-Wstringop-overflow=]^M

NA->FAIL: gcc.dg/pr79222.c

gcc/gcc/testsuite/gcc.dg/pr79222.c: In function 'f':^M
gcc/gcc/testsuite/gcc.dg/pr79222.c:12:10: warning: 'stpcpy': writing between 9
and 11 bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M

NA->FAIL: gcc.dg/pr79223.c

gcc/gcc/testsuite/gcc.dg/pr79223.c: In function 'test_memcpy':^M
gcc/gcc/testsuite/gcc.dg/pr79223.c:26:3: warning: 'memcpy': writing 4 or more
bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79223.c: In function 'test_mempcpy':^M
gcc/gcc/testsuite/gcc.dg/pr79223.c:31:3: warning: 'mempcpy': writing 4 or more
bytes into a region of size 3 overflows the destination
[-Wstringop-overflow=]^M
gcc/gcc/testsuite/gcc.dg/pr79223.c: In function 'test_memmove':^M
gcc/gcc/testsuite/gcc.dg/pr79223.c:36:3: warning: 'memmove': writing 4 or more
bytes into a region of size 2 overflows the destination
[-Wstringop-overflow=]^M

PASS->FAIL: gcc.dg/tree-ssa/builtins-folding-gimple-ub.c

gcc/gcc/testsuite/gcc.dg/tree-ssa/builtins-folding-gimple-ub.c:15:7: warning:
'__builtin_memchr' reading 1000 bytes from a region of size 1
[-Wstringop-overflow=]
gcc/gcc/testsuite/gcc.dg/tree-ssa/builtins-folding-gimple-ub.c:17:7: warning:
'__builtin_memchr' reading 1000 bytes from a region of size 12
[-Wstringop-overflow=]

PASS->FAIL: c-c++-common/Wsizeof-pointer-memaccess2.c

Excess errors:
gcc/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=]
gcc/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=]
gcc/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=]
gcc/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=]
gcc/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=]
gcc/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=]
gcc/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=]
gcc/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=]

Reply via email to