On Fri, Mar 25, 2022 at 01:08:52PM +0100, Tom de Vries wrote: > On 3/25/22 11:04, Tobias Burnus wrote: > > On 25.03.22 10:27, Jakub Jelinek via Gcc-patches wrote: > > > On Fri, Mar 25, 2022 at 10:18:49AM +0100, Tom de Vries wrote: > > > > [...] > > > > Fix this by scaling down the failing test-cases. > > > > Tested on x86_64-linux with nvptx accelerator. > > > > [...] > > > Will defer to Thomas, as it is a purely OpenACC change. > > > > > > One way to do it is > > > /* { dg-additional-options "-DEXPENSIVE" { target > > > run_expensive_tests } } */ > > > and using > > > #ifdef EXPENSIVE > > > [...] > > > > > > For the Fortran test it would mean .F90 extension though... > > > > Alternative, use the "-cpp" flag in 'dg-additional-options', which also > > enables the C-pre-processor pre-processing in gfortran. > > > > Ack, updated patch accordingly.
LGTM, if Thomas doesn't disagree until mid next week, it is ok for trunk. > 2022-03-25 Tom de Vries <tdevr...@suse.de> > > PR libgomp/105042 > * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Reduce > execution time. > * testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: Same. > * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Same. Jakub