aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-05-04 12:43:05 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2011-05-04 12:43:05 +0000
commita207915ac392347e3dc926d6507caa48d2701aa3 (patch)
treebfef2c2fbe69c4ba58bf4e35b8f0014d792203dd
parent5e617be801a07a59e464005f9e1bac1959b6cf56 (diff)
downloadgcc-a207915ac392347e3dc926d6507caa48d2701aa3.zip
gcc-a207915ac392347e3dc926d6507caa48d2701aa3.tar.gz
gcc-a207915ac392347e3dc926d6507caa48d2701aa3.tar.bz2
spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference instead of spu_pass_by_reference.
* config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference instead of spu_pass_by_reference. From-SVN: r173372
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/spu/spu.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f6d535..523dd67 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference
+ instead of spu_pass_by_reference.
+
2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* calls.c (emit_library_call_value_1): Invoke
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index f93c14c..a6c7658 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -4245,8 +4245,8 @@ spu_gimplify_va_arg_expr (tree valist, tree type, gimple_seq * pre_p,
/* if an object is dynamically sized, a pointer to it is passed
instead of the object itself. */
- pass_by_reference_p = spu_pass_by_reference (NULL, TYPE_MODE (type), type,
- false);
+ pass_by_reference_p = pass_by_reference (NULL, TYPE_MODE (type), type,
+ false);
if (pass_by_reference_p)
type = build_pointer_type (type);
size = int_size_in_bytes (type);