This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, hppa, alias] Patch to remove use of flag_argument_noalias from config/pa/pa.c


Dave and Richard,

The file config/pa/pa.c has a use of flag_argument_noalias which no
longer exists.  Here is my patch to remove the reference to it.  Does
this look like the right fix?  The testing looked OK but there are a
bunch of whopr and lto test  failures to ignore while looking for
regressions.

Steve Ellcey
sje@cup.hp.com


2010-04-12  Steve Ellcey  <sje@cup.hp.com>

	* config/pa/pa.c (emit_move_sequence): Remove use of
	deleted variable flag_argument_noalias.


Index: pa.c
===================================================================
--- pa.c	(revision 158213)
+++ pa.c	(working copy)
@@ -1716,12 +1716,8 @@ emit_move_sequence (rtx *operands, enum 
 
 	      /* Set the register pointer flag and register alignment
 		 if the declaration for this memory reference is a
-		 pointer type.  Fortran indirect argument references
-		 are ignored.  */
-	      if (decl
-		  && !(flag_argument_noalias > 1
-		       && TREE_CODE (decl) == INDIRECT_REF
-		       && TREE_CODE (TREE_OPERAND (decl, 0)) == PARM_DECL))
+		 pointer type.  */
+	      if (decl)
 		{
 		  tree type;
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]