diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-09-03 18:18:48 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2005-09-03 18:18:48 +0000 |
commit | 2725073463dfe4d70a5111f6723a2f4ea36ba875 (patch) | |
tree | ce48d74b7c9e2e53dacefc8aad93e808cce4796a /libobjc | |
parent | 7c95bbfbddcdadec7ca9f7662f55c74159064107 (diff) | |
download | gcc-2725073463dfe4d70a5111f6723a2f4ea36ba875.zip gcc-2725073463dfe4d70a5111f6723a2f4ea36ba875.tar.gz gcc-2725073463dfe4d70a5111f6723a2f4ea36ba875.tar.bz2 |
re PR c++/23699 (rejects static int as non constant after "extern template")
PR c++/23699
* decl2.c (mark_used): Always instantiate static data members
initialized by constant expressions.
* pt.c (instantiate_decl): Instantiate the initializers for static
data members initialized by constant expressions.
PR c++/21687
* semantics.c (expand_or_defer_fn): Do not call ggc_collect when
finishing processing for a template function in a local class.
Revert:
2005-09-02 Mark Mitchell <mark@codesourcery.com>
* parser.c (cp_parser_class_specifier): Push/pop GC contexts
around functions in local classes.
PR c++/23699
* g++.dg/ext/static1.C: New test.
From-SVN: r103806
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions