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: PR target/52555: attribute optimize is overriding command line options


On Mon, Feb 18, 2013 at 12:50:59PM -0600, Aldy Hernandez wrote:
> OK pending tests?

> 	PR target/52555
> 	* genopinit.c (raw_optab_handler): Use this_fn_optabs.
> 	(swap_optab_enable): Same.
> 	(init_all_optabs): Use argument instead of global.
> 	* tree.h (struct tree_optimization_option): New field
> 	target_optabs.
> 	* expr.h (init_all_optabs): Add argument to prototype.
> 	(TREE_OPTIMIZATION_OPTABS): New.
> 	(save_optabs_if_changed): Protoize.
> 	* optabs.h: Declare this_fn_optabs.
> 	* optabs.c (save_optabs_if_changed): New.
> 	Declare this_fn_optabs.
> 	(init_optabs): Add argument to init_all_optabs() call.
> 	* function.c (invoke_set_current_function_hook): Handle per
> 	function optabs.
> 	* function.h (struct function): New field optabs.
> 	* config/mips/mips.c (mips_set_mips16_mode): Handle when
> 	optimization_current_node has changed.
> 	* target-globals.h (save_target_globals_default_opts): Protoize.
> 	* target-globals.c (save_target_globals_default_opts): New.
> c/family
> 	PR target/52555
> 	* c-common.c (handle_optimize_attribute): Call
> 	save_optabs_if_changed.

Yes, thanks.

	Jakub


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