]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add missing target directive in OpenMP dispatch Fortran runtime test
authorPaul-Antoine Arras <parras@baylibre.com>
Mon, 13 Jan 2025 11:57:15 +0000 (12:57 +0100)
committerPaul-Antoine Arras <parras@baylibre.com>
Mon, 13 Jan 2025 15:05:14 +0000 (16:05 +0100)
commit655a8a024dd49ddf73e745f3c7486596d68ae3e8
treecd2d8b03ca226b9abd313b51d6b26bd770643424
parent7cd4de65ffb3f34d6ba5af2f9570900fecd7bed0
Add missing target directive in OpenMP dispatch Fortran runtime test

Without the target directive, the test would run on the host but still try to
use device pointers, which causes a segfault.

libgomp/ChangeLog:

* testsuite/libgomp.fortran/dispatch-1.f90: Add missing target
directive.
libgomp/testsuite/libgomp.fortran/dispatch-1.f90