PR c/14156
commitaaadf915ccb743d497943948a05dcffd94f174b8
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Feb 2004 15:22:04 +0000 (23 15:22 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Feb 2004 15:22:04 +0000 (23 15:22 +0000)
tree98bb075b06df549ab40f11fb2ff9565873b0dde8
parentb5a8fc238822b8dc206ec625ccd96f9d3b299880
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78312 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/typeck.c