+2008-05-15 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/34330
+ * tree-ssa-alias.c (get_smt_for): Only assert that accesses
+ through the pointer will alias the SMT.
+
2008-05-14 Andreas Tobler <a.tobler@schweiz.org>
* config/sparc/sparc.h (NO_PROFILE_COUNTERS): Define as 0.
+2008-05-15 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/34330
+ * gcc.dg/torture/pr34330.c: New testcase.
+
2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/36059
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-ftree-parallelize-loops=4 -ftree-vectorize" } */
+
+struct T
+{
+ int t;
+ struct { short s1, s2, s3, s4; } *s;
+};
+
+void
+foo (int *a, int *b, int *c, int *d, struct T *e)
+{
+ int i;
+ for (i = 0; i < e->t; i++)
+ {
+ e->s[i].s1 = a[i];
+ e->s[i].s2 = b[i];
+ e->s[i].s3 = c[i];
+ e->s[i].s4 = d[i];
+ }
+}
TREE_THIS_VOLATILE (tag) |= TREE_THIS_VOLATILE (tag_type);
/* Make sure that the symbol tag has the same alias set as the
- pointed-to type. */
- gcc_assert (tag_set == get_alias_set (tag));
+ pointed-to type or at least accesses through the pointer will
+ alias that set. The latter can happen after the vectorizer
+ created pointers of vector type. */
+ gcc_assert (tag_set == get_alias_set (tag)
+ || alias_set_subset_of (tag_set, get_alias_set (tag)));
return tag;
}