[Bug tree-optimization/54889] [4.8 Regression] Revision 191983 gives compfail for 465.tonto in SPEC CPU 2006 when use -O3 -mavx

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 16 11:20:00 GMT 2012


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-16 11:19:42 UTC ---
Author: jakub
Date: Tue Oct 16 11:19:37 2012
New Revision: 192493

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192493
Log:
    PR tree-optimization/54889
    * tree-vect-stmts.c (vectorizable_load): Add VIEW_CONVERT_EXPR if
    ARRAY_REF newref doesn't have compatible type with vectype element
    type, use vectype element type for MEM_REF.

    * gfortran.dg/pr54889.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr54889.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c



More information about the Gcc-bugs mailing list