This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20243] static initialization .data redundantly copied to ram prior to use.
- From: "schlie at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2005 13:55:51 -0000
- Subject: [Bug target/20243] static initialization .data redundantly copied to ram prior to use.
- References: <20050228040434.20243.schlie@comcast.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schlie at comcast dot net 2005-02-28 13:55 -------
(In reply to comment #10)
> (In reply to comment #9)
> > IMHO, solution of this issue would require a language different from C that is
> > able to handle different classes of pointers.
>
> Was hoping that any designated read access to data stored in the .data segement would be
> suffecient to indicate to the back-end the nessesity access is via the restricted lpm z-pointer
> instruction (with out having to get fancier than that).
which with a little luck would be uniquely identified as being accessed via a (static const xxxxx *) ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20243