OSDN Git Service

PR c++/26671
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2006 05:25:29 +0000 (05:25 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2006 05:25:29 +0000 (05:25 +0000)
commit7894c40b13175da9d4b515f45c97e41c2a8c44fc
treefb1503c26b7e4fe433739ebe1815160abee96c53
parenta31089ade93ba3f9a33b3703ab599a588431c6f0
    PR c++/26671
        * typeck.c (maybe_warn_about_returning_address_of_local): Look
        through COMPONENT_REF and ARRAY_REF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116714 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/warn/return-reference2.C [new file with mode: 0644]