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: arm_hard_regno_mode_ok update


Nick Clifton wrote:
> 
> Hi Guys,
> 
> > Can you post a testcase that prompted this patch (ie DI/DFmode
> > overlapping fixed regs)?
> 
> I have been trying all night to reproduce the original bug that
> caused me to investigate this problem, but I have had no luck.  I
> was sure that it was a bug detected by the gcc execute tests, and at
> one point that it might have been these failures, compiling with
> -mthumb -O1:
> 
>   930614-2.c: Error: invalid base register for register offset -- `str r3,[sp,r1]'
>   991228-1.c: Error: lo register required -- `ldr r3,[r3,sp]'
> 
> But this happens both with and without my change.  So I think I must
> either have gone mad, or the bug has been fixed by some other change.
>
Could it have been fixed by the BASE_REG_CLASS -> MODE_BASE_REG_CLASS 
fix that when in last week?

> Shall I apply this patch then to restore the original behaviour ?
> 
> Cheers
>         Nick

Graham


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