This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] walk_gimple_stmt: handle WCE
- From: "Diego Novillo" <dnovillo at google dot com>
- To: "Aldy Hernandez" <aldyh at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Mar 2008 17:27:07 -0400
- Subject: Re: [tuples] walk_gimple_stmt: handle WCE
- References: <20080317205539.GA5633@redhat.com>
On Mon, Mar 17, 2008 at 16:55, Aldy Hernandez <aldyh@redhat.com> wrote:
> The following patch handles walking of GIMPLE_WITH_CLEANUP_EXPRs. It
> looks like a minor oversight when we added WCE tuples.
Thanks.
> Diego, we can also collapse GIMPLE_OMP_FOR, but I'm not sure whether
> it is semantically safe to walk the PRE_BODY before the OMP_BODY. Can I
> walk the PRE_BODY, and fall through for the GIMPLE_OMP_FOR code?
Yes, walking the PRE_BODY first makes perfect sense.
Diego.