aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2013-11-23 10:23:02 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2013-11-23 10:23:02 +0000
commit66c14933d176de277020532295606e73c3b78162 (patch)
tree15c51ef6aba9f34cb7fdb65a71d4bd4a5409d765 /gcc/gimplify.c
parent627b82f2143faa7f229347c463fda5968661d14f (diff)
downloadgcc-66c14933d176de277020532295606e73c3b78162.zip
gcc-66c14933d176de277020532295606e73c3b78162.tar.gz
gcc-66c14933d176de277020532295606e73c3b78162.tar.bz2
gimplify.h (recalculate_side_effects): Delete.
* gimplify.h (recalculate_side_effects): Delete. * gimplify.c (recalculate_side_effects): Make static and add comment. ada/ * gcc-interface/trans.c (Loop_Statement_to_gnu): Set TREE_SIDE_EFFECTS on the conditional expression directly. From-SVN: r205305
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index b3608c3..b252bef 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -1757,7 +1757,9 @@ gimplify_var_or_parm_decl (tree *expr_p)
return GS_ALL_DONE;
}
-void
+/* Recalculate the value of the TREE_SIDE_EFFECTS flag for T. */
+
+static void
recalculate_side_effects (tree t)
{
enum tree_code code = TREE_CODE (t);