OpenMP: Handle cpp_implicit_alias in declare-target discovery (PR96390)
authorTobias Burnus <tobias@codesourcery.com>
Mon, 28 Sep 2020 16:08:05 +0000 (18:08 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 28 Sep 2020 16:08:05 +0000 (18:08 +0200)
commit2a10a2c0689db280ee3a94164504b7196b8370f4
treec1fe6881aa115ca2c0948a481c38c2a206eacddd
parent361e32eeaa8e80c2c3b4879518756cf131e8f938
OpenMP: Handle cpp_implicit_alias in declare-target discovery (PR96390)

gcc/ChangeLog:

PR middle-end/96390
* omp-offload.c (omp_discover_declare_target_tgt_fn_r): Handle
alias nodes.

libgomp/ChangeLog:

PR middle-end/96390
* testsuite/libgomp.c++/pr96390.C: New test.
* testsuite/libgomp.c-c++-common/pr96390.c: New test.
gcc/omp-offload.c
libgomp/testsuite/libgomp.c++/pr96390.C [new file with mode: 0644]
libgomp/testsuite/libgomp.c-c++-common/pr96390.c [new file with mode: 0644]