This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bad dead code detection ?
- From: <tm_gccmail at mail dot kloo dot net>
- To: Richard Henderson <rth at redhat dot com>
- 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: Wed, 25 Jun 2003 14:57:07 -0700 (PDT)
- Subject: Re: bad dead code detection ?
On Wed, 25 Jun 2003, Richard Henderson wrote:
> On Wed, Jun 25, 2003 at 12:04:25PM -0700, 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.
>
> No. Absolutely not.
>
> If you're getting that tricky, just write the whole damned thing
> in assembly language.
>
>
> r~
I would say the same thing, except:
1) It's not writing new code. It's porting new code.
2) Unfortunately, very few people are competent in assembly anymore, so
this creates maintenance problems.
Toshi