This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: double gimplification in C++ FE
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: dnovillo at google dot com, gcc at gcc dot gnu dot org
- Date: Tue, 16 Oct 2007 13:57:51 -0400
- Subject: Re: double gimplification in C++ FE
- References: <20071016150015.GA19007@redhat.com> <4714DFD1.4080200@redhat.com>
> Yes, the gimplifier often makes several passes over the same trees to get
> them completely lowered. cp_gimplify_expr is a subroutine of the
> gimplifier.
Good, I just wanted to make sure I wasn't off my rocker or anything.
> Sure. Another alternative would be to leave the calls to gimplify_stmt (or
> probably change them to gimplify_to_stmt_list) and return GS_ALL_DONE from
> cp_gimplify_expr.
Yes, in a few places it definitely seems better to completely gimplify
the given statement and return GS_ALL_DONE. Will do so when it's
easier.
Heads up.
Thanks.
Aldy