From 342f75af29f1edef49299eac42ae9c83aa32525d Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Thu, 6 Sep 2012 13:42:28 +0000 Subject: [PATCH] tree.h (MOVE_NONTEMPORAL): Remove. 2012-09-06 Richard Guenther * tree.h (MOVE_NONTEMPORAL): Remove. * tree-pretty-print.c (dump_generic_node): Remove MOVE_NONTEMPORAL handling. * expr.c (expand_expr_real_1): Likewise. From-SVN: r191022 --- gcc/ChangeLog | 7 +++++++ gcc/expr.c | 4 ++-- gcc/tree-pretty-print.c | 3 --- gcc/tree.h | 7 ------- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba42078d130e..92a302f4aa94 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2012-09-06 Richard Guenther + + * 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 * passes.c (execute_function_todo): Call compute_may_aliases diff --git a/gcc/expr.c b/gcc/expr.c index 4e7eb5fbf4ce..864d360fe7d0 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 8bd483a3a0e4..4263b3995074 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 bca0576d5a77..6d326329e767 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. */