This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bad dead code detection ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]