http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57106



Uros Bizjak <ubizjak at gmail dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |ubizjak at gmail dot com,

                   |                            |ysrumyan at gmail dot com



--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2013-05-03 11:49:51 
UTC ---

The dependence in i386.c:add_parameter_dependencies adds dependence of the

instruction with wrong index. Proposed patch:



--cut here--

Index: i386.c

===================================================================

--- i386.c      (revision 198569)

+++ i386.c      (working copy)

@@ -24662,7 +24662,7 @@ add_parameter_dependencies (rtx call, rtx head)

          /* Add output depdendence between two function arguments if chain

             of output arguments contains likely spilled HW registers.  */

          if (is_spilled)

-           add_dependence (last, insn, REG_DEP_OUTPUT);

+           add_dependence (first_arg, insn, REG_DEP_OUTPUT);

          first_arg = last = insn;

        }

       else

--cut here--



CC'd author.

Reply via email to