re PR c++/20416 (Incorrect lifetime for temporary with static const reference)
authorJason Merrill <jason@redhat.com>
Thu, 4 Oct 2007 17:58:07 +0000 (13:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 4 Oct 2007 17:58:07 +0000 (13:58 -0400)
commit42f02385bdfb21849e984584082047881f53d8c9
tree4842f3ff4a89a087a33325db52de73941ed4aadd
parent37b22c82838f375dc1302a1ee1220fd5a81a3a1a
re PR c++/20416 (Incorrect lifetime for temporary with static const reference)

        PR c++/20416
        * call.c (initialize_reference): Handle local static reference
        temps properly.

From-SVN: r129020
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/init/ref15.C [new file with mode: 0644]