Ping: RE: [Patch, ARM] Fix the check on arg reg number in function thumb_find_work_register

Terry Guo terry.guo@arm.com
Tue Dec 4 02:33:00 GMT 2012


Hi Ramana,

Can you please help to review this patch? Thanks.

BR,
Terry

> -----Original Message-----
> From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-
> owner@gcc.gnu.org] On Behalf Of Terry Guo
> Sent: Wednesday, November 28, 2012 1:53 PM
> To: gcc-patches@gcc.gnu.org
> Subject: [Patch, ARM] Fix the check on arg reg number in function
> thumb_find_work_register
> 
> Hello,
> 
> Attached patch intends to fix a bug on how to check argument register
> number
> which should consider the PCS. A test case is also included. Without
> this
> fix, one of the function argument will be overridden in the case.
> Tested on
> QEMU for cortex-m3, no regression found. Is it OK to trunk?
> 
> BR,
> Terry
> 
> gcc/ChangeLog:
> 
> 2012-11-28  Terry Guo  <terry.guo@arm.com>
> 
>         * config/arm/arm.c (thumb_find_work_register): Check
>         argument register number based on current PCS.
> 
> gcc/testsuite/ChangeLog:
> 
> 2012-11-28  Terry Guo  <terry.guo@arm.com>
> 
>         * gcc.target/arm/thumb-find-work-register.c: New.




More information about the Gcc-patches mailing list