This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] PATCH to finish is_gimple_stmt
- From: Jason Merrill <jason at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 Jun 2003 01:37:28 -0400
- Subject: Re: [tree-ssa] PATCH to finish is_gimple_stmt
- References: <Pine.LNX.4.44.0306270120370.14795-100000@ops2.one-point.com>
On Fri, 27 Jun 2003 01:26:52 -0400 (EDT), Jeff Sturm <jsturm@one-point.com> wrote:
> On Thu, 26 Jun 2003, Jason Merrill wrote:
>> + case COMPOUND_EXPR:
>> + /* FIXME should we work harder to make COMPOUND_EXPRs void? */
>
> ISTR from gcj that Bad Things can happen in the gimplifier if a
> COMPOUND_EXPR is non-void, so the frontend now does a little extra work to
> avoid that. I've forgotten the details though.
Hmm, that shouldn't matter for the input to the gimplifier.
I'm talking about after gimplification; normally, a COMPOUND_EXPR ending in
a MODIFY_EXPR would have the same type.
Jason