aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-12-30URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller.Mark Wielaard2-1/+6
* java/net/URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller. From-SVN: r60657
2002-12-30* doc/install.texi (Testing): Mention Jacks.Tom Tromey2-0/+9
From-SVN: r60654
2002-12-30Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing.DJ Delorie3-8/+14
* Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing. * Makefile.in: Regenerated. From-SVN: r60653
2002-12-30i* Make-lang.in: Protect against texi2pod/pod2man failing.DJ Delorie2-16/+20
From-SVN: r60652
2002-12-30* doc/gcc.texi, doc/gccint.texi: Update last modification dates.Joseph Myers3-2/+6
From-SVN: r60651
2002-12-30h8300.c (output_logical_op): Use extu.w in more cases.Kazu Hirata2-6/+20
* 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
2002-12-30* doc/service.texi: Uncomment and update FAQ link.Joseph Myers2-5/+7
From-SVN: r60648
2002-12-30* gcc.c-torture/compile/20021230-1.c: New test.Daniel Jacobowitz2-0/+12
From-SVN: r60645
2002-12-30* parser.c (cp_parser_declaration_seq_opt): Handle pending_lang_change.Mark Mitchell2-0/+18
From-SVN: r60644
2002-12-30parse.y: Remove.Mark Mitchell10-5955/+35
* 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
2002-12-30* gcc.pot: Regenerate.Joseph Myers2-5431/+5896
From-SVN: r60641
2002-12-30* unwind-dw2-fde.h (last_fde): Add unused attribute for obj.Andreas Jaeger2-1/+5
From-SVN: r60640
2002-12-30parser.c (cp_parser_parameter_declaration_clause): Treat system header as ↵David Edelsohn2-1/+14
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
2002-12-30config-lang.in, [...]: GCC, not GNU CC.Nathanael Nerode5-20/+25
* config-lang.in, Make-lang.in, operators.def, cp-tree.def: GCC, not GNU CC. From-SVN: r60638
2002-12-30decl.c (grokdeclarator): Diagnost "extern thread" and "static thread" correctly.Mark Mitchell2-5/+9
* decl.c (grokdeclarator): Diagnost "extern thread" and "static thread" correctly. From-SVN: r60637
2002-12-30decl.c, [...]: GCC, not GNU CC.Nathanael Nerode4-14/+19
* decl.c, decl2.c, decl.h: GCC, not GNU CC. This is the C++ front end, not the C front end. From-SVN: r60636
2002-12-30add missing ChangelogsNathan Sidwell1-0/+22
From-SVN: r60635
2002-12-30configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments, let the ↵Phil Edwards3-3/+9
defaults work. 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
2002-12-30* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.Kazu Hirata2-0/+16
From-SVN: r60633
2002-12-30h8300.c (output_logical_op): Use extu.w if we are clearing the most ↵Kazu Hirata2-3/+30
significant byte. * 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
2002-12-30acinclude.m4: Remove trailing whitespace.Phil Edwards4-1680/+1711
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
2002-12-30cp-tree.h (THUNK_TARGET): New macro.Nathan Sidwell9-69/+181
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
2002-12-30re PR c++/9054 (segfault on legal code with option -fdump-translation-unit)Nathan Sidwell2-0/+9
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
2002-12-30Daily bump.GCC Administrator2-2/+2
From-SVN: r60626
2002-12-30Properties (formatForOutput): Don't fall through to default case after ↵Mark Wielaard2-0/+6
escaping character. * java/util/Properties (formatForOutput): Don't fall through to default case after escaping character. From-SVN: r60618
2002-12-30StringBuffer.java (getChars): Remove wrong dstOffset check against count.Mark Wielaard2-19/+25
* java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check against count. From-SVN: r60616
2002-12-30std_bitset.h: Better comments.Phil Edwards2-8/+14
2002-12-29 Phil Edwards <pme@gcc.gnu.org> * include/std/std_bitset.h: Better comments. From-SVN: r60614
2002-12-29h8300.md: Give internal names to anonymous insns.Kazu Hirata2-7/+16
* config/h8300/h8300.md: Give internal names to anonymous insns. From-SVN: r60613
2002-12-29* config/h8300/h8300.md: Reorder some insns.Kazu Hirata2-33/+41
From-SVN: r60611
2002-12-29New test.Gabriel Dos Reis1-0/+58
From-SVN: r60610
2002-12-29new test.Gabriel Dos Reis1-0/+18
From-SVN: r60609
2002-12-29gcc_update (files_and_dependencies): Add gcc/intl/plural.c as depending on ↵Gerald Pfeifer2-1/+7
gcc/intl/plural.y. * gcc_update (files_and_dependencies): Add gcc/intl/plural.c as depending on gcc/intl/plural.y. From-SVN: r60607
2002-12-29configure.in (host_configargs): Replace reference to no-longer-defined ↵Alexandre Oliva4-431/+442
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
2002-12-29re PR c++/2739 (g++ allows accessing private members)Kriang Lerdsuwanakij2-0/+40
PR c++/2739 * g++.dg/other/access2.C: New test. From-SVN: r60605
2002-12-29New test.Gabriel Dos Reis1-0/+33
From-SVN: r60604
2002-12-29new test.Gabriel Dos Reis1-0/+27
From-SVN: r60603
2002-12-29anon-struct.C: No longer failsGabriel Dos Reis5-20/+13
* 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
2002-12-29Remove traditional C constructs 4/n.Gabriel Dos Reis10-632/+479
* 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
2002-12-29h8300-protos.h: Add prototypes for const_int_qi_operand and ↵Kazu Hirata4-0/+106
const_int_hi_operand. * config/h8300/h8300-protos.h: Add prototypes for const_int_qi_operand and const_int_hi_operand. * config/h8300/h8300.c (const_int_qi_operand): New. (const_int_hi_operand): Likewise. * config/h8300/h8300.md (three peepholes): New. From-SVN: r60600
2002-12-29Daily bump.GCC Administrator2-2/+2
From-SVN: r60597
2002-12-29change error to warningJason Merrill1-1/+1
From-SVN: r60590
2002-12-28cpp.texi, [...]: Use @copying.Joseph Myers21-686/+618
gcc: * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi: Use @copying. gcc/ada: * gnat_rm.texi, gnat_ug.texi: Use @copying. * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Regenerate. gcc/f: * g77.texi: Use @copying. gcc/java: * gcj.texi: Use @copying. gcc/treelang: * treelang.texi: Use @copying. libstdc++-v3: * docs/html/17_intro/porting.texi: Use @copying. * docs/html/17_intro/porting.html: Regenerate. From-SVN: r60587
2002-12-28configure.in: Increase makeinfo version requirement to 4.[2-9].Joseph Myers4-5/+11
* configure.in: Increase makeinfo version requirement to 4.[2-9]. * configure: Regenerate. * doc/install.texi: Update Texinfo version requirement. From-SVN: r60583
2002-12-28configure.in (host_configargs): Replace reference to no-longer-defined ↵Alexandre Oliva3-219/+254
buildopts with --build=${build_alias}. * configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}. * configure: Rebuilt. From-SVN: r60582
2002-12-28acx.m4: Name cache variables properly.Alexandre Oliva2-13/+19
* acx.m4: Name cache variables properly. (NCN_STRICT_CHECK_TOOL): If program is not found and value-if-not-found is empty, use ${ncn_tool_prefix}$2 or $2, depending on whether build != host or not. (NCN_STRICT_CHECK_TARGET_TOOL): Ditto, with the target prefix. From-SVN: r60581
2002-12-28Makefile.tpl ($(NOTPARALLEL)): Move to the end.Alexandre Oliva3-34/+57
* Makefile.tpl ($(NOTPARALLEL)): Move to the end. Bring uses of program_transform_name to standard idiom. (AUTOGEN, AUTOCONF): Define. (Makefile.in): Use $(AUTOGEN). (Makefile): Depend on config.status, and use autoconf-style rule to build it. Move original commands to... (config.status): ... this new target. (configure): Add $(srcdir). Depend on config/acx.m4. Use $(AUTOCONF). * Makefile.in: Rebuilt. From-SVN: r60580
2002-12-28* gcc_update (configure): Depend on config/acx.m4 as well.Alexandre Oliva2-1/+3
From-SVN: r60579
2002-12-28Remove traditional C constructs 3/n.Gabriel Dos Reis8-100/+90
* cvt.c (cp_convert_to_pointer, convert_to_pointer_force, build_up_reference, warn_ref_binding, convert_to_reference, convert_from_reference, convert_lvalue, cp_convert, ocp_convert, convert_to_void, convert, convert_force, build_type_conversion, build_expr_type_conversion, type_promotes_to, perform_qualification_conversions): Use C90 prototyping style. * decl2.c (grok_array_decl): Use boolean constant. (delete_sanity): Likewise. * typeck.c (build_unary_op): Likewise. * semantics.c (finish_switch_cond): Likewise. * parser.c (cp_parser_direct_new_declarator): Likewise. * init.c (build_new): Likewise. From-SVN: r60574
2002-12-28i386.c (x86_function_profiler): Mark labelno as possibly unused.Andreas Jaeger2-1/+4
* config/i386/i386.c (x86_function_profiler): Mark labelno as possibly unused. From-SVN: r60573
2002-12-28* g++.dg/parse/angle-bracket.C (main): No longer fails.Gabriel Dos Reis2-1/+5
From-SVN: r60572