This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ast-optimizer-branch] simplifying C++
On Mon, 17 Jun 2002, Jason Merrill wrote:
> >>>>> "Diego" == Diego Novillo <dnovillo@redhat.com> writes:
>
> > On Mon, 17 Jun 2002, Jason Merrill wrote:
> >> > Not pretty, but that's how we're dealing with statement expressions
> >> > now. Ideally, we should inline expand all these constructs.
> >>
> >> What do you mean? What would you expand inline?
> >>
> > I meant removing the block created by __with_cleanup().
>
> You mean expanding the cleanup everywhere it would appear instead of
> wrapping it around the affected block? That doesn't work for EH.
>
Ah, OK. That was my next question: what language features should
we add to SIMPLE? In its original form, SIMPLE can represent
most procedural languages, but we may need new constructs for
other types of languages.
The McCAT folks already went through these pains when they
designed Jimple, the Java version of SIMPLE
(http://www.sable.mcgill.ca/soot/doc/soot/jimple/package-summary.html)
I would very much like to minimize the extensions we make,
though. But I don't know enough about Java or C++ to have a
useful opinion.
Diego.