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: FAIL: gcc.c-torture/execute/950628-1.c execution, -O1


On Wed, Jan 24, 2001 at 07:38:28AM -0500, Richard Kenner wrote:
>     If there are more, the second store can be moved ahead of a
>     preceeding read because anti_dependence evaluates false.
> 
> That's not the way the code looks to me.  It looks like they conflict if
> both are unchanging.  I think a lot of things depend on that.

Look again.

  /* If MEM is an unchanging read, then it can't possibly conflict with
     the store to X, because there is at most one store to MEM, and it must
     have occurred somewhere before MEM.  */
  if (! writep && RTX_UNCHANGING_P (mem))
    return 0;



r~

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