re PR c++/14804 ([unit-at-a-time] initializing const data with…
re PR c++/14804 ([unit-at-a-time] initializing const data with reinterpret_cast-ed pointer-to-member function crashes)
PR c++/14804
* decl.c (cp_finish_decl): Preserve TREE_READONLY more often.
* typeck2.c (split_nonconstant_init): Clear TREE_READONLY.
From-SVN: r80318
Showing
gcc/testsuite/g++.dg/init/static2.C
0 → 100644
Please
register
or
sign in
to comment