On 9/22/20 9:36 AM, Jakub Jelinek wrote: > On Tue, Sep 22, 2020 at 09:11:48AM +0200, Tobias Burnus wrote: >>> Okay – or do we find more issues? > I'm afraid so. We will slowly converge, hopefully ;-) > Consider: > int v; > #pragma omp declare target to (v) > void foo (void) { v++; } > void bar (void) __attribute__((alias ("foo"))); > #pragma omp declare target to (bar) > void baz (void) __attribute__((alias ("foo"))); > void qux (void) { etc. – I did not convert this into a testcase. Should I? Do you spot something more? Or is it now fine? (It passes on gcn + xfailed on nvptx.) Tobias ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter