https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79256
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Jun 22 07:22:13 2017 New Revision: 249498 URL: https://gcc.gnu.org/viewcvs?rev=249498&root=gcc&view=rev Log: 2017-06-22 Richard Biener <rguent...@suse.de> Backport from mainline 2017-01-30 Richard Biener <rguent...@suse.de> PR tree-optimization/79256 * targhooks.c (default_builtin_vector_alignment_reachable): Honor BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN to fix up bogus alignment on TYPE. * tree.c (build_aligned_type): Set TYPE_USER_ALIGN. 2017-01-25 Richard Biener <rguent...@suse.de> PR tree-optimization/69264 * target.def (vector_alignment_reachable): Improve documentation. * doc/tm.texi: Regenerate. * targhooks.c (default_builtin_vector_alignment_reachable): Simplify and add a comment. * tree-vect-data-refs.c (vect_supportable_dr_alignment): Revert earlier changes with respect to TYPE_USER_ALIGN. (vector_alignment_reachable_p): Likewise. Improve dumping. * g++.dg/torture/pr69264.C: New testcase. 2017-02-09 Richard Biener <rguent...@suse.de> PR tree-optimization/69823 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region): Properly enumerate all BBs in the region. Use auto_vec. * gcc.dg/graphite/pr69823.c: New testcase. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/torture/pr69264.C branches/gcc-6-branch/gcc/testsuite/gcc.dg/graphite/pr69823.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/doc/tm.texi branches/gcc-6-branch/gcc/graphite-scop-detection.c branches/gcc-6-branch/gcc/target.def branches/gcc-6-branch/gcc/targhooks.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-vect-data-refs.c branches/gcc-6-branch/gcc/tree.c