[Bug target/13610] __attribute__((progmem)) allocation problem
sergey at idknet dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 12 23:30:00 GMT 2004
------- Additional Comments From sergey at idknet dot com 2004-02-12 23:30 -------
(In reply to comment #2)
> AFAIK, this is not a bug.
>
> This is how it has historically worked.
Ok, but afaik, on x86 platform, compiler will place both array and strings into
same segment. Why this can't be on avr? I'm not sure how the things works
exactly, but it seems that this not depends on avr-libc. Link You shown explains
how to make this work correctly just because this not works as expected.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13610
More information about the Gcc-bugs
mailing list