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]

Re: fix for execute/950511-1 failure on ppc-eabi


> (set (reg/v:SI 83) (addressof:SI (reg/v:DI 84) 82 0x30037480))
> 
> it happens that
> (reg/v:SI 83)
> and
> (addressof:SI (reg/v:DI 84) 82 0x30037480)
> do conflict.

I haven't looked closely at this yet, however why isn't this handled by:

  if (rtx_equal_for_memref_p (x, y))
    {
      if (xsize <= 0 || ysize <= 0)
        return 1;
      if (c >= 0 && xsize > c)
        return 1;
      if (c < 0 && ysize+c > 0)
        return 1;
      return 0;
    }

which appears earlier in memrefs_conflict_p.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


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