From 9896f25bbd2ccf9ac0d487e0fdbdf048386d28c7 Mon Sep 17 00:00:00 2001 From: dorit Date: Thu, 3 Aug 2006 20:35:05 +0000 Subject: PR tree-optimization/27770 * tree-vectorizer.h (get_vectype_for_scalar_type): Function declaration removed (moved to tree-flow.h). (vect_can_force_dr_alignment_p): Likewise. * tree-flow.h (get_vectype_for_scalar_type): New function declaration (moved from tree-vectorizer.h). (vect_can_force_dr_alignment_p): Likewise. * tree-vectorizer.c (vect_print_dump_info): Allow calling this function from outside the vectorizer - in particular from cgraph stage. * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase the alignment of global arrays when -fsection-anchors is enabled. * cgraphunit.c (cgraph_increase_alignment): New function. (cgraph_optimize): Call cgraph_increase_alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115910 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-flow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/tree-flow.h') diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index eee6fa434b0..d0c81515a26 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -789,6 +789,8 @@ struct tree_niter_desc /* In tree-vectorizer.c */ void vectorize_loops (struct loops *); +extern bool vect_can_force_dr_alignment_p (tree, unsigned int); +extern tree get_vectype_for_scalar_type (tree); /* In tree-ssa-phiopt.c */ bool empty_block_p (basic_block); -- cgit v1.2.1