aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2012-10-21 12:36:16 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2012-10-21 12:36:16 +0000
commita3a720d0d761b26b247a7f9d775720484d46fd0d (patch)
treed1689c5a5967d2d16273546d2a091698dcff77ab /gcc
parentce86ad58a4defcd4408ddef24c120b2be196d9d4 (diff)
downloadgcc-a3a720d0d761b26b247a7f9d775720484d46fd0d.zip
gcc-a3a720d0d761b26b247a7f9d775720484d46fd0d.tar.gz
gcc-a3a720d0d761b26b247a7f9d775720484d46fd0d.tar.bz2
re PR rtl-optimization/44194 (struct returned by value generates useless stores)
PR rtl-optimization/44194 * calls.c (expand_call): Allow sibling calls in the PARALLEL case. From-SVN: r192651
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/calls.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 333a17f..1a40088 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR rtl-optimization/44194
+ * calls.c (expand_call): Allow sibling calls in the PARALLEL case.
+
2012-10-21 Tobias Burnus <burnus@net-b.de>
PR fortran/54725
diff --git a/gcc/calls.c b/gcc/calls.c
index 64e4b09..01706c3 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -3277,9 +3277,6 @@ expand_call (tree exp, rtx target, int ignore)
else
emit_group_store (target, valreg, rettype,
int_size_in_bytes (rettype));
-
- /* We can not support sibling calls for this case. */
- sibcall_failure = 1;
}
else if (target
&& GET_MODE (target) == TYPE_MODE (rettype)