This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] Fix GIMPLE_OMP_ATOMIC_{LOAD,STORE} handling
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Diego Novillo <dnovillo at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 28 May 2008 09:54:54 -0400
- Subject: Re: [tuples] Fix GIMPLE_OMP_ATOMIC_{LOAD,STORE} handling
- References: <20080528102341.GN16061@devserv.devel.redhat.com>
On Wed, May 28, 2008 at 06:23:41AM -0400, Jakub Jelinek wrote:
> Hi!
>
> This patch fixes e.g. libgomp.c/atomic-4.c. walk_gimple_op has been
> ignoring GIMPLE_OMP_ATOMIC_{LOAD,STORE} so no replacements of vars happened
> in it. Also, omp lowering needs to regimplify addresses of shared vars in
> GIMPLE_OMP_ATOMIC_LOAD (and that won't be handled by
> gimple_regimplify_operands, as GIMPLE_OMP_ATOMIC_LOAD has num_ops 0).
Cool, thanks.
> Ok for trunk^H^H^H^H^Htuples?
:). Yes.