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: [RS6000] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE


On Wed, May 04, 2016 at 12:22:24AM +0930, Alan Modra wrote:
> Fixes an ICE found when using odd options.  Bootstrapped and
> regression tested both powerpc64-linux and powerpc64le-linux.  OK to
> apply?
> 
> gcc/
> 	PR target/70866
> 	* config/rs6000/rs6000.c (rs6000_stack_info): Don't set cr_save_p
> 	when cr2,3,4 are all fixed regs.
> gcc/testsuite/
> 	* gcc.target/powerpc/pr70866.c: New.

This one seems obvious enough (I'll have to think about your other patch).
Have you tested if save and restore are correct now?  I.e. not touching
the fixed ones.  In either case, this should improve things, please apply.


Segher


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