summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000-c.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-08 05:57:48 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-08 05:57:48 +0000
commitc95b9ae3504a8da1a31c1ed2224f97b3d4b829a2 (patch)
tree775928cf6a1e9f1553ce9d66715128ff7443febe /gcc/config/rs6000/rs6000-c.c
parent6b478e0035aa8103bd1985b85280892386cd32ef (diff)
downloadgcc-c95b9ae3504a8da1a31c1ed2224f97b3d4b829a2.tar.gz
2008-10-08 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r140962 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140963 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/rs6000-c.c')
-rw-r--r--gcc/config/rs6000/rs6000-c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c
index ed9b6c03683..f968b2f1467 100644
--- a/gcc/config/rs6000/rs6000-c.c
+++ b/gcc/config/rs6000/rs6000-c.c
@@ -3097,10 +3097,10 @@ altivec_resolve_overloaded_builtin (tree fndecl, tree arglist)
innerptrtype = build_pointer_type (arg1_inner_type);
- stmt = build_unary_op (ADDR_EXPR, stmt, 0);
+ stmt = build_unary_op (input_location, ADDR_EXPR, stmt, 0);
stmt = convert (innerptrtype, stmt);
stmt = build_binary_op (input_location, PLUS_EXPR, stmt, arg2, 1);
- stmt = build_indirect_ref (stmt, NULL, input_location);
+ stmt = build_indirect_ref (input_location, stmt, NULL);
return stmt;
}
@@ -3155,10 +3155,10 @@ altivec_resolve_overloaded_builtin (tree fndecl, tree arglist)
innerptrtype = build_pointer_type (arg1_inner_type);
- stmt = build_unary_op (ADDR_EXPR, stmt, 0);
+ stmt = build_unary_op (input_location, ADDR_EXPR, stmt, 0);
stmt = convert (innerptrtype, stmt);
stmt = build_binary_op (input_location, PLUS_EXPR, stmt, arg2, 1);
- stmt = build_indirect_ref (stmt, NULL, input_location);
+ stmt = build_indirect_ref (input_location, stmt, NULL);
stmt = build2 (MODIFY_EXPR, TREE_TYPE (stmt), stmt,
convert (TREE_TYPE (stmt), arg0));
stmt = build2 (COMPOUND_EXPR, arg1_type, stmt, decl);