[Bug c++/14156] no warning for address of parameter
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 23 15:22:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-23 15:22 -------
Subject: Bug 14156
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-02-23 15:22:12
Modified files:
gcc : ChangeLog c-typeck.c
gcc/cp : ChangeLog typeck.c
Log message:
PR c/14156
* c-typeck.c (c_expand_return): Change check for VAR_DECL
to use DECL_P instead.
PR c++/14156
* typeck.c (maybe_warn_about_returning_address_of_location):
Change check for VAR_DECL to use DECL_P instead.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2892&r2=2.2893
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.278&r2=1.279
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3967&r2=1.3968
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.528&r2=1.529
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14156
More information about the Gcc-bugs
mailing list