summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-06 13:42:28 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-06 13:42:28 +0000
commitca06a84c48b6c31308bcc1e564d03016930582bb (patch)
tree18601bb7c5498b3b1a77824088656412fc281eb3
parent6f8cbb88a0162630e85a735e723351297eab40eb (diff)
downloadgcc-ca06a84c48b6c31308bcc1e564d03016930582bb.tar.gz
2012-09-06 Richard Guenther <rguenther@suse.de>
* tree.h (MOVE_NONTEMPORAL): Remove. * tree-pretty-print.c (dump_generic_node): Remove MOVE_NONTEMPORAL handling. * expr.c (expand_expr_real_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191022 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/expr.c4
-rw-r--r--gcc/tree-pretty-print.c3
-rw-r--r--gcc/tree.h7
4 files changed, 9 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ba42078d130..92a302f4aa9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2012-09-06 Richard Guenther <rguenther@suse.de>
+ * tree.h (MOVE_NONTEMPORAL): Remove.
+ * tree-pretty-print.c (dump_generic_node): Remove
+ MOVE_NONTEMPORAL handling.
+ * expr.c (expand_expr_real_1): Likewise.
+
+2012-09-06 Richard Guenther <rguenther@suse.de>
+
* passes.c (execute_function_todo): Call compute_may_aliases
only if flag_tree_pta is set.
diff --git a/gcc/expr.c b/gcc/expr.c
index 4e7eb5fbf4c..864d360fe7d 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -10319,13 +10319,13 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
value ? label : 0,
value ? 0 : label, -1);
expand_assignment (lhs, build_int_cst (TREE_TYPE (rhs), value),
- MOVE_NONTEMPORAL (exp));
+ false);
do_pending_stack_adjust ();
emit_label (label);
return const0_rtx;
}
- expand_assignment (lhs, rhs, MOVE_NONTEMPORAL (exp));
+ expand_assignment (lhs, rhs, false);
return const0_rtx;
}
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index 8bd483a3a0e..4263b399507 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -1436,9 +1436,6 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
false);
pp_space (buffer);
pp_character (buffer, '=');
- if (TREE_CODE (node) == MODIFY_EXPR
- && MOVE_NONTEMPORAL (node))
- pp_string (buffer, "{nt}");
pp_space (buffer);
dump_generic_node (buffer, TREE_OPERAND (node, 1), spc, flags,
false);
diff --git a/gcc/tree.h b/gcc/tree.h
index bca0576d5a7..6d326329e76 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -524,9 +524,6 @@ struct GTY(()) tree_base {
TYPE_REF_CAN_ALIAS_ALL in
POINTER_TYPE, REFERENCE_TYPE
- MOVE_NONTEMPORAL in
- MODIFY_EXPR
-
CASE_HIGH_SEEN in
CASE_LABEL_EXPR
@@ -1162,10 +1159,6 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int,
#define TYPE_REF_CAN_ALIAS_ALL(NODE) \
(PTR_OR_REF_CHECK (NODE)->base.static_flag)
-/* In a MODIFY_EXPR, means that the store in the expression is nontemporal. */
-#define MOVE_NONTEMPORAL(NODE) \
- (EXPR_CHECK (NODE)->base.static_flag)
-
/* In an INTEGER_CST, REAL_CST, COMPLEX_CST, or VECTOR_CST, this means
there was an overflow in folding. */