diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 05:18:35 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 05:18:35 +0000 |
commit | 3354e72ee606bb2aafe58a2404ee884fca64342b (patch) | |
tree | 4cd9ad61791620b1a14ae44b6ab0a261d941f2ac /gcc/tree-ssa-loop-niter.c | |
parent | 917c8e430c40f5cfbfd44b428c3cdf19e8db7de4 (diff) | |
download | gcc-3354e72ee606bb2aafe58a2404ee884fca64342b.tar.gz |
2009-10-20 Sebastian Pop <sebastian.pop@amd.com>
* 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
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |