https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106858

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-checking,
                   |                            |ice-on-invalid-code

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
But it's rejected now:

t.ii: In member function 'void A::f()':
t.ii:3:34: error: invalid use of non-static member function 'void A::f()'
    3 |     #pragma omp target map(this->f)
      |                            ~~~~~~^
t.ii:2:8: note: declared here
    2 |   void f() {
      |        ^

Reply via email to