re PR c++/49673 ([C++0x] const variables initialised with constexpr constructor place...
authorJason Merrill <jason@redhat.com>
Fri, 8 Jul 2011 14:24:14 +0000 (10:24 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 8 Jul 2011 14:24:14 +0000 (10:24 -0400)
commit329af3c7e9317952d68d3522e9e3aa6ac188332a
tree75549a817713216b259210ff71bebd09b571d835
parentb862187a34f58510107b5e77917774518ee95b69
re PR c++/49673 ([C++0x] const variables initialised with constexpr constructor placed in .data not .rodata)

PR c++/49673
gcc/c-family/
* c-common.c (c_apply_type_quals_to_decl): Don't check
TYPE_NEEDS_CONSTRUCTING.
gcc/cp/
* typeck.c (cp_apply_type_quals_to_decl): Don't check
TYPE_NEEDS_CONSTRUCTING.

From-SVN: r176045
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C [new file with mode: 0644]