This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [pretty-ipa] Enable IPA nothrow discovery
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 19 Apr 2009 11:46:42 +0200
- Subject: Re: [pretty-ipa] Enable IPA nothrow discovery
- References: <20090413171629.GD23648@kam.mff.cuni.cz>
> * cgraph.c (cgraph_make_edge, dump_cgraph_node, cgraph_set_call_stmt):
> Set nothrow flag.
> * cgraph.h (struct function): Reduce loop_nest to 30 bits; add
> can_throw_external flag.
> * ipa-reference.c (ipa_utils_reduced_inorder): Update call.
> * ipa-pure-const.c (ignore_edge): New function.
> (propagate): Compute order for NOTHROW computation; set NOTHROWs
> only over can_throw_external edges.
> (local_pure_const): Add nothrow flag.
> * ipa-utils.c (searchc): Add ignore_edge callback.
> (ipa_utils_reduced_inorder): Add ignore_edge callback.
> * ipa-utils.h (ipa_utils_reduced_inorder): Update prototype.
> (set_nothrow_function_flags): Update cgraph.
> * tree-cfg.c (verify_stmt): Relax nothrow checking when in IPA mode.
Hi,
I've merged this to mainline now. Will do the cgraph datastructure
changes as suggested in followup.
Honza