This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.tree-ssa c-lang.c c-objc-com ...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 10 Feb 2004 00:53:36 -0000
- Subject: gcc/gcc ChangeLog.tree-ssa c-lang.c c-objc-com ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2004-02-10 00:53:36
Modified files:
gcc : ChangeLog.tree-ssa c-lang.c c-objc-common.c
c-tree.h flow.c function.c function.h
langhooks-def.h langhooks.h output.h toplev.c
tree-cfg.c tree-optimize.c tree-pass.h
gcc/cp : ChangeLog.tree-ssa cp-lang.c cp-tree.h decl.c
gcc/objc : objc-lang.c
gcc/testsuite : ChangeLog.tree-ssa
gcc/testsuite/gcc.dg: noreturn-1.c noreturn-4.c noreturn-7.c
return-type-3.c uninit-6.c uninit-8.c
Log message:
* langhooks.h (lang_hooks_for_functions): Add missing_noreturn_ok_p.
* langhooks-def.h, c-lang.c, objc/objc-lang.c
(LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P): New.
* c-objc-common.c (c_missing_noreturn_ok_p): Return bool.
(c_objc_common_init): Don't set lang_missing_noreturn_ok_p.
* c-tree.h (c_missing_noreturn_ok_p): Update decl.
* flow.c (lang_missing_noreturn_ok_p): Remove.
cp/
* cp-lang.c (LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P): New.
* cp-tree.h (cp_missing_noreturn_ok_p): Declare.
* decl.c (cp_missing_noreturn_ok_p): Export.
(cxx_init_decl_processing): Don't set lang_missing_noreturn_ok_p.
* flow.c (check_function_return_warnings): Move to tree-cfg.c.
* toplev.c (rest_of_compilation): Don't call it.
* tree-cfg.c (execute_warn_function_return): Move from flow.c,
rename, update for tree vs rtl.
(pass_warn_function_return): New.
* tree-pass.h (pass_warn_function_return): Declare it.
* tree-optimize.c (init_tree_optimization_passes): Run it.
* function.h (struct function): Remove x_clobber_return_insn.
* function.c (free_after_compilation): Don't set it.
(expand_function_end): Likewise.
testsuite/
* gcc.dg/noreturn-1.c: Adjust line numbers on warnings.
* gcc.dg/noreturn-4.c: Likewise.
* gcc.dg/noreturn-7.c: Likewise. Adjust warnings for
changes to tail-call optimizations.
* gcc.dg/return-type-3.c: Turn on optimization.
* gcc.dg/uninit-6.c: Adjust line numbers on warnings.
* gcc.dg/uninit-8.c: XFAIL.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1173&r2=1.1.2.1174
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-lang.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.94.2.18&r2=1.94.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-objc-common.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.14.2.23&r2=1.14.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.99.2.28&r2=1.99.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/flow.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.534.2.24&r2=1.534.2.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.374.2.40&r2=1.374.2.41
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.83.2.25&r2=1.83.2.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks-def.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.34.2.28&r2=1.34.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.42.2.29&r2=1.42.2.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/output.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.107.2.21&r2=1.107.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.654.2.94&r2=1.654.2.95
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.264&r2=1.1.4.265
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-optimize.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.116&r2=1.1.4.117
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-pass.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.69&r2=1.1.2.70
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-lang.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.36.2.29&r2=1.36.2.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.719.2.49&r2=1.719.2.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.911.2.60&r2=1.911.2.61
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-lang.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.24.2.14&r2=1.24.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.167&r2=1.1.2.168
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noreturn-1.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.7.28.4&r2=1.7.28.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noreturn-4.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.26.2&r2=1.1.26.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noreturn-7.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.8.1&r2=1.1.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/return-type-3.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.8.1&r2=1.1.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/uninit-6.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.2&r2=1.2.36.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/uninit-8.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.2.36.1&r2=1.2.36.2