summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-27 10:18:54 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-27 10:18:54 +0000
commit9a7965a1811295d9ec134c5e3cd9d8f5774376af (patch)
treeb5e870d2cda4c8a982b959f18c9a1d1e84f20b6e /gcc/calls.c
parentfccc523a3da3f2ee27c550efcc55ee66f143d621 (diff)
downloadgcc-9a7965a1811295d9ec134c5e3cd9d8f5774376af.tar.gz
PR middle-end/38969
* calls.c (initialize_argument_information): Do not wrap complex arguments in SAVE_EXPR. testsuite/ChangeLog: PR middle-end/38969 * gcc.c-torture/execute/pr38969.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143699 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index a75e3b36569..e6e882f24b1 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -992,7 +992,6 @@ initialize_argument_information (int num_actuals ATTRIBUTE_UNUSED,
&& targetm.calls.split_complex_arg (argtype))
{
tree subtype = TREE_TYPE (argtype);
- arg = save_expr (arg);
args[j].tree_value = build1 (REALPART_EXPR, subtype, arg);
j += inc;
args[j].tree_value = build1 (IMAGPART_EXPR, subtype, arg);