This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15524] [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2004 16:56:01 -0000
- Subject: [Bug tree-optimization/15524] [4.0 Regression] jump threading on trees is slow with switch statements with large # of cases
- References: <20040518194300.15524.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-11-01 16:55 -------
> The effect for the test case of this PR is huge.
> The effect on everything else (for example insn-attrtab) is not
> measurable.
We have had many bug reports from users trying to compile interpret-like code
which is machine generated and is effectively made by giant switch statements.
Improving this PR will definitely make their code go faster.
In fact, if we are going to have a performance testsuite for GCC (as I asked to
the SC lately), I would surely propose to put such a testcase in there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15524