Bug 32891 - [4.2 Regression] PRE goes crazy on YQPkgTechnicalDetailsView.cpp
Summary: [4.2 Regression] PRE goes crazy on YQPkgTechnicalDetailsView.cpp
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.2.1
: P2 normal
Target Milestone: 4.3.0
Assignee: Not yet assigned to anyone
URL:
Keywords: memory-hog
Depends on: 32596
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-25 11:46 UTC by Richard Biener
Modified: 2008-03-16 17:32 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work: 4.3.0
Known to fail: 4.2.4
Last reconfirmed:


Attachments
testcase (98.96 KB, application/octet-stream)
2007-07-25 11:46 UTC, Richard Biener
Details
testcase (172.04 KB, application/octet-stream)
2007-07-26 19:52 UTC, Richard Biener
Details
preprocessed testcase (trunk) (277.89 KB, application/octet-stream)
2007-07-26 20:21 UTC, Richard Biener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Biener 2007-07-25 11:46:05 UTC
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.
Comment 1 Richard Biener 2007-07-25 11:46:35 UTC
Created attachment 13972 [details]
testcase
Comment 2 Daniel Berlin 2007-07-26 18:21:31 UTC
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.
>
Comment 3 Daniel Berlin 2007-07-26 18:22:04 UTC
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:
> >
> >
Comment 4 Richard Biener 2007-07-26 19:52:47 UTC
Created attachment 13987 [details]
testcase

Whoops - I have boot headers installed!?  Try again.
Comment 5 Richard Biener 2007-07-26 20:21:26 UTC
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.
Comment 6 Andrew Pinski 2007-07-26 21:19:52 UTC
PR 32596 is the ICE.
Comment 7 Mark Mitchell 2007-10-09 19:21:34 UTC
Change target milestone to 4.2.3, as 4.2.2 has been released.
Comment 8 Joseph S. Myers 2008-02-01 16:54:39 UTC
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.
Comment 9 Richard Biener 2008-03-16 17:32:47 UTC
This will not be fixed on the 4.2 branch.  Closing as fixed for 4.3.0.