This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: non-local goto optimization


Roman Zippel <zippel@linux-m68k.org> writes:

> Hi,
>
> On Fri, 6 Jul 2007, Eric Botcazou wrote:
>
>> > 200x-xx-xx  Roman Zippel <zippel@linux-m68k.org>
>> >
>> > 	* function.h (struct function): Rename calls_unwind_init
>> > 	to saves_all_register.
>> > 	(current_function_saves_all_register): Renamed from
>> > 	current_function_calls_unwind_init.
>> > 	* reload1.c (reload): Set current_function_saves_all_register.
>> > 	* except.c (expand_builtin_unwind_init): Likewise.
>> 
>> This is OK *only* if you add the missing 's' to saves_all_register. :-)
>> 
>> > 	* config/i386/i386.c (ix86_save_reg): Use
>> > 	current_function_saves_all_register to save pic register.
>> > 	* config/m68k/m68k.c (m68k_save_reg): Likewise.
>> 
>> I cannot approve this.
>> 
>> 
>> Architecture maintainers CCed, your back-end tests the flag
>
> Ping?
> Full patch at http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00560.html

The m68k part is ok.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]