This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r195063 - in /branches/gcc-4_7-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 09 Jan 2013 18:55:35 -0000
- Subject: r195063 - in /branches/gcc-4_7-branch/gcc: cp/C...
Author: jason
Date: Wed Jan 9 18:55:34 2013
New Revision: 195063
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195063
Log:
PR c++/55893
* decl.c (cp_finish_decl): Clear TREE_READONLY if the variable
needs destruction.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/init/const9.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/decl.c