summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-23 10:23:02 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-23 10:23:02 +0000
commitfb4256c6a660195bdf0eb9744b3e6d75fc6f5cc4 (patch)
tree15c51ef6aba9f34cb7fdb65a71d4bd4a5409d765 /gcc/gimplify.c
parent72328b3e8b89b517f9f58358e89c8cd0f26de7f2 (diff)
downloadgcc-fb4256c6a660195bdf0eb9744b3e6d75fc6f5cc4.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205305 138bc75d-0d04-0410-961f-82ee72b054a4
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 b3608c3171d..b252bef6508 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);