[Bug tree-optimization/16115] [3.5 regression] double-destruction problem with argument passing via temporary (breaks auto_ptr)
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 24 20:08:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-24 20:07 -------
Subject: Bug 16115
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2004-06-24 20:07:23
Added files:
gcc/testsuite/g++.dg/init: call1.C
Log message:
PR c++/16115
* decl.c (grokparms): Give the PARM_DECL reference type if the
parameter is passed by invisible reference.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/call1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16115
More information about the Gcc-bugs
mailing list