[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

irar at il dot ibm dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 22 11:42:00 GMT 2009



------- Comment #30 from irar at il dot ibm dot com  2009-12-22 11:42 -------
We can try to verify the alignment issue by applying the two hacks I am
attaching. 

The first one disables alignment forcing for all the data-refs (and marks the
alignment as unknown). The loops are still vectorizable using peeling -
hopefully, they are also vectorizable on darwin. So, if the results are correct
and the two loops are vectorized, then the problem is in alignment. If the
results are incorrect, the problem is in vectorization.

The second one still forces alignment of the vectorized arrays, but not of the
other arrays. With -fdump-tree-vect-details (or verbosity 9) it prints "force
alignment of <data-ref>", so we can verify that the correct arrays were aligned
(reduce line 11 and temp line 5). So, here, the loops should be vectorized as
before and only the alignment of not vectorized arrays will not be forced.

Dominique, could you please check this?

Thanks,
Ira


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082



More information about the Gcc-bugs mailing list