This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44618] Arguments are not passed correctly to out-of-line restore functions.
- From: "edmar at freescale dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2010 21:18:03 -0000
- Subject: [Bug target/44618] Arguments are not passed correctly to out-of-line restore functions.
- References: <bug-44618-12262@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from edmar at freescale dot com 2010-06-21 21:18 -------
(In reply to comment #6)
> I think this is the wrong fix .... I think the problem is in the patterns not
> using a hard register or a constraint that says only those registers can be
> used.
>
> Confirmed.
>
I mostly agree with you. But in this case, it is already a hard register (rtl
generated in epilogue).
If the goal is to fix the bug changing only the powerpc end. I must use some
constraint already coded in regrename.c. But, IMHO, I did not see anything
appropriated. So I resorted to the solution I posted ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618