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 06:34:24PM -0500, Richard Kenner wrote:
> Precisely which sets of /u operations are considered to conflict and
> which are not?

Consider the combinations:

         /u read  <- /u read	reads never conflict
  anti   /u read  <- /u write	shouldn't happen, since no multiple writes.
  true   /u write <- /u read	conflict
  output /u write <- /u write	shouldn't happen, since no multiple writes.

For anti_dependance and true_dependance, this is what we implement.

I just noticed that output_dependance yields true for two unchanging
writes.  I'm not sure why that is; perhaps it is trying to catch a 
case of an initializer for a structure containing bitfields for which
we end up with multiple stores to the same word in sequence.  Dubious
at best, that's for sure.


r~

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