+2015-11-30 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/68592
+ * tree-vect-loop.c (vect_analyze_loop_2): Reset SLP type also
+ on the pattern def sequence.
+
2015-11-30 Nathan Sidwell <nathan@acm.org>
* config/nvptx/nvptx.c (nvptx_name_replacement): Move earlier.
+2015-11-30 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/68592
+ * gfortran.dg/pr68592.f: New testcase.
+
2015-11-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/68534
--- /dev/null
+! PR tree-optimization/68592
+! { dg-do compile }
+! { dg-require-profiling "-fprofile-generate" }
+! { dg-options "-Ofast -fprofile-generate" }
+! { dg-additional-options "-mavx" { target x86_64-*-* i?86-*-* } }
+ PARAMETER (MXCPGA=320,ZERO=0.0)
+ DIMENSION CPNORM(MXCPGA),CDNORM(MXCPGA),
+ * CFNORM(MXCPGA)
+ KTYPIL = KTYPI()
+ DO 84 K=1,NOGTF
+ LMP=LMP+1
+ CFNORM(LMP)=ZERO
+ IF (KTYPIL.EQ.1) LMP=CMPILMP
+ IF (KTYPIL.EQ.2) CPNORM(LMP)=CMPILMP
+ IF (KTYPIL.EQ.3) CDNORM(LMP)=CMPILMP
+ IF (KTYPIL.EQ.4) LMP=CMPILMP
+ IF (KTYPIL.EQ.6) LMP=CMPILMP
+ 84 CONTINUE
+ CALL MMPNOR(CPNORM,CDNORM,CFNORM)
+ END
{
gcc_assert (STMT_SLP_TYPE (stmt_info) == loop_vect);
stmt_info = vinfo_for_stmt (STMT_VINFO_RELATED_STMT (stmt_info));
+ for (gimple_stmt_iterator pi
+ = gsi_start (STMT_VINFO_PATTERN_DEF_SEQ (stmt_info));
+ !gsi_end_p (pi); gsi_next (&pi))
+ {
+ gimple *pstmt = gsi_stmt (pi);
+ STMT_SLP_TYPE (vinfo_for_stmt (pstmt)) = loop_vect;
+ }
}
STMT_SLP_TYPE (stmt_info) = loop_vect;
}