2017-02-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/79690
* tree-vect-stmts.c (vectorizable_store): Use vector type
built from the DR with address-space.
* gcc.target/i386/pr79690.c: New testcase.
From-SVN: r245751
+2017-02-27 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/79690
+ * tree-vect-stmts.c (vectorizable_store): Use vector type
+ built from the DR with address-space.
+
2017-02-26 Gerald Pfeifer <gerald@pfeifer.com>
* doc/invoke.texi (Optimize Options): Refine the description
+2017-02-27 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/79690
+ * gcc.target/i386/pr79690.c: New testcase.
+
2017-02-26 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/51119
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O3 -msse2 -mno-avx" } */
+
+void fill(unsigned char __seg_gs *arr, unsigned char c, long n)
+{
+ for (long i = 0; i < n; ++i)
+ arr[i] = c;
+}
+
+/* { dg-final { scan-assembler "mov\[au\]p.\[ \t\]\[^,\]+, %gs:" } } */
vect_permute_store_chain(). */
vec_oprnd = result_chain[i];
- data_ref = fold_build2 (MEM_REF, TREE_TYPE (vec_oprnd),
+ data_ref = fold_build2 (MEM_REF, vectype,
dataref_ptr,
dataref_offset
? dataref_offset