This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa mudflap] C++ front-end hooks
On 13-Jan-2003, Frank Ch. Eigler <fche@redhat.com> wrote:
> jason wrote:
>
> > Why can't the __mf_register stuff be handled in language-independent code?
> > You should be able to write the function directly in GENERIC.
>
> I assume you're talking about the *_finish_file related calls.
> These __mf_register calls, generated for all interesting static objects,
> could indeed be written in GENERIC instead, but that wouldn't quite be
> enough. These functions need to be called from a global initialization
> context and not as an in-place modification of functions being compiled.
> Compiling new entirely synthesized routines is outside the scope of the
> GENERIC framework,
Why?
> and involves partially cloning the behavior of an
> individual front-end. So, I moved that code into the new
> front-end-specific files.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.