This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12245] [4.0/4.1/4.2/4.3 regression] Uses lots of memory when compiling large initialized arrays
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2008 15:42:51 -0000
- Subject: [Bug c/12245] [4.0/4.1/4.2/4.3 regression] Uses lots of memory when compiling large initialized arrays
- References: <bug-12245-6931@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #33 from jsm28 at gcc dot gnu dot org 2008-01-17 15:42 -------
This memory use regression has been present since at least 3.3; at least part
of it may be an unavoidable consequence of supporting C99 overriding in
designated initializers; a proper fix would likely involve major changes to the
datastructures for initializers (as RTH notes in comment#25, it's not suitable
for a stage 3 fix); the priority seems to have been P2 from the start rather
than having been set by an RM. In view of these (but especially the likely
unsuitability of a fix for stage 3), downgrading to P4 (the same as the
corresponding C++ bug, bug 14179).
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245