aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2004-09-05 11:43:42 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2004-09-05 07:43:42 -0400
commit2addf92620c2d652f72c4cb204fb46d980e784e5 (patch)
treefd0b5c4bc89a3a85676a40152092f7fcf3740470 /gcc
parentc99960000c7dfc7d210e61b011cff2d5e208611d (diff)
downloadgcc-2addf92620c2d652f72c4cb204fb46d980e784e5.zip
gcc-2addf92620c2d652f72c4cb204fb46d980e784e5.tar.gz
gcc-2addf92620c2d652f72c4cb204fb46d980e784e5.tar.bz2
tree-if-conv.c (gate_tree_if_conversion): Enable only if the vectorizer is enabled.
* tree-if-conv.c (gate_tree_if_conversion): Enable only if the vectorizer is enabled. From-SVN: r87103
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-if-conv.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bc16e31..69afbcc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-05 Diego Novillo <dnovillo@redhat.com>
+
+ * tree-if-conv.c (gate_tree_if_conversion): Enable only if the
+ vectorizer is enabled.
+
2004-09-05 Andreas Jaeger <aj@suse.de>
* tree-if-conv.c: Spell check comments and clean up whitespace.
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index 3b9151a..5a24091 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -1078,7 +1078,7 @@ main_tree_if_conversion (void)
static bool
gate_tree_if_conversion (void)
{
- return true;
+ return flag_tree_vectorize != 0;
}
struct tree_opt_pass pass_if_conversion =