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: Joe Buck <jbuck at synopsys dot COM>
- Subject: Re: Is it possible to have non-optimised block within a source
- From: "Janis Johnson" <janis at us dot ibm dot com>
- Date: Thu, 28 Jun 2001 09:46:44 -0700
- Cc: mark at codesourcery dot com (Mark Mitchell), "Richard J Moore" <richardj_moore at uk dot ibm dot com>, gcc at gcc dot gnu dot org (gcc at gcc dot gnu dot org), mrs at windriver dot com (mrs at windriver dot com)
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