This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, hppa, alias] Patch to remove use of flag_argument_noalias from config/pa/pa.c
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: dave dot anglin at nrc-cnrc dot gc dot ca, richard dot guenther at gmail dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 12 Apr 2010 10:24:30 -0700 (PDT)
- Subject: [patch, hppa, alias] Patch to remove use of flag_argument_noalias from config/pa/pa.c
- Reply-to: sje at cup dot hp dot com
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;