Re: [PATCH] Invalidate argument slots for const/pure calls

2016-07-25 Thread Jeff Law
On 07/23/2016 12:32 PM, John David Anglin wrote: The attached patch fixes PR middle-end/71712. We need to invalidate the argument slots in const/pure calls as they are owned by the callee. The caller can't assume they are preserved across the call. Fix is similar to that for PR71532. Tested

[PATCH] Invalidate argument slots for const/pure calls

2016-07-23 Thread John David Anglin
The attached patch fixes PR middle-end/71712. We need to invalidate the argument slots in const/pure calls as they are owned by the callee. The caller can't assume they are preserved across the call. Fix is similar to that for PR71532. Tested on hppa-unknown-linux-gnu. Okay for trunk? Dave