This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/7344: performance regression on huge case statements
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-gnats at gcc dot gnu dot org, rschiele at uni-mannheim dot de, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Thu, 17 Oct 2002 08:59:26 -0400
- Subject: Re: c/7344: performance regression on huge case statements
What should we do for a test case here? I feel that it should have one,
but the minimal testcase is *inherently* 239K, so I'm not quite sure
what to do here.
I guess ideally the testcase would generate a giant case statement, try
to compile it, and kill the process if it took longer than (x) seconds.
This is completely out of the normal test scheme however.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7344