diff mbox

Remove unused MOVE_NONTEMPORAL

Message ID alpine.LNX.2.00.1209061339280.28649@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Sept. 6, 2012, 11:40 a.m. UTC
This removes the MOVE_NONTEMPORAL tree flag which is nowhere set.

Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.

Richard.

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.
diff mbox

Patch

Index: gcc/tree-pretty-print.c
===================================================================
--- gcc/tree-pretty-print.c	(revision 191014)
+++ gcc/tree-pretty-print.c	(working copy)
@@ -1436,9 +1436,6 @@  dump_generic_node (pretty_printer *buffe
 	  		 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);
Index: gcc/tree.h
===================================================================
--- gcc/tree.h	(revision 191014)
+++ gcc/tree.h	(working copy)
@@ -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_faile
 #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.  */
 
Index: gcc/expr.c
===================================================================
--- gcc/expr.c	(revision 191014)
+++ gcc/expr.c	(working copy)
@@ -10319,13 +10319,13 @@  expand_expr_real_1 (tree exp, rtx target
 		     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;
       }