summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/text/SimpleDateFormat.java
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-29 14:08:50 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-29 14:08:50 +0000
commite6ef0e42bc02d132e5b17790347ac7670ff69f61 (patch)
treea365e22cb324c02aefb465f5f8efd813b9e48964 /libjava/classpath/java/text/SimpleDateFormat.java
parentdd350d42d405e367ced9bab20c95865c70e4855e (diff)
downloadppe42-gcc-e6ef0e42bc02d132e5b17790347ac7670ff69f61.tar.gz
ppe42-gcc-e6ef0e42bc02d132e5b17790347ac7670ff69f61.zip
PR c++/23099
* cp-tree.h (saved_scope): Add skip_evaluation. * decl.c (start_decl): Use DECL_INITIALIZED_IN_CLASS_P, not DECL_INITIAL, to determine whether or not a static data member was initialized in the class-specifier. (cp_finish_decl): Add comment. * init.c (integral_constant_value): Subtitute into the initializers for static data members in templates. * name-lookup.c (push_to_top_level): Save skip_evaluation. (pop_from_top_level): Restore it. * pt.c (instantiate_class_template): Do not substitute into the intializers of static data members when instantiating a class. (regenerate_decl_from_template): Simplify. (instantiate_decl): Tidy. Substitute into the initializer for a static data member even when the definition of the data member is not available. PR c++/23099 * g++.dg/init/member1.C: Make sure erroneous static data member definitions are required. * g++.dg/template/static13.C: New test. * g++.dg/template/static14.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103604 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/text/SimpleDateFormat.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud