https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90615
Bug ID: 90615 Summary: [10 regression] several vector test cases fail starting with r271553 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- I think a few tests got missed in r271553 FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-76a.c scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.target/powerpc/vsx-vectorize-1.c scan-tree-dump-times vect "Alignment of access forced using versioning" 1 FAIL: gcc.target/powerpc/vsx-vectorize-1.c scan-tree-dump-times vect "vectorized 1 loops" 1 one example: Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-common -maltivec -fdump-tree-vect-details -lm -o ./costmodel-vect-31b.exe (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O2 -ftree-vectorize -fvect-cost-model=dynamic -fno-common -maltivec -fdump-tree-vect-details -lm -o ./costmodel-vect-31b.exe PASS: gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c (test for excess errors) Setting LD_LIBRARY_PATH to :/home/seurer/gcc/build/gcc-test2/gcc::/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64 Execution timeout is: 300 spawn [open ...] PASS: gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c execution test gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c: pattern found 0 times FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-31b.c scan-tree-dump-times vect "vectorized 1 loops" 1 testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/costmodel/ppc/ppc-costmodel-vect.exp completed in 0 seconds === gcc Summary === # of expected passes 2 # of unexpected failures 1 and also FAIL: gcc.dg/pr53265.c (test for excess errors) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O2 -Wall -S -o pr53265.s /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn1': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:16:14: warning: iteration 64 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:15:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn2': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:27:22: warning: iteration 112 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:26:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn3': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:40:16: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:38:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn4': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:55:9: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:53:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn5': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:69:24: warning: iteration 950 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:68:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn6': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:80:13: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:79:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn7': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:89:32: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:89:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn10': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:139:11: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:138:3: note: within this loop /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c: In function 'fn3': cc1: warning: '__builtin_memcpy' forming offset [17, 24] is out of the bounds [0, 16] of object 'c' with type 'unsigned char[16]' [-Warray-bounds] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:34:31: note: 'c' declared here cc1: warning: '__builtin_memcpy' forming offset [17, 24] is out of the bounds [0, 16] of object 'a' with type 'unsigned char[16]' [-Warray-bounds] /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/pr53265.c:34:17: note: 'a' declared here PASS: gcc.dg/pr53265.c (test for warnings, line 15) PASS: gcc.dg/pr53265.c (test for warnings, line 16) PASS: gcc.dg/pr53265.c (test for warnings, line 26) PASS: gcc.dg/pr53265.c (test for warnings, line 27) PASS: gcc.dg/pr53265.c (test for warnings, line 38) PASS: gcc.dg/pr53265.c (test for warnings, line 40) PASS: gcc.dg/pr53265.c (test for warnings, line 53) PASS: gcc.dg/pr53265.c (test for warnings, line 55) PASS: gcc.dg/pr53265.c (test for warnings, line 68) PASS: gcc.dg/pr53265.c (test for warnings, line 69) PASS: gcc.dg/pr53265.c (test for warnings, line 79) PASS: gcc.dg/pr53265.c (test for warnings, line 80) PASS: gcc.dg/pr53265.c (test for warnings, line 89) PASS: gcc.dg/pr53265.c (test for warnings, line 89) PASS: gcc.dg/pr53265.c (test for warnings, line 138) PASS: gcc.dg/pr53265.c (test for warnings, line 139) PASS: gcc.dg/pr53265.c (test for bogus messages, line 149) FAIL: gcc.dg/pr53265.c (test for excess errors) Excess errors: cc1: warning: '__builtin_memcpy' forming offset [17, 24] is out of the bounds [0, 16] of object 'c' with type 'unsigned char[16]' [-Warray-bounds] cc1: warning: '__builtin_memcpy' forming offset [17, 24] is out of the bounds [0, 16] of object 'a' with type 'unsigned char[16]' [-Warray-bounds]