On Thu, Jun 09, 2022 at 12:47:17PM +0200, Tobias Burnus wrote:
> Another minor step to getting reverse offloading to work ...
> 
> OK for mainline?
> 
> Tobias
> 
> PS: As attached, this patch is a stand-alone patch, which fails
> due to the requires sorry (see dg-prune-output).
> With the requires patch, it should fail with the next sorry:
>   'ancestor' not yet supported"
> (For Fortran, it currently fails already in the FE as the
> sorry prevents generating tree code. Thus, there cannot be
> a Fortran check until the requires patch is in.)
> -----------------
> Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 
> München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas 
> Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht 
> München, HRB 106955

> OpenMP: Handle ancestor:1 with discover_declare_target
> 
> gcc/
>       * omp-offload.cc (omp_discover_declare_target_tgt_fn_r,
>       omp_discover_declare_target_fn_r): Don't walk reverse-offload
>       target regions.
> 
> gcc/testsuite/
>       * c-c++-common/gomp/reverse-offload-1.c: New.

LGTM, thanks.

        Jakub

Reply via email to