]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
[RS6000] Fix ICE caused by rs6000_savres_strategy thinko
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2016 12:38:32 +0000 (12:38 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2016 12:38:32 +0000 (12:38 +0000)
commitc548a0ad4e24f618d8ed9a562131d49b9057bf34
tree69984171a68d8edd62593607cdf9695a1f0c37d0
parentd5ecd946ae5f600e284c45004f407a796f0e6ec0
[RS6000] Fix ICE caused by rs6000_savres_strategy thinko

rev 235672 (git cffc0b35) changed the condition for SAVE_MULTIPLE/
STORE_MULTIPLE, wrongly allowing a single reg.

gcc/
* config/rs6000/rs6000.c (rs6000_savres_strategy): Correct condition
for SAVE_MULTIPLE/STORE_MULTIPLE.
gcc/testsuite/
* gcc.target/powerpc/savres.c: Add func using a single gpr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235820 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/savres.c