Patchwork Follow-up to PR rtl-optimization/44194

login
register
mail settings
Submitter Eric Botcazou
Date Oct. 21, 2012, 12:35 p.m.
Message ID <4333830.H0OBFLvY0d@polaris>
Download mbox | patch
Permalink /patch/192994/
State New
Headers show

Comments

Eric Botcazou - Oct. 21, 2012, 12:35 p.m.
As remarked by Richard S., we can now allow sibling calls in the PARALLEL case 
after the fix for PR rtl-optimization/44194.

Tested on x86_64-suse-linux and mips64el-linux-gnu, applied on the mainline.


2012-10-21  Eric Botcazou  <ebotcazou@adacore.com>

        PR rtl-optimization/44194
        * calls.c (expand_call): Allow sibling calls in the PARALLEL case.

Patch

Index: calls.c
===================================================================
--- calls.c	(revision 192648)
+++ calls.c	(working copy)
@@ -3277,9 +3277,6 @@  expand_call (tree exp, rtx target, int i
 	  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)