On Mon, Jan 18, 2021 at 05:56:21PM +0100, Tobias Burnus wrote: > gcc/testsuite/ChangeLog: > > PR fortran/98476 > * gfortran.dg/gomp/map-3.f90: Update expected scan-dump-tree. > * gfortran.dg/gomp/is_device_ptr-1.f90: New test. > * gfortran.dg/gomp/use_device_ptr-2.f90: New test.
I'm getting /usr/src/gcc/gcc/testsuite/gfortran.dg/gomp/is_device_ptr-2.f90:11:36: Error: Non-dummy object 'dd' in IS_DEVICE_PTR clause at (1) compiler exited with status 1 FAIL: gfortran.dg/gomp/is_device_ptr-2.f90 -O (test for errors, line 11) FAIL: gfortran.dg/gomp/is_device_ptr-2.f90 -O (test for excess errors) Excess errors: /usr/src/gcc/gcc/testsuite/gfortran.dg/gomp/is_device_ptr-2.f90:11:36: Error: Non-dummy object 'dd' in IS_DEVICE_PTR clause at (1) failure everywhere, the test expects cc instead of dd to be printed. Do we want it to diagnose both, or should the regexp accept any of them? Jakub