This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bad dead code detection ?
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: tm_gccmail at mail dot kloo dot net
- Cc: Daniel Jacobowitz <drow at mvista dot com>, David Jobet <david dot jobet at free dot fr>, gcc at gcc dot gnu dot org
- Date: Sat, 5 Jul 2003 08:31:34 +1000
- Subject: Re: bad dead code detection ?
- References: <20030625152500.GA21735@nevyn.them.org> <Pine.LNX.4.21.0306251158480.30378-100000@mail.kloo.net>
On 25-Jun-2003, tm_gccmail@mail.kloo.net <tm_gccmail@mail.kloo.net> wrote:
> I've run into this problem in other situations. IMHO, we need to find a
> way to support this (inline assembly which changes the control flow)
What's wrong with
void *target;
asm("..." : "=g"(target) : )
goto *target;
?
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.