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



--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-09 
18:55:42 UTC ---

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

Reply via email to