Hi! On 2022-02-24T11:32:53+0100, Tom de Vries via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > [libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c
\o/ Yay for test cases! > --- /dev/null > +++ b/libgomp/testsuite/libgomp.c/declare-variant-3-sm30.c > @@ -0,0 +1,7 @@ > +/* { dg-do run { target { offload_target_nvptx } } } */ > +/* { dg-additional-options "-foffload=-misa=sm_30" } */ > +/* { dg-additional-options "-foffload=-fdump-tree-optimized" } */ Etc. Pushed to master branch commit 3f5a3b7539e066b539e81b901687facdea4e1bac "Fix 'libgomp.c/declare-variant-3-*.c' compilation for configurations where GCN offloading is enabled in addition to nvptx", see attached. Grüße Thomas ----------------- 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