c++/7441: large compilation time regression with string array initialization

bangerth@dealii.org bangerth@dealii.org
Mon Oct 28 13:55:00 GMT 2002


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



More information about the Gcc-bugs mailing list