diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-03-09 00:12:25 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-03-08 23:12:25 +0000 |
commit | 428f0c67ee75be486ccdbc83bae06cebec2bdb0f (patch) | |
tree | 1677cdff3ac9a985557890e7fa6db0a63fb9c44c /gcc/cgraph.h | |
parent | fb460c3da0b3de006ae596e32826ef63a65c8f2b (diff) | |
download | gcc-428f0c67ee75be486ccdbc83bae06cebec2bdb0f.zip gcc-428f0c67ee75be486ccdbc83bae06cebec2bdb0f.tar.gz gcc-428f0c67ee75be486ccdbc83bae06cebec2bdb0f.tar.bz2 |
re PR ipa/65334 (r221099 caused: FAIL: gfortran.fortran-torture/execute/in-pack.f90 execution, -O2 -ftree-vectorize -msse2)
PR ipa/65334
* cgraph.h (symtab_node): Add definition_alignment,
can_increase_alignment_p and increase_alignment.
* symtab.c (symtab_node::can_increase_alignment_p,
increase_alignment_1, symtab_node::increase_alignment,
symtab_node::definition_alignment): New.
* tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Use
can_increase_alignment_p.
* tree-vectorizer.c (increase_alignment): Use increase_alignment.
* tree-vect-stmts.c (ensure_base_align): Likewise.
From-SVN: r221268
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index c4f39ba..dcf383b 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -289,6 +289,18 @@ public: /* Make DECL local. */ void make_decl_local (void); + /* Return desired alignment of the definition. This is NOT alignment useful + to access THIS, because THIS may be interposable and DECL_ALIGN should + be used instead. It however must be guaranteed when output definition + of THIS. */ + unsigned int definition_alignment (); + + /* Return true if alignment can be increased. */ + bool can_increase_alignment_p (); + + /* Increase alignment of symbol to ALIGN. */ + void increase_alignment (unsigned int align); + /* Return true if list contains an alias. */ bool has_aliases_p (void); |