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. Thanks, - Tom