8sa1-gcc/libgomp/testsuite
Thomas Schwinge 8a8efad098 [testsuite] Replace fragile 'scan-assembler' with 'scan-offload-rtl' in 'libgomp.oacc-c-c++-common/pr85381*.c'
These test cases use directives similar to:

    /* { dg-additional-options "-save-temps" } */

    /* { dg-final { scan-assembler-times "bar.sync" 2 } } */

This expects to scan the PTX offloading compilation assembler code (not host
code!), expecting that nvptx offloading code assembly is produced after the
host code, and thus overwrites the latter file.  (Yes, that's certainly
ugly/fragile...)

..., and this broke with recent commit 1dedc12d18
"revamp dump and aux output names" plus fix-up commit commit
efc16503ca "handle dumpbase in offloading, adjust
testsuite" (short summary: file names changed), so let's finally make that
robust.

	libgomp/
	* testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: Replace fragile
	'scan-assembler' with 'scan-offload-rtl'.
	* testsuite/libgomp.oacc-c-c++-common/pr85381-3.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/pr85381-5.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/pr85381.c: Likewise.
2020-06-30 17:48:36 +02:00
..
config Update copyright years. 2020-01-01 12:51:42 +01:00
lib handle dumpbase in offloading, adjust testsuite 2020-06-23 06:31:18 -03:00
libgomp.c openmp: Non-rectangular loop support for non-composite worksharing loops and distribute 2020-06-27 12:43:36 +02:00
libgomp.c-c++-common openmp: omp_alloc(0, ...) should return NULL. 2020-05-30 14:02:56 +02:00
libgomp.c++ c++: Change the default dialect to C++17. 2020-06-26 15:29:07 -04:00
libgomp.fortran Add 'dg-do run' to 'libgomp.fortran/use_device_ptr-optional-3.f90' [PR94848] 2020-06-18 00:14:46 +02:00
libgomp.graphite Update copyright years. 2020-01-01 12:51:42 +01:00
libgomp.hsa.c
libgomp.oacc-c [gcn] Use 'radeon' for the environment variable 'ACC_DEVICE_TYPE' 2020-04-29 09:24:07 +02:00
libgomp.oacc-c-c++-common [testsuite] Replace fragile 'scan-assembler' with 'scan-offload-rtl' in 'libgomp.oacc-c-c++-common/pr85381*.c' 2020-06-30 17:48:36 +02:00
libgomp.oacc-c++ [gcn] Use 'radeon' for the environment variable 'ACC_DEVICE_TYPE' 2020-04-29 09:24:07 +02:00
libgomp.oacc-fortran OpenACC/Fortran: permit 'routine' inside PURE 2020-06-16 20:23:58 +02:00
libgomp-site-extra.exp.in libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00
libgomp-test-support.exp.in libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00
Makefile.am libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00
Makefile.in libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00