[Bug target/116433] [AVR] cannot place template class static member variables in EEPROM

2024-08-21 Thread digger1984 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116433 --- Comment #4 from C.F. --- (In reply to Georg-Johann Lay from comment #3) > 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. Out of c

[Bug target/116433] [AVR] cannot place template class static member variables in EEPROM

2024-08-20 Thread digger1984 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116433 --- Comment #2 from C.F. --- (In reply to Andrew Pinski from comment #1) > You can't do that as the template variables are comdat. > > The real fix is to have named address spaces support extended to C++. See PR > 43745. > > *** This bug has b

[Bug c++/116433] New: [AVR] cannot place template class static members in EEPROM

2024-08-20 Thread digger1984 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116433 Bug ID: 116433 Summary: [AVR] cannot place template class static members in EEPROM Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal