This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13863] [tree-ssa] gcc.dg/uninit-D.c fails
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2004 15:20:40 -0000
- Subject: [Bug c/13863] [tree-ssa] gcc.dg/uninit-D.c fails
- References: <20040126051521.13863.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-06 15:20 -------
Subject: Bug 13863
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: pinskia@gcc.gnu.org 2004-02-06 15:20:31
Modified files:
gcc : ChangeLog.tree-ssa c-common.c c-common.h
c-lang.c c-simplify.c function.c
langhooks-def.h langhooks.c langhooks.h
gcc/cp : ChangeLog.tree-ssa cp-lang.c
gcc/objc : objc-lang.c
Log message:
2004-02-06 Andrew Pinski <pinskia@physics.uc.edu>
PR c/13863
* c-common.c (c_decl_uninit_1): Remove.
(c_decl_uninit): Remove.
* c-common.h (c_decl_uninit): Remove prototype.
* c-lang.c (LANG_HOOKS_DECL_UNINIT): Delete.
* objc/objc-lang.c (LANG_HOOKS_DECL_UNINIT): Delete.
* c-simplify.c (gimplify_decl_stmt): Set TREE_NO_WARNING
on the decl where the initial is itself.
* function.c (uninitialized_vars_warning): Remove old comment
and check for DECL_INITIAL, replace with a check of TREE_NO_WARNING
and do not call the langhook.
* langhooks-def.h (LANG_HOOKS_DECL_UNINIT): Remove.
(LANG_HOOKS_INITIALIZER): Remove usage of LANG_HOOKS_DECL_UNINIT.
* langhooks.c (lhd_decl_uninit): Remove.
* langhooks.h (lhd_decl_uninit): Remove prototype.
2004-02-06 Andrew Pinski <pinskia@physics.uc.edu>
PR c/13863
* cp-lang.c (LANG_HOOKS_DECL_UNINIT): Remove.
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.1159&r2=1.1.2.1160
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.344.2.59&r2=1.344.2.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.141.2.45&r2=1.141.2.46
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.17&r2=1.94.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-simplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.91&r2=1.1.4.92
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.38&r2=1.374.2.39
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.27&r2=1.34.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.31.2.21&r2=1.31.2.22
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.28&r2=1.42.2.29
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.68&r2=1.1.2.69
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.28&r2=1.36.2.29
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.13&r2=1.24.2.14
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13863