This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39326] Segmentation fault with -O1, out of memory with -O2
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2009 17:00:54 -0000
- Subject: [Bug c/39326] Segmentation fault with -O1, out of memory with -O2
- References: <bug-39326-13529@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from rguenth at gcc dot gnu dot org 2009-03-02 17:00 -------
And for trunk we have
combiner : 24.76 (15%) usr 0.80 (23%) sys 25.76 (16%) wall
448053 kB (82%) ggc
integrated RA : 68.41 (43%) usr 1.06 (31%) sys 70.23 (42%) wall
3197 kB ( 1%) ggc
as the worst offenders at -O1. I notice that with --enable-checking GC
params the top memory usage is way lower than without, so something odd
happens here as well (maybe a ggc_free wrapped inside ENABLE_CHECKING?).
Most memory is used by combine and IRA.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39326