This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44618] [4.4/4.5/4.6 regression] wrong code with -frename-registers
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Jun 2011 07:53:54 +0000
- Subject: [Bug target/44618] [4.4/4.5/4.6 regression] wrong code with -frename-registers
- Auto-submitted: auto-generated
- References: <bug-44618-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618
--- Comment #28 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-16 07:52:47 UTC ---
Author: jakub
Date: Thu Jun 16 07:52:44 2011
New Revision: 175094
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175094
Log:
Backported from mainline
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.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.target/powerpc/outofline_rnreg.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.md
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog