[Bug other/85888] New: New test case c-c++-common/attr-nonstring-6.c from r260541 fails with excess errors

seurer at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 23 13:36:00 GMT 2018


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

            Bug ID: 85888
           Summary: New test case c-c++-common/attr-nonstring-6.c from
                    r260541 fails with excess errors
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

I saw this on powerpc64 both LE and BE but I don't think it is target system
specific.


FAIL: c-c++-common/attr-nonstring-6.c  -Wc++-compat  (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:103:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:104:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:105:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:106:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:107:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:109:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:110:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:111:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/attr-nonstring-6.c:112:3:
warning: 'strncmp' argument 1 declared attribute 'nonstring' is smaller than
the specified bound -9223372036854775808 [-Wstringop-overflow=]


More information about the Gcc-bugs mailing list