This is the mail archive of the
mailing list for the GCC project.
Re: autopar reduction and OMP_ATOMIC gimplify/expand changes - final patch
> > There seems to be another error -- paral_data_load is no longer
> > at this point; you need to load the value from paral_data_store.
> Actually the complete code is:
> .paral_data_load.33_52 = &.paral_data_store.32;
> reduction_final.34_53 = .paral_data_load.33_52->reduction.23;
> sum_37 = reduction_initial.24_46 + reduction_final.34_53;
> So .paral_data_load.33_52 is initialized with .paral_data_store.32
OK (I was wondering how it could ever work, otherwise :-). Please
include also the .paral_data_load.33_52 = &.paral_data_store.32 line
in the example, to avoid missunderstanding.