This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR45051
On 07/28/2010 06:24 AM, Hans-Peter Nilsson wrote:
> On Wed, 28 Jul 2010, Bernd Schmidt wrote:
>> Also, have a look at
>>
>> http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00756.html
>
> Wow, right on spot.
>
>> The patch won't do anything on your port due to the FRAME_POINTER_REGNUM
>> definition, but you could try deleting the entire if statement to see if
>> that makes the unnecessary reloads go away.
>
> As expected, it does make them go away. Is there any point in
> that if-statement, given the REG_CANNOT_CHANGE_MODE_P guard in
> the if-statement above it?
I don't think there is, but the patch has been unreviewed for a while...
Bernd