* 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@160078
138bc75d-0d04-0410-961f-
82ee72b054a4
+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 } */