This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Patch][AVR]: Support tail calls
- From: "Weddington, Eric" <Eric dot Weddington at atmel dot com>
- To: "Georg-Johann Lay" <avr at gjlay dot de>, <gcc-patches at gcc dot gnu dot org>
- Cc: "Denis Chertykov" <chertykov at gmail dot com>, "Anatoly Sokolov" <aesok at post dot ru>, "Boyapati, Anitha" <Anitha dot Boyapati at atmel dot com>, "Joerg Wunsch" <joerg_wunsch at uriah dot heep dot sax dot de>
- Date: Fri, 11 Mar 2011 07:28:34 -0700
- Subject: RE: [Patch][AVR]: Support tail calls
- References: <4D7A2711.4060801@gjlay.de>
> -----Original Message-----
> From: Georg-Johann Lay [mailto:avr@gjlay.de]
> Sent: Friday, March 11, 2011 6:44 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Denis Chertykov; Anatoly Sokolov; Weddington, Eric; Boyapati, Anitha
> Subject: [Patch][AVR]: Support tail calls
>
> This is a patch to test/review/comment on. It adds tail call
> optimization to avr backend.
<snip>
> I did not find a way to make this work together with -mcall-prologues.
> Please let me know if you have suggestion on how call prologues can be
> combine with tail calls.
Yeah, we're going to have to find a way to make this work with -mcall-prologues because that is a very commonly used target optimization switch.
Eric