This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54026] [4.7/4.8 regression] template const struct with mutable members erroneously emitted to .rodata


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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-20 06:29:37 UTC ---
Author: jason
Date: Fri Jul 20 06:29:33 2012
New Revision: 189702

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189702
Log:
    PR c++/54026
    * typeck.c (cp_apply_type_quals_to_decl): Check COMPLETE_TYPE_P.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/init/mutable1.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/typeck.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]