This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tuples] Fix GIMPLE_OMP_ATOMIC_{LOAD,STORE} handling


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]