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]

Re: Is it possible to have non-optimised block within a source



Joe Buck wrote:
> Janis Johnson wrote:
> [ hook for a jump-out jump-in patch mode ]
> > > Does this sound like something that could be done, and something that
> > > would be reasonable to add to GCC?
>
> Mark Mitchell writes:
> > I don't think the compiler should be in this business, FWIW.
>
> Agreed.  Yes, someone could whack it in, but from that point on all gcc
> developers will have to work hard to keep it working as the optimizer is
> improved.  Each compiler pass would have to be changed to recognize the
> hook and leave it in place, while still optimizing as much as possible in
> its presence.
>
> This is a distraction from the job of producing the best possible
> compiler, for the benefit of only a few specialized users.

Thanks, I see the error of my ways.  In the meantime, though, we got some
good ideas about possible solutions using existing GCC functionality.

Janis


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