- Dec 31, 2002
-
-
Mark Mitchell authored
* parser.c (cp_parser_context_free_list): New variable. (cp_parser_context_new): Use it. (cp_parser_error): Check return code from cp_parser_simulate_error. (cp_parser_simulate_error): Return a value. (cp_parser_id_expression): Optimize common case. (cp_parser_class_name): Likewise. (cp_parser_class_specifier): Adjust call to cp_parser_late_parsing_default_args. (cp_parser_lookup_name): Optimize common case. (cp_parser_late_parsing_for_member): Adjust call to cp_parser_late_parsing_default_args. (cp_parser_late_parsing_default_args): Add scope parameter. (cp_parser_require): Avoid creating the error message unless it's needed. (cp_parser_parse_definitely): Place free'd contexts on the free list. From-SVN: r60665
-
- Dec 30, 2002
-
-
Tom Tromey authored
* gcj/javaprims.h: Updated. * scripts/classes.pl (scan): Removed stray semicolon. From-SVN: r60659
-
Mark Wielaard authored
* java/net/URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller. From-SVN: r60657
-
Tom Tromey authored
From-SVN: r60654
-
DJ Delorie authored
* Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing. * Makefile.in: Regenerated. From-SVN: r60653
-
DJ Delorie authored
From-SVN: r60652
-
Joseph Myers authored
From-SVN: r60651
-
Kazu Hirata authored
* config/h8300/h8300.c (output_logical_op): Use extu.w in more cases. (compute_logical_op_length): Update to reflect the change in output_logical_op. (compute_logical_op_cc): Likewise. From-SVN: r60649
-
Joseph Myers authored
From-SVN: r60648
-
Daniel Jacobowitz authored
From-SVN: r60645
-
Mark Mitchell authored
From-SVN: r60644
-
Mark Mitchell authored
* parse.y: Remove. * spew.c: Likewise. * Make-lang.in (gt-cp-spew.h): Remove. * cp-tree.h (do_pending_lang_change): Remove. (do_identifier): Change prototype. (finish_id_expr): Remove. * decl.c (lookup_name_real): Remove yylex variable. * decl2.c (build_expr_from_tree): Adjust call to do_identifier. * lex.c (init_cpp_parse): Remove. (reduce_cmp): Likewise. (token_cmp): Likewise. (yychar): Likewise. (lastiddecl): Likewise. (token_count): Likewise. (reduce_count): Likewise. (yyhook): Likewise. (print_parse_statistics): Likewise. (do_pending_lang_change): Likewise. (do_identifier): Remove parsing parameter. * lex.h (lastiddecl): Remove. (looking_for_typename): Remove. (looking_for_template): Likewise. (pending_lang_change): Likewise. (yylex): Likewise. * semantics.c (finish_id_expr): Remove. From-SVN: r60642
-
Joseph Myers authored
From-SVN: r60641
-
Andreas Jaeger authored
From-SVN: r60640
-
David Edelsohn authored
parser.c (cp_parser_parameter_declaration_clause): Treat system header as extern "C" if NO_IMPLICIT_EXTERN_C undefined. * parser.c (cp_parser_parameter_declaration_clause): Treat system header as extern "C" if NO_IMPLICIT_EXTERN_C undefined. From-SVN: r60639
-
Nathanael Nerode authored
* config-lang.in, Make-lang.in, operators.def, cp-tree.def: GCC, not GNU CC. From-SVN: r60638
-
Mark Mitchell authored
* decl.c (grokdeclarator): Diagnost "extern thread" and "static thread" correctly. From-SVN: r60637
-
Nathanael Nerode authored
* decl.c, decl2.c, decl.h: GCC, not GNU CC. This is the C++ front end, not the C front end. From-SVN: r60636
-
Nathan Sidwell authored
From-SVN: r60635
-
Phil Edwards authored
2002-12-30 Phil Edwards <pme@gcc.gnu.org> * configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments, let the defaults work. * configure: Regenerate. From-SVN: r60634
-
Kazu Hirata authored
From-SVN: r60633
-
Kazu Hirata authored
* config/h8300/h8300.c (output_logical_op): Use extu.w if we are clearing the most significant byte. (compute_logical_op_length): Update to reflect the change in output_logical_op. (compute_logical_op_cc): Likewise. From-SVN: r60632
-
Phil Edwards authored
2002-12-30 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4: Remove trailing whitespace. (GLIBCPP_ENABLE_CXX_FLAGS): Fix. * aclocal.m4, configure: Regenerate. From-SVN: r60631
-
Nathan Sidwell authored
cp: * cp-tree.h (THUNK_TARGET): New macro. (THUNK_VIRTUAL_OFFSET): For result thunks it is always a binfo. (finish_thunk): Remove offset parms. * class.c (find_final_overrider): Look through thunks. (get_vcall_index): Use THUNK_TARGET. (update_vtable_entry_for_fn): Look through thunks. Set covariant fixed offset here. Adjust finish_thunk call. (build_vtbl_initializer): Adjust finish_thunk calls. * mangle.c (mangle_call_offset): Remove superfluous if. (mangle_thunk): Adjust. * method.c (make_thunk): Adjust. (finish_thunk): Adjust. (thunk_adjust): Remove assert. (use_thunk): Use THUNK_TARGET * dump1.c (cp_dump_tree): Adjust thunk dumping. testsuite: * g++.dg/inherit/covariant5.C: New test. * g++.dg/inherit/covariant6.C: New test. * g++.dg/inherit/covariant7.C: New test. From-SVN: r60628
-
Nathan Sidwell authored
PR c++/9054 * class.c (layout_class_type): Set DECL_CONTEXT of type for base. * dump.c (cp_dump_tree, RECORD_TYPE): Deal with type for base types. From-SVN: r60627
-
GCC Administrator authored
From-SVN: r60626
-
Mark Wielaard authored
* java/util/Properties (formatForOutput): Don't fall through to default case after escaping character. From-SVN: r60618
-
Mark Wielaard authored
* java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check against count. From-SVN: r60616
-
Phil Edwards authored
2002-12-29 Phil Edwards <pme@gcc.gnu.org> * include/std/std_bitset.h: Better comments. From-SVN: r60614
-
- Dec 29, 2002
-
-
Kazu Hirata authored
* config/h8300/h8300.md: Give internal names to anonymous insns. From-SVN: r60613
-
Kazu Hirata authored
From-SVN: r60611
-
Gabriel Dos Reis authored
From-SVN: r60610
-
Gabriel Dos Reis authored
From-SVN: r60609
-
Gerald Pfeifer authored
* gcc_update (files_and_dependencies): Add gcc/intl/plural.c as depending on gcc/intl/plural.y. From-SVN: r60607
-
Alexandre Oliva authored
configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}. * configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}. * configure: Rebuilt. From-SVN: r60606
-
Kriang Lerdsuwanakij authored
PR c++/2739 * g++.dg/other/access2.C: New test. From-SVN: r60605
-
Gabriel Dos Reis authored
From-SVN: r60604
-
Gabriel Dos Reis authored
From-SVN: r60603
-
Gabriel Dos Reis authored
* g++.dg/other/anon-struct.C: No longer fails * g++.old-deja/g++.brendan/parse4.C: Likewise. * g++.old-deja/g++.brendan/parse5.C: Likewise. * g++.old-deja/g++.brendan/parse6.C: Likewise. From-SVN: r60602
-
Gabriel Dos Reis authored
* decl2.c (grok_method_quals, warn_if_unknown_interface, grok_x_components, cp_build_parm_decl, build_artificial_parm, maybe_retrofit_in_chrg, grokclassfn, grok_array_decl, delete_sanity, check_member_template, check_java_method, check_classfn, finish_static_data_member_decl, grokfield, grokbitfield, grokoptypename, grok_function_init, cplus_decl_attributes, constructor_name, defer_fn, build_anon_union_vars, finish_anon_union, coerce_new_type, coerce_delete_type, comdat_linkage, maybe_make_one_only, key_method, import_export_vtable, import_export_class, output_vtable_inherit, import_export_decl, import_export_tinfo, build_cleanup, get_guard, get_guard_bits, get_guard_cond, set_guard, start_objects, finish_objects, start_static_storage_duration_function, finish_static_storage_duration_function, get_priority_info, start_static_initialization_or_destruction, finish_static_initialization_or_destruction, do_static_initialization, do_static_destruction, prune_vars_needing_no_initialization, write_out_vars, reparse_decl_as_expr, finish_decl_parsing, namespace_ancestor, add_using_namespace, merge_functions, ambiguous_decl, lookup_using_namespace, lookup_using_namespace, qualified_lookup_using_namespace, set_decl_namespace, decl_namespace, current_decl_namespace, push_decl_namespace, pop_decl_namespace, push_scope, pop_scope, add_function, arg_assoc_namespace, arg_assoc_template_arg, arg_assoc, lookup_arg_dependent, do_namespace_alias, validate_nonmember_using_decl, do_nonmember_using_decl, do_toplevel_using_decl, do_local_using_decl, do_class_using_decl, do_using_directive, check_default_args, mark_used, handle_class_head): Use C90 prototypings. Use booleans. * parser.c (cp_parser_class_head): Use booleanss. * decl.c (walk_globals, walk_vtables): Likewise. * cp-tree.h (walk_globals_pred, walk_globals_fn, walk_vtables, walk_globals): Change return type from 'int' to 'bool'. * rtti.c (init_rtti_processing, build_headof, throw_bad_cast throw_bad_typeid, get_tinfo_decl_dynamic, typeid_ok_p, build_typeid, tinfo_name, get_tinfo_decl, get_tinfo_ptr, get_typeid, ifnonnull, build_dynamic_cast_1, build_dynamic_cast, qualifier_flags, tinfo_base_init, generic_initializer, ptr_initializer, dfs_class_hint_mark, ptm_initializer, dfs_class_hint_unmark, class_hint_flags, class_initializer, typeinfo_in_lib_p, get_pseudo_ti_init, create_pseudo_type_info, get_pseudo_ti_desc, create_tinfo_types, emit_support_tinfos, unemitted_tinfo_decl_p, emit_tinfo_decl): Likewise. * repo.c (repo_compile_flags, repo_template_declared, repo_template_defined, repo_class_defined, repo_get_id, repo_template_used, repo_vtable_used, repo_inline_used, repo_tinfo_used, repo_template_instantiated, extract_string, open_repo_file, afgets, init_repo, reopen_repo_file_for_write, finish_repo): Likewise. * ptree.c (cxx_print_decl, cxx_print_type, cxx_print_identifier, cxx_print_xnode): Likewise.. * cp-lang.c (ok_to_generate_alias_set_for_type, cxx_get_alias_set, cxx_warn_unused_global_decl, cp_expr_size): Likewise. * cxxfilt.c (demangle_it, print_demangler_list, usage, standard_symbol_characters, hp_symbol_characters, main, fatal): Likewise. (strip_underscore): Change type from 'int' to 'bool'. (main): Use boolean constants. From-SVN: r60601
-