This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13610] __attribute__((progmem)) allocation problem
- From: "sergey at idknet dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2004 23:30:35 -0000
- Subject: [Bug target/13610] __attribute__((progmem)) allocation problem
- References: <20040107224554.13610.sergey@idknet.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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