https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98771
Bug ID: 98771 Summary: [10/11 regression] gcc.dg/strcmpopt_8.c FAILs Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: msebor at gcc dot gnu.org Target Milestone: --- Target: i386-pc-solaris2.11, sparc-sun-solaris2.11 Created attachment 50012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50012&action=edit i386-pc-solaris2.11 64-bit strcmpopt_8.c.033t.forwprop1 As originally reported in PR tree-optimization/92683, the gcc.dg/strcmpopt_8.c test still FAILs on both Solaris/x86 and SPARC: * on x86 with -m64 only: FAIL: gcc.dg/strcmpopt_8.c scan-tree-dump-not forwprop1 "strncmp" * on sparc with -m64 only: FAIL: gcc.dg/strcmpopt_8.c (test for excess errors) Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/strcmpopt_8.c:22:15: warning: '__builtin_strncmp' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/strcmpopt_8.c:22:15: warning: '__builtin_strncmp' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/strcmpopt_8.c:22:15: warning: '__builtin_strncmp' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/strcmpopt_8.c:22:15: warning: '__builtin_strncmp' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/strcmpopt_8.c:22:15: warning: '__builtin_strncmp' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/strcmpopt_8.c:22:15: warning: '__builtin_strncmp' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/strcmpopt_8.c:22:15: warning: '__builtin_strncmp' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] FAIL: gcc.dg/strcmpopt_8.c scan-tree-dump-not forwprop1 "strncmp" This only happens with 32-bit-default compilers, the corresponding 64-bit-default compilers don't show the failure. I'm attaching both the amd64 and sparcv9 dumps (which are effectively identical).