[Bug target/20243] static initialization .data redundantly copied to ram prior to use.

schlie at comcast dot net gcc-bugzilla@gcc.gnu.org
Mon Feb 28 14:03:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list