aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2017-05-12 15:22:58 +0000
committerWill Schmidt <willschm@gcc.gnu.org>2017-05-12 15:22:58 +0000
commitedc19e037029e1d98762e893bb668721109652e5 (patch)
tree74de12a6ef80901bca2c31162b370686df3fb4e6 /gcc
parentd6bb7841f25dcd7c5d77c6593005765b66639318 (diff)
downloadgcc-edc19e037029e1d98762e893bb668721109652e5.zip
gcc-edc19e037029e1d98762e893bb668721109652e5.tar.gz
gcc-edc19e037029e1d98762e893bb668721109652e5.tar.bz2
gimple-fold.c (create_tmp_reg_or_ssa_name): Remove static declaration.
2017-05-12 Will Schmidt <will_schmidt@vnet.ibm.com> [gcc] * gimple-fold.c (create_tmp_reg_or_ssa_name): Remove static declaration. * gimple-fold.h (create_tmp_reg_or_ssa_name): New prototype. From-SVN: r247975
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/gimple-fold.c4
-rw-r--r--gcc/gimple-fold.h1
3 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 996770c..4842632 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,7 +1,12 @@
2017-05-12 Will Schmidt <will_schmidt@vnet.ibm.com>
- * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for
- early GIMPLE expansion of vector multiplies.
+ * gimple-fold.c (create_tmp_reg_or_ssa_name): Remove static declaration.
+ * gimple-fold.h (create_tmp_reg_or_ssa_name): New prototype.
+
+2017-05-12 Will Schmidt <will_schmidt@vnet.ibm.com>
+
+ * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for
+ early GIMPLE expansion of vector multiplies.
2017-05-12 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index d58f622..aca842b 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -161,8 +161,8 @@ can_refer_decl_in_current_unit_p (tree decl, tree from_decl)
is in SSA form, a SSA name is created. Otherwise a temporary register
is made. */
-static tree
-create_tmp_reg_or_ssa_name (tree type, gimple *stmt = NULL)
+tree
+create_tmp_reg_or_ssa_name (tree type, gimple *stmt)
{
if (gimple_in_ssa_p (cfun))
return make_ssa_name (type, stmt);
diff --git a/gcc/gimple-fold.h b/gcc/gimple-fold.h
index e4931a1..d34d880 100644
--- a/gcc/gimple-fold.h
+++ b/gcc/gimple-fold.h
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_GIMPLE_FOLD_H
#define GCC_GIMPLE_FOLD_H
+extern tree create_tmp_reg_or_ssa_name (tree, gimple *stmt = NULL);
extern tree canonicalize_constructor_val (tree, tree);
extern tree get_symbol_constant_value (tree);
extern bool get_range_strlen (tree, tree[2]);