optimization/8092: cross-jump triggers too often

Bernd Paysan bernd.paysan@gmx.de
Tue Oct 1 07:38:00 GMT 2002


On Monday 30 September 2002 23:20, you wrote:
> Old Synopsis: -fno-gcse doesn't fix computed goto problems in GCC 3.2
> New Synopsis: cross-jump triggers too often
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rth
> State-Changed-When: Mon Sep 30 14:20:33 2002
> State-Changed-Why:
>     You're suipposed to provide a .i file, not make us go fetch one.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gc
>c&pr=8092

Ok, here's engine.i (compressed with bzip2). The relevant function is 
engine. This isn't a complete program, just the part of Gforth that makes 
use of the threaded code, and is sufficiently to frown upon the code GCC 
3.2 generates. To get a runnable program, you need to get the whole thing, 
as it's a lot of non-C stuff. Gforth is an interpreter, and requires an 
image of the interpreted language to run. Stripping things down doesn't 
seem appropriate to me, since this is a bug that can't be reproduced with 
small functions (or at least I failed to do so).

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine.i.bz2
Type: application/x-bzip2
Size: 27224 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20021001/f8cce1d9/attachment.bz2>


More information about the Gcc-bugs mailing list