[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:07: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:06:58

Modified files:
	gcc/cp         : ChangeLog decl.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/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4126&r2=1.4127
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1225&r2=1.1226



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16115



More information about the Gcc-bugs mailing list