This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is it possible to have non-optimised block within a source
- To: mark at codesourcery dot com (Mark Mitchell)
- Subject: Re: Is it possible to have non-optimised block within a source
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Wed, 27 Jun 2001 11:18:01 -0700 (PDT)
- Cc: janis at us dot ibm dot com (Janis Johnson), richardj_moore at uk dot ibm dot com (Richard J Moore), gcc at gcc dot gnu dot org (gcc at gcc dot gnu dot org), mrs at windriver dot com (mrs at windriver dot com)
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.