diff options
author | Richard Biener <rguenther@suse.de> | 2017-01-30 13:52:44 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-01-30 13:52:44 +0000 |
commit | fcc216ec44d7403368285c045846d4419b631cb5 (patch) | |
tree | 5d4c8a4d888816010dd37f924c0f8f1dbb1bf95a /gcc/tree.c | |
parent | 1dd9523917189b741af87cc3fbb853c30d7773f5 (diff) | |
download | gcc-fcc216ec44d7403368285c045846d4419b631cb5.zip gcc-fcc216ec44d7403368285c045846d4419b631cb5.tar.gz gcc-fcc216ec44d7403368285c045846d4419b631cb5.tar.bz2 |
re PR tree-optimization/79256 (FAIL: gcc.dg/vect/pr25413a.c execution test)
2017-01-30 Richard Biener <rguenther@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.
From-SVN: r245025
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6684,6 +6684,7 @@ build_aligned_type (tree type, unsigned int align) t = build_variant_type_copy (type); SET_TYPE_ALIGN (t, align); + TYPE_USER_ALIGN (t) = 1; return t; } |