aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-split.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2017-01-05 01:45:51 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2017-01-05 01:45:51 +0000
commitd61d5fcd7f68b623c693b241d0d50144e2bd443f (patch)
tree3ec652b6d00d0a685a3bb03375edf15058a004f6 /gcc/tree-ssa-loop-split.c
parent08edc32002de18797cf148742241e05585b657d3 (diff)
downloadgcc-d61d5fcd7f68b623c693b241d0d50144e2bd443f.zip
gcc-d61d5fcd7f68b623c693b241d0d50144e2bd443f.tar.gz
gcc-d61d5fcd7f68b623c693b241d0d50144e2bd443f.tar.bz2
[bootstrap-O1] add initializers to avoid warnings at -O1
Building with the bootstrap-O1 configuration option fails to compile a number of files due to AFAICT false-positive warnings about uses of uninitialized variables. This patch adds dummy initializers to silence them all. for gcc/ChangeLog * multiple_target.c (create_dispatcher_calls): Init e_next. * tree-ssa-loop-split.c (split_loop): Init border. * tree-vect-loop.c (vect_determine_vectorization_factor): Init scalar_type. From-SVN: r244086
Diffstat (limited to 'gcc/tree-ssa-loop-split.c')
-rw-r--r--gcc/tree-ssa-loop-split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-split.c b/gcc/tree-ssa-loop-split.c
index 57252d7..7809db0 100644
--- a/gcc/tree-ssa-loop-split.c
+++ b/gcc/tree-ssa-loop-split.c
@@ -497,7 +497,7 @@ split_loop (struct loop *loop1, struct tree_niter_desc *niter)
unsigned i;
bool changed = false;
tree guard_iv;
- tree border;
+ tree border = NULL_TREE;
affine_iv iv;
bbs = get_loop_body (loop1);