Skip to content
Snippets Groups Projects
Commit 200531d5 authored by Andrew Pinski's avatar Andrew Pinski
Browse files

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: default avatarAndrew Pinski <quic_apinski@quicinc.com>
parent 7dc868cb
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ int main ()
}
/* check results: */
#pragma GCC novector
for (i = 1; i <= N; i++)
{
if (ia[i] != 5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment