This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -fuse-caller-save - Enable for MIPS
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: "gcc-patches\ at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 28 Apr 2014 15:55:40 +0100
- Subject: Re: -fuse-caller-save - Enable for MIPS
- Authentication-results: sourceware.org; auth=none
- References: <534ED7BC dot 50300 at mentor dot com> <534FF0F9 dot 60404 at redhat dot com> <87lhv4ug7f dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com> <53500628 dot 2090802 at redhat dot com> <5356853D dot 8050905 at mentor dot com> <535A5A8F dot 30901 at mentor dot com> <8761lxr1ay dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com> <535BA119 dot 8090504 at mentor dot com> <8761lvcbjo dot fsf at talisman dot default> <535D94EE dot 6080704 at mentor dot com> <87ha5du4w0 dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com> <535E31CE dot 4040303 at mentor dot com> <535E452B dot 3000304 at mentor dot com>
Tom de Vries <Tom_deVries@mentor.com> writes:
>> If so,
>> should -fuse-caller-save imply -fcaller-saves?
>
> I don't think it's strictly necessary, but I can make a patch if required.
Implying -fcaller-saves seems better to me, since "-O -fuse-caller-save"
looks like it should enable the new optimisation. It's not my call though.
Thanks,
Richard