[Patch] OpenMP: Handle cpp_implicit_alias in declare-target discovery (PR96390)

Tobias Burnus tobias@codesourcery.com
Mon Aug 3 15:37:40 GMT 2020

It turned out that the omp_discover_declare_target_tgt_fn_r
discovered all nodes – but as it tagged the C++ alias nodes
and not the streamed-out nodes, no device function was created
and one got link errors if offloading devices were configured.
(Only with -O0 as otherwise inlining happened.)

(Testcase is based on a sollve_vv testcase which in turn was
based on an LLVM bugreport.)



Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omp-tmpl.diff
Type: text/x-patch
Size: 2488 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200803/710b420c/attachment.bin>

More information about the Gcc-patches mailing list