https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Huh from the spec: ``` deviceptr(var-list) ... 2.7.4 deviceptr clause ... In C and C++, the vars in var-list must be pointer variables. ... ``` Notice variables here, t.data is NOT a variable.