Commit 4892422a by Jan Hubicka Committed by Jan Hubicka

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
parent 6a866023
2010-05-31 Jan Hubicka <jh@suse.cz>
* 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.
2010-05-31 Jakub Jelinek <jakub@redhat.com>
PR middle-end/44337
......
2010-05-31 Jan Hubicka <jh@suse.cz>
* gcc.dg/builtin-apply4.c: Compile with -Wmissing-return.
2010-05-31 Jakub Jelinek <jakub@redhat.com>
PR middle-end/44337
......
/* PR tree-optimization/20076 */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -Wmissing-noreturn" } */
/* { dg-options "-O2 -mno-mmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do run } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment