In 4.2 with -O2 we use 1.5GB compiling the testcase while with 4.1 we only needed 360MB. Using -fno-tree-pre fixes the memory regression. Some recent 4.3 ICEs for me on the testcase (you need -O2 -fpermissive) with /usr/include/boost/regex/v4/basic_regex_creator.hpp:515: internal compiler error: in expand_or_defer_fn, at cp/semantics.c:3220 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. so I have no way to verify if the problem persists in 4.3 at the moment.
Created attachment 13972 [details] testcase
Subject: Re: [4.2 Regression] PRE goes crazy on YQPkgTechnicalDetailsView.cpp Preprocessed source please. I don't make installed versions of the compiler to play with :) On 25 Jul 2007 11:46:35 -0000, rguenth at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org> wrote: > > > ------- Comment #1 from rguenth at gcc dot gnu dot org 2007-07-25 11:46 ------- > Created an attachment (id=13972) > --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13972&action=view) > testcase > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32891 > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. >
Subject: Re: [4.2 Regression] PRE goes crazy on YQPkgTechnicalDetailsView.cpp Also, it requires boost :) On 7/26/07, Daniel Berlin <dberlin@dberlin.org> wrote: > Preprocessed source please. > I don't make installed versions of the compiler to play with :) > > On 25 Jul 2007 11:46:35 -0000, rguenth at gcc dot gnu dot org > <gcc-bugzilla@gcc.gnu.org> wrote: > > > >
Created attachment 13987 [details] testcase Whoops - I have boot headers installed!? Try again.
Created attachment 13988 [details] preprocessed testcase (trunk) Note preprocessed source is incompatible wrt different gcc versions and so useless for a comparison. But especially for you - here's preprocessed source for trunk.
PR 32596 is the ICE.
Change target milestone to 4.2.3, as 4.2.2 has been released.
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.
This will not be fixed on the 4.2 branch. Closing as fixed for 4.3.0.