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 handling of OpenMP shared variables


On Wed, May 28, 2008 at 05:14:26PM -0400, Jakub Jelinek wrote:
> Hi!
> 
> lower_omp_1 needs to regimplify anything containing VAR_DECLs with
> DECL_VALUE_EXPR (primarily shared vars being replaced with
> .omp_data->var).  gimple_regimplify_operands doesn't help, because
> the gimple operands already satisfy their predicates.  The following
> patch fixes it by calling gimple_expr unconditionally on the operands
> if we found some VAR_DECL with DECL_HAS_VALUE_EXPR_P among the operands.

Woah, I see tons of new ICE's with this patch.  Did you test gomp.exp?

e.g, this, among others fails:

gcc.dg/gomp/pr34610.c

We used to have about 6 failures in gomp.exp.  We now have 40.
Aldy


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