This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/6798: [3.2/3.3/3.4 regression] very long compile time with large case-statement
- From: bangerth at dealii dot org
- To: eggert at twinsun dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 15 Jan 2003 16:27:40 -0000
- Subject: Re: optimization/6798: [3.2/3.3/3.4 regression] very long compile time with large case-statement
- Reply-to: bangerth at dealii dot org, eggert at twinsun dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: cc1 -O2 in semi-infinite loop on sparc
New Synopsis: [3.2/3.3/3.4 regression] very long compile time with large case-statement
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Jan 15 08:27:38 2003
State-Changed-Why:
I can also reproduce this on a Linux machine. The testcase
is basically an enormous yacc-generated switch-statement,
with about 2000 cases and a lot of cross-jumping. I killed
the compilation after about 10 minutes.
The code compiled in just 24 seconds with 2.95 even with
-O2, so this is a regression.
I attach a significantly cleaned up testcase as "testcase.i".
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6798