public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7441: large compilation time regression with string array initialization
@ 2002-10-28 13:40 bangerth
0 siblings, 0 replies; only message in thread
From: bangerth @ 2002-10-28 13:40 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, tsv
Old Synopsis: compilation by g++ take long time
New Synopsis: large compilation time regression with string array initialization
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Oct 28 13:40:39 2002
State-Changed-Why:
I can confirm this. Compile times go through the roof from
1.5 sec (gcc 2.95) to about 3 minutes (3.2.1 and CVS). The
underlying problem is initialization of an insanely large
array of string constants.
This is a C++ front end problem, since if the file is
compiled with the C front end, compile times are negligible.
Note that for the problem, one needs not even specify
optimization flags. Thus, there is no way to avoid it...
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7441
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-28 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-28 13:40 c++/7441: large compilation time regression with string array initialization bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).