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 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



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