aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Kumar <aditya.k7@samsung.com>2015-09-28 19:19:47 +0000
committerSebastian Pop <spop@gcc.gnu.org>2015-09-28 19:19:47 +0000
commitd95fc584211f33c495c09fde33e057088d26b43e (patch)
treea0f060e6fe263d71cdc2a0909532796cae49a97f
parent80400b0477598a858173d16c01abfd607a657722 (diff)
downloadgcc-d95fc584211f33c495c09fde33e057088d26b43e.zip
gcc-d95fc584211f33c495c09fde33e057088d26b43e.tar.gz
gcc-d95fc584211f33c495c09fde33e057088d26b43e.tar.bz2
fix bootstrap due to unused variable warning
* sese.c (invariant_in_sese_p_rec): Remove unused variable. Co-Authored-By: Sebastian Pop <s.pop@samsung.com> From-SVN: r228218
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sese.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ccfd4a8..89b9e16 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,11 @@
2015-09-28 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
+ * sese.c (invariant_in_sese_p_rec): Remove unused variable.
+
+2015-09-28 Aditya Kumar <aditya.k7@samsung.com>
+ Sebastian Pop <s.pop@samsung.com>
+
* graphite-optimize-isl.c (optimize_isl): Use ISL_SCHEDULE_FUSE_MAX.
* graphite-scop-detection.c (struct sese_l): New type.
(get_entry_bb): API for getting entry bb of SESE.
diff --git a/gcc/sese.c b/gcc/sese.c
index 2050e2d..ed45410 100644
--- a/gcc/sese.c
+++ b/gcc/sese.c
@@ -778,7 +778,7 @@ invariant_in_sese_p_rec (tree t, sese region)
return false;
/* VDEF is variant when it is in the region. */
- if (tree vdef = gimple_vdef (stmt))
+ if (gimple_vdef (stmt))
return false;
/* A VUSE may or may not be variant following the VDEFs. */