]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix gen-vect-26.c testcase after loops with multiple exits [PR113167]
authorAndrew Pinski <quic_apinski@quicinc.com>
Fri, 29 Dec 2023 04:26:01 +0000 (20:26 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Fri, 29 Dec 2023 04:49:47 +0000 (20:49 -0800)
commit200531d5b9fb99eca2b0d6b8d1e42d176413225f
treefff05518f9ef9ed837c2ef8e600575c5d950ca53
parent7dc868cb31c41d6d237d01be67469c2e9576c99d
Fix gen-vect-26.c testcase after loops with multiple exits [PR113167]

This fixes the gcc.dg/tree-ssa/gen-vect-26.c testcase by adding
`#pragma GCC novector` in front of the loop that is doing the checking
of the result. We only want to test the first loop to see if it can be
vectorize.

Committed as obvious after testing on x86_64-linux-gnu with -m32.

gcc/testsuite/ChangeLog:

PR testsuite/113167
* gcc.dg/tree-ssa/gen-vect-26.c: Mark the test/check loop
as novector.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/gcc.dg/tree-ssa/gen-vect-26.c