RE: [PATCH, ARM] Fix PR64453: live high register not saved in function prolog with -Os

2015-03-03 Thread Thomas Preud'homme
Done for backport to 4.8. Best regards, Thomas -Original Message- From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme Sent: Tuesday, March 03, 2015 5:35 PM To: Ramana Radhakrishnan Cc: gcc-patches; Richard Biener; Jakub

RE: [PATCH, ARM] Fix PR64453: live high register not saved in function prolog with -Os

2015-03-03 Thread Thomas Preud'homme
Just committed to 4.9 branch, 4.8 to follow once regression testsuite for 4.8 backport finishes running (backport was done quite some time ago now). Best regards, Thomas -Original Message- From: Ramana Radhakrishnan [mailto:ramana@googlemail.com] Sent: Tuesday, February 17, 2015

RE: [PATCH, ARM] Fix PR64453: live high register not saved in function prolog with -Os

2015-03-03 Thread Thomas Preud'homme
And I forgot to update the date in the rush so I committed the fix as obvious: diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed8ca31..809f5cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,4 @@ -2015-01-23 Thomas Preud'homme thomas.preudho...@arm.com +2015-03-03 Thomas

Re: [PATCH, ARM] Fix PR64453: live high register not saved in function prolog with -Os

2015-02-17 Thread Ramana Radhakrishnan
On Fri, Jan 23, 2015 at 8:23 AM, Thomas Preud'homme thomas.preudho...@arm.com wrote: Hi Ramana, From: Ramana Radhakrishnan [mailto:ramana@googlemail.com] Sent: Wednesday, January 14, 2015 7:21 PM On Wed, Jan 14, 2015 at 10:20 AM, Thomas Preud'homme thomas.preudho...@arm.com wrote: When

Re: [PATCH, ARM] Fix PR64453: live high register not saved in function prolog with -Os

2015-01-14 Thread Ramana Radhakrishnan
On Wed, Jan 14, 2015 at 10:20 AM, Thomas Preud'homme thomas.preudho...@arm.com wrote: When compiling for size, live high registers are not saved in function prolog in ARM backend in Thumb mode. The problem comes from arm_conditional_register_usage setting call_used_regs for all high register

[PATCH, ARM] Fix PR64453: live high register not saved in function prolog with -Os

2015-01-14 Thread Thomas Preud'homme
When compiling for size, live high registers are not saved in function prolog in ARM backend in Thumb mode. The problem comes from arm_conditional_register_usage setting call_used_regs for all high register to avoid them being allocated. However, this cause prolog to not save these register