re PR c++/54026 (template const struct with mutable members erroneously emitted to...
authorJason Merrill <jason@redhat.com>
Fri, 20 Jul 2012 06:29:13 +0000 (02:29 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 20 Jul 2012 06:29:13 +0000 (02:29 -0400)
commit6d876e0b31aab2bf03e93b1d4705330f20f2c656
treebaef4220044fb92168ef5b16a7e69b0d9aa7c9bd
parentc62c6622bcf2906969975f5741072d842c667851
re PR c++/54026 (template const struct with mutable members erroneously emitted to .rodata)

PR c++/54026
* typeck.c (cp_apply_type_quals_to_decl): Check COMPLETE_TYPE_P.

From-SVN: r189701
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/mutable1.C [new file with mode: 0644]