Debian Codegraph @

libgomp/testsuite/libgomp.c++/pr119692-1-5.C

raw
1 /* PR119692 "C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading" */
2
3 /* { dg-additional-options -DDEFAULT=defaultmap(to) }
4 Wrong code for offloading execution.
5 { dg-xfail-run-if PR119692 { offload_device } } */
6 /* There are configurations where we 'WARNING: program timed out.' while in
7 'dynamic_cast', see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692#c6>.
8 { dg-timeout 10 { target offload_device } } ... to make sure that happens quickly. */
9 /* { dg-additional-options -fdump-tree-gimple } */
10
11 #include "pr119692-1-1.C"
12
13 /* { dg-final { scan-tree-dump-not {(?n)#pragma omp target .* defaultmap\(to\) map\(to:_ZTI2C2 \[len: [0-9]+\] \[runtime_implicit\]\) map\(to:_ZTI2C1 \[len: [0-9]+\] \[runtime_implicit\]\) map\(to:_ZTV2C1 \[len: [0-9]+\] \[runtime_implicit\]\)$} gimple { xfail *-*-* } } } */