* gimple.c (gimple_call_builtin_p): New function.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2010 16:25:35 +0000 (16:25 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2010 16:25:35 +0000 (16:25 +0000)
commit3ea38c1f35c70c83ce74f3dcd0d20ef54e078dd4
tree7abd6b17d74d7f3258b196f10f26ef8e74c4a1bc
parent34a510a1f647c486bd213922cd5dc60f9ee6b1a0
* gimple.c (gimple_call_builtin_p): New function.
* gimple.h (gimple_call_builtin_p): Declare.
* tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN
to exit.
(execute_warn_function_return): BUILT_IN_RETURN is return.
(split_critical_edges): Return edges are not critical.
(is_ctrl_altering_stmt): Builtin_in_return is altering.
(gimple_verify_flow_info): Handle built_in_return.
(execute_warn_function_return): Handle built_in_return.
* ipa-pure-const.c (check_call): Ignore builtin_return.

* gcc.dg/builtin-apply4.c: Compile with -Wmissing-return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160079 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/gimple.c
gcc/gimple.h
gcc/ipa-pure-const.c
gcc/tree-cfg.c