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

--- Comment #8 from jwjagersma at gmail dot com ---
Created attachment 51808
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51808&action=edit
basic implementation

Tentative patch.

Produces working code but could use some (many) checks to diagnose incorrect
usage, eg. AS-qualified struct fields, function parameters, non-type template
parameters.  Assigning an AS-qualified pointer to non-qualified is already
diagnosed correctly, but the inverse is not.

I don't know if mangling address-space-qualified member functions would be
covered by ABI version 10, or if the version number needs to be bumped.

Reply via email to