This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Re: target/2273: [Alpha/Tru64 UNIX V5.1] SEGV in long double code


2001-04-05  Jeff Knaggs <jknaggs@redhat.com>

	* alpha/alpha.md (movtf_internal): Changed to
        reg_overlap_mentioned_p to catch early clobber 
        of register used by memory reference.

Index: alpha.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/alpha.md,v
retrieving revision 1.139
diff -c -3 -p -r1.139 alpha.md
*** alpha.md	2001/03/28 11:09:19	1.139
--- alpha.md	2001/04/05 19:01:22
***************
*** 4673,4679 ****
    "
  {
    alpha_split_tfmode_pair (operands);
!   if (rtx_equal_p (operands[0], operands[3]))
      {
        rtx tmp;
        tmp = operands[0], operands[0] = operands[1], operands[1] = tmp;
--- 4673,4679 ----
    "
  {
    alpha_split_tfmode_pair (operands);
!   if (reg_overlap_mentioned_p (operands[0], operands[3]))
      {
        rtx tmp;
        tmp = operands[0], operands[0] = operands[1], operands[1] = tmp;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]