re PR tree-optimization/16115 (double-destruction problem with argument passing via...
authorJason Merrill <jason@redhat.com>
Thu, 24 Jun 2004 20:07:23 +0000 (16:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 24 Jun 2004 20:07:23 +0000 (16:07 -0400)
commit3db4a9b428b760809fdff522272b95c378949e9b
treef23d2ae011d1f97ca7d6a6cfbab603fd1b9babf1
parentde7c79cc7771f311aa451103162436077aa1699a
re PR tree-optimization/16115 (double-destruction problem with argument passing via temporary (breaks auto_ptr))

        PR c++/16115
        * decl.c (grokparms): Give the PARM_DECL reference type if the
        parameter is passed by invisible reference.

From-SVN: r83609
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/init/call1.C [new file with mode: 0644]