From 3354e72ee606bb2aafe58a2404ee884fca64342b Mon Sep 17 00:00:00 2001 From: spop Date: Wed, 25 Nov 2009 05:18:35 +0000 Subject: 2009-10-20 Sebastian Pop * graphite-sese-to-poly.c (pdr_add_data_dimensions): Do not infer loop upper bounds for 1-element arrays at end of structures. * tree-flow.h (array_at_struct_end_p): Declared. * tree-ssa-loop-niter.c (array_at_struct_end_p): Not static anymore. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154612 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-ssa-loop-niter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-ssa-loop-niter.c') diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 14b44aa7ecb..d7222104eb5 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -2612,7 +2612,7 @@ record_nonwrapping_iv (struct loop *loop, tree base, tree step, gimple stmt, allocated structure. If this is the case, the array may be allocated larger than its upper bound implies. */ -static bool +bool array_at_struct_end_p (tree ref) { tree base = get_base_address (ref); -- cgit v1.2.1