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: [RFC] Remove kludge in commit_edge_insertions


> 	* basic-block.h (force_nonfallthru): Move to...
> 	* cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook.
> 	(force_nonfallthru): ...here.
> 	* cfghooks.c (force_nonfallthru): New function.
> 	* cfgrtl.c (force_nonfallthru): Rename into...
> 	(rtl_force_nonfallthru): ...this.
> 	(commit_one_edge_insertion): Do not set AUX field.
> 	(commit_edge_insertions): Do not discover new basic blocks.
> 	(rtl_cfg_hooks): Add rtl_force_nonfallthru.
> 	(cfg_layout_rtl_cfg_hooks): Likewise.
> 	* function.c (thread_prologue_and_epilogue_insns): Remove bogus
> 	ATTRIBUTE_UNUSED.  Discover new basic blocks in the prologue insns.
> 	* tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru.

Installed after bootstrapping/regtesting on SPARC/Solaris, SPARC64/Solaris, 
IA-64/Linux and re-bootstrapping/regtesting on x86-64/Linux.

-- 
Eric Botcazou


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