This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, AVR]: PR42240 - Fix epilogue of naked functions
- From: Denis Chertykov <chertykov at gmail dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Anatoly Sokolov <aesok at post dot ru>, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Sun, 27 Feb 2011 11:37:58 +0300
- Subject: Re: [Patch, AVR]: PR42240 - Fix epilogue of naked functions
- References: <4D63C3D4.1080000@gjlay.de> <4D68F893.5030801@gjlay.de>
2011/2/26 Georg-Johann Lay <avr@gjlay.de>:
> Georg-Johann Lay schrieb:
>
> http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01441.html
>
>> The patch implements target hook TARGET_CANNOT_MODIFY_JUMPS_P in order
>> to inhibit post-reload bb reorder for naked functions.
>>
>> It's basically the same patch as proposed in bug data base and works
>> for the test case attached there.
>>
>> The patch works just as well for gcc-4.5.2. Should I provide a
>> seperate patch against 4.5.2 (tags/gcc_4_5_2_release) or is this patch
>> (against trunk) sufficient?
>>
>> Johann
>>
>> --
>>
>> 2011-02-11 ÂGeorg-Johann Lay Â<avr@gjlay.de>
>>
>> Â Â Â ÂPR target/42240
>> Â Â Â Â* config/avr/avr.c (avr_cannot_modify_jumps_p): New function.
>> Â Â Â Â(TARGET_CANNOT_MODIFY_JUMPS_P): Define.
>>
Applied.
Denis.