re PR target/44618 (wrong code with -frename-registers)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 16 Jun 2011 07:49:58 +0000 (09:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 16 Jun 2011 07:49:58 +0000 (09:49 +0200)
commite641e49532dd7a8ad66611de27c8f76abb17dfc3
tree62e306efb2279beb2c767578861176492834cac4
parent093024421f69476a1863c7711012166f06ac60d2
re PR target/44618 (wrong code with -frename-registers)

2011-06-13  Edmar Wienskoski  <edmar@freescale.com>

PR target/44618
* config/rs6000/rs6000.md (save_gpregs_<mode>): Replaced pattern
with a set of similar patterns, where the MATCH_OPERAND for the
function argument is replaced with individual references to hardware
registers.
(save_fpregs_<mode>): Ditto
(restore_gpregs_<mode>): Ditto
(return_and_restore_gpregs_<mode>): Ditto
(return_and_restore_fpregs_<mode>): Ditto
(return_and_restore_fpregs_aix_<mode>): Ditto

* gcc.target/powerpc/outofline_rnreg.c: New testcase.

From-SVN: r175093
gcc/ChangeLog
gcc/testsuite/ChangeLog