Bug 32598 - [4.3 Regression]: 27_io/basic_stringbuf/setbuf/wchar_t/4.cc needs more than 6GB memory to compile
Summary: [4.3 Regression]: 27_io/basic_stringbuf/setbuf/wchar_t/4.cc needs more than 6...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: 4.3.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code, memory-hog
Depends on:
Blocks:
 
Reported: 2007-07-02 22:36 UTC by H.J. Lu
Modified: 2007-07-08 10:29 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2007-07-02 23:37:59


Attachments
testcase (unreduced) (2.97 KB, text/plain)
2007-07-03 14:07 UTC, Richard Biener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2007-07-02 22:36:18 UTC
Gcc 4.3 revision 126234 needs more than 6GB to compile
27_io/basic_stringbuf/setbuf/wchar_t/4.cc in libstdc++.
It happens on Linux/ia32, Linux/ia64 and Linux/x86-64.
Revision 126166 is OK.
Comment 1 Paolo Carlini 2007-07-02 23:37:46 UTC
I can confirm this. And .../setbuf/char/4.cc is almost as bad.
Comment 2 Richard Biener 2007-07-03 14:07:33 UTC
Created attachment 13836 [details]
testcase (unreduced)

-O -fno-tree-fre is fine, anything above is borked and eats (slowly) all mem.
Comment 3 Richard Biener 2007-07-03 14:15:19 UTC
Fixed with r126252.
Comment 4 Joey Ye 2007-07-04 01:17:25 UTC
126198 brought the regression