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 04:24:27 -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 04:24 -------
(In reply to comment #3)
> *** This bug has been marked as a duplicate of 18145 ***
sorry, no.
- that bug says don't copy when there's no data to copy.
- this bug says, don't static read-only data even if present, as it should be read
read-only data should not be copied to read-write memory to be then only copied
again; as little as a few KB of such data could effectivly consume all of RAM relegating
the entire RAM useless.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20243