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

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> The real fix is to have named address spaces support extended to C++. See
> PR43745.
That's a different issue.  EEPROM handling is too complicated, we don't want
/that/ code in the compiler and support > 300 devices where each one might need
different SFR handling.  When you want EEPROM support, you can just wrap
routines from AVR-LibC.  But that's not possible with PR43745 because there is
no way you can specify that VTABLEs be located in flash *and* to use the
appropriate access instructions.  It isn't possible in GCC either because just
putting VTALBEs in progmem won't fd the trick of using the right accessor
instructions.

Reply via email to