This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enabling -frename-registers?
- From: Alan Modra <amodra at gmail dot com>
- To: Bernd Schmidt <bschmidt at redhat dot com>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>, Richard Biener <richard dot guenther at gmail dot com>, Jeffrey Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Wed, 4 May 2016 19:07:45 +0930
- Subject: Re: Enabling -frename-registers?
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnykBEjYMgOCaR_ZGLwB3fxPg-pB3WPSwAvmUBXzmXct8gg at mail dot gmail dot com> <57236285 dot 5090908 at redhat dot com> <CAGWvnykKwAtfSin23FP4L0bNgH4bSAdV+vMRTOe+dPk15oAfGg at mail dot gmail dot com> <57236547 dot 2070707 at redhat dot com> <CAGWvnyka9pPjOmFFb8avhBWNAOWGygOeCfUzKCZbY3dxux48LQ at mail dot gmail dot com> <443D7834-6E23-4046-8DD7-F1D8F2593F2B at gmail dot com> <CAGWvny=KPTheWKc-CbKrWGsGfBXB9vWz57RfVRUY_NTOBPUKZg at mail dot gmail dot com> <57292BBF dot 8010202 at redhat dot com> <20160504090528 dot GX18915 at bubble dot grove dot modra dot org> <5729BC1F dot 6050708 at redhat dot com>
On Wed, May 04, 2016 at 11:08:47AM +0200, Bernd Schmidt wrote:
> On 05/04/2016 11:05 AM, Alan Modra wrote:
> >I agree it's good to find these things.. Another nasty bug to add to
> >the list is complete breakage of gccgo on powerpc64le. I see register
> >renaming around the prologue call to __morestack, which trashes
> >function arguments.
>
> How does this come about, is there something incorrect about the RTL
> representation of __morestack?
That's highly likely. call_fusage is just r12, it's non-standard
parameter.
--
Alan Modra
Australia Development Lab, IBM