This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Push GENERIC farther into C/C++ front ends.
- From: "Gabriel Dos Reis" <gdr at acm dot org>
- To: "Mark Mitchell" <mark at codesourcery dot com>
- Cc: "Richard Henderson" <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 16 Jun 2004 08:42:39 +0200 (CEST)
- Subject: Re: Push GENERIC farther into C/C++ front ends.
- References: <20040616013032.GA12540@redhat.com> <40CFE8E6.9030907@codesourcery.com>
- Reply-to: gdr at acm dot org
You Wrote Mark Mitchell
> I'm OK with this change -- but I want to make sure that we don't try to
> generate GENERIC stuff too early. I think it should be a fundamental
> design goal that we first generate a representation that is unlowered
> C++, and then transform to GENERIC. The reason that is imperative is
> that people really do want to use G++ for source-analysis kinds of
> applications, and the unlowered form is essential for that.
Strongly agreed.
(For example, the current treatment of constructors in non-template
codes is very annoying).