gimple.c (gimple_call_builtin_p): New function.
authorJan Hubicka <jh@suse.cz>
Mon, 31 May 2010 16:13:24 +0000 (18:13 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 31 May 2010 16:13:24 +0000 (16:13 +0000)
commit4892422a064e6f5d633123afecf6e95e4fca0f48
tree3016bb4ca58313b7285eca10e69bd21e1ba1994d
parent6a866023b73e83b4cd3692b3655ad0522fddddaa
gimple.c (gimple_call_builtin_p): New function.

* 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.

From-SVN: r160078
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtin-apply4.c