------- Additional Comments From bjoern dot m dot haase at web dot de 2005-02-28 21:58 ------- I think the key problem is, that C language permits you to pass pointers to your static const data structures to other functions. Possibly functions that are not located within the same source file. While functions whithin the source file that defines the const data structures could in principle know that these data should be located in program memory and that they should be accessed by using lpm instructions, I do not see how to pass this knowledge to externally defined functions. Only solution in my opinion would be to define different classes of pointers. Yours, Björn.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20243