This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bad dead code detection ?
- From: Alexandre Oliva <aoliva at redhat dot com>
- 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: 25 Jun 2003 21:07:18 -0300
- Subject: Re: bad dead code detection ?
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.21.0306251158480.30378-100000@mail.kloo.net>
On Jun 25, 2003, <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) either by disabling most optimizations on a per-function basis.
Perhaps we should accept passing addresses of labels to asm
statements, and then add CFG edges from the asm statements to the
corresponding labels. This even makes sense to me :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer