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++/49673] [C++0x] const variables initialised with constexpr constructor placed in .data not .rodata


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-08 14:24:17 UTC ---
Author: jason
Date: Fri Jul  8 14:24:14 2011
New Revision: 176045

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176045
Log:
    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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


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