testsuite: Fix omp-parallel-for-get-min.c and -for-1.c for non-openmp
authorHans-Peter Nilsson <hp@axis.com>
Wed, 8 Mar 2023 04:46:51 +0000 (05:46 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 8 Mar 2023 04:57:47 +0000 (05:57 +0100)
commitdcce01af47b727749585e1f303e48af1f336a499
tree8bf9ff955ed7ec6c5f589adef61f221c4325a978
parentaf320a16dd6c01f89c841864a652745c098a764a
testsuite: Fix omp-parallel-for-get-min.c and -for-1.c for non-openmp

The recently added tests missed checking for "fopenmp" (see
other tests where "-fopenmp" is passed), which makes them
fail on non-openmp systems.

* gcc.dg/analyzer/omp-parallel-for-get-min.c,
gcc.dg/analyzer/omp-parallel-for-1.c: Require effective target fopenmp.
gcc/testsuite/gcc.dg/analyzer/omp-parallel-for-1.c
gcc/testsuite/gcc.dg/analyzer/omp-parallel-for-get-min.c