This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Design issues with multiple IRs
On Thu, 06 Dec 2001, Richard Henderson wrote:
> On Thu, Dec 06, 2001 at 10:11:37PM +0000, Joseph S. Myers wrote:
> > The right fix probably isn't to rename them (especially as the tree-dump
> > files were only just renamed from c-dump) - it's to make enough of
> > functions as trees language-independent that these files no longer include
> > C front end headers or call C front end functions, just using language
> > hooks for anything that genuinely is C/C++-specific.
>
> And indeed I believe that this must be addressed before anything
> from the ast-branch may be merged to mainline. Ideally we'd address
> this on ast-branch *now* rather than continuing to push this off
> into the indefinite future.
>
Absolutely. That's why I wanted to ask for suggestions before I
kept doing changes to the branch. I'm going to start looking at
language hooks. What would be a good place to start looking for
examples?
Diego.