Bug 16115, C++ invisible references

Gabriel Dos Reis gdr@acm.org
Wed Jul 7 21:58:00 GMT 2004


Mark Mitchell:
> Richard Henderson wrote:
>>Indeed, if you can get the representation of normal functions
>>closer to what you need for template functions, then things
>>might well be cleaner all through the front end.
>>
>>
> Indeed.  My longer-term roadmap would be to gradually move the
> transformations that we already do into the high-level->GENERIC
> conversion phase.  For example, I'd postpone vtable generation and
> lowering of virtual function calls until that phase.  Another win of
> this approach is better diagnostics; right now, our expression-printers
> will sometimes print out gobbledygook about vtables when trying to show
> a virtual function call, for example.

I strongly second this move.

-- Gaby



More information about the Gcc-patches mailing list