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]
Other format: [Raw text]

Re: Fix PR53908


On Fri, Jul 13, 2012 at 8:47 AM, Hans-Peter Nilsson
<hans-peter.nilsson@axis.com> wrote:
>> From: Richard Sandiford <rsandifo@nildram.co.uk>
>> Date: Thu, 12 Jul 2012 21:18:54 +0200
>
>>       if (CALL_P (insn))
>>       {
>>         if (RTL_CONST_OR_PURE_CALL_P (insn))
>>           /* Pure functions can read from memory.  Const functions can
>>              read from arguments that the ABI has forced onto the stack.
>>              Neither sort of read can be volatile.  */
>>           memrefs_in_across |= MEMREF_NORMAL;
>>         else
>>           {
>>             memrefs_in_across |= MEMREF_VOLATILE;
>>             mem_sets_in_across |= MEMREF_VOLATILE;
>>           }
>>       }
>>
>> OK with that change if you agree.
>
> (Steven or Bernd, please ACK/NAK, for quick resolution.)

I can't ACK, but I think Richard S.'s fix is correct.

Ciao!
Steven


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