bad dead code detection ?
tm_gccmail@mail.kloo.net
tm_gccmail@mail.kloo.net
Thu Jun 26 01:00:00 GMT 2003
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
More information about the Gcc
mailing list