This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/52678] [4.7 Regression] internal compiler error: in vect_update_ivs_after_vectorizer, at tree-vect-loop-manip.c:1842


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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-23 11:34:37 UTC ---
Author: rguenth
Date: Fri Mar 23 11:34:32 2012
New Revision: 185734

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185734
Log:
2012-03-23  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/52678
    * tree-vectorizer.h (struct _stmt_vec_info): Add
    loop_phi_evolution_part member.
    (STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define.
    * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize
    STMT_VINFO_LOOP_PHI_EVOLUTION_PART.
    * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
    Use the cached evolution part and the PHI nodes value from
    the loop preheader edge instead of re-analyzing the evolution.

    * gfortran.dg/pr52678.f: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr52678.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop-manip.c
    trunk/gcc/tree-vect-loop.c
    trunk/gcc/tree-vectorizer.h


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