GCC Administrator [Sat, 28 Dec 2002 08:17:42 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60567
Mark Mitchell [Sat, 28 Dec 2002 08:03:42 +0000 (08:03 +0000)]
Make-lang.in (po-generated): Remove parse.c.
* Make-lang.in (po-generated): Remove parse.c.
(CXX_OBJS): Remove parse.o and spew.o. Add parser.o.
($(srcdir)/cp/parse.h): Remove target.
($(srcdir)/cp/parse.c): Likewise.
(gt-cp-parse.h): Likewise.
(gt-cp-parser.h): New target.
(c++.distclean): Do not remove parse.output.
(c++.maintainer-clean): Do not remove parse.c or parse.h.
(cp/spew.o): Remove target.
(cp/lex.o): Adjust dependencies.
(cp/pt.o): Likewise.
(cp/parse.o): Likewise.
(cp/TAGS): Do not mention parse.c.
(cp/parser.o): New target.
* NEWS: Mention the new parser.
* call.c (build_scoped_method_call): Simplify.
(build_method_call): Likewise.
(build_new_function_call): Adjust calls to add_function_candidate
and add_template_candidate.
(build_new_op): Improve handling of erroroneous operands.
(convert_default_arg): Remove circular argument processing.
(name_as_c_string): New function.
(build_new_method_call): Use it.
(perform_implicit_conversion): Use error_operand_p.
* class.c (finish_struct_anon): Use constructor_name_p.
(check_field_decls): Likewise.
(pop_nested_class): Use OVL_NEXT, not OVL_CHAIN.
(resolve_address_of_overloaded_function): Likewise.
(instantiate_type): Tweak pointer-to-member handling.
(get_primary_binfo): Remove incorrect assertion.
* config-lang.in (gtfiles): Add parser.c, remove parse.c.
* cp-tree.h (DEFARG_TOKENS): New macro.
(default_arg): New structure.
(cp_tree_node_structure_enum): Add TS_CP_DEFAULT_ARG.
(lang_tree_node): Add default_arg.
(cp_tree_index): Add CPTI_TYPE_INFO_REF_TYPE.
(type_info_ref_type): New macro.
(saved_scope): Make processing_explicit_instantiation a boolean.
(check_access): New field.
(unparsed_text): Remove.
(language_function): Remove unparsed_inlines.
(error_operand_p): New macro.
(lang_decl): Adjust pending_inline_info.
(DEFARG_POINTER): Remove.
(tag_types): Add typenames.
(lookup_ualified_name): Declare.
(lookup_name_real): Likewise.
(shadow_tag): Adjust prototype.
(get_scope_of_declarator): Declare it.
(process_next_inline): Remove it.
(check_for_missing_semicolon): Likewise.
(maybe_get_template_decl_from_type_decl): Declare it.
(finish_label_stmt): Adjust prototype.
(finish_non_static_data_meber): Declare it.
(finish_pseudo_destructor_call_expr): Rename to ...
(finish_pseudo_destructor_expr): ... this.
(finish_compound_literal): Declare it.
(begin_inline_definitions): Remove it.
(init_spew): Remove.
(peekyylex): Likewise.
(arbitrate_lookup): Likewise.
(frob_opname): Likewise.
(maybe_snarf_defarg): Likewise.
(add_defarg_fn): Likewise.
(do_pending_defargs): Likewise.
(done_pending_defargs): Likewise.
(unprocessed_defarg_fn): Likewise.
(replace_defarg): Likewise.
(end_input): Likewise.
(get_overloaded_fn): Likewise.
* cvt.c (convert_to_reference): Improve error handling.
* decl.c (lookup_name_real): Do not declare it static.
(maybe_push_to_top_level): Set check_access.
(identifier_type_value): Adjust call to lookup_name_real.
(lookup_qualified_name): New method.
(lookup_name_real): Remove special-case parsing code.
(lookup_name-nonclass): Adjust call to lookup_name_real.
(lookup_name_namespace_only): Likewise.
(lookup_name): Likewise.
(check_tag_decl): Return the type declared.
(shadow_tag): Likewise.
(register_dtor_fn): Tweak check_access.
(grokfndecl): Use constructor_name_p.
(get_scope_of_declarator): New function.
(grokdeclarator): Obscure tweaks for slightly different declarator
representations.
(start_method): Return error_mark_node to indicate failure.
(cp_tree_node_structure_enum): Use TS_CP_DEFAULT_ARG for DEFAULT_ARGs.
* decl2.c (constructor_name_full): Simplify.
(constructor_name): Use it.
(build_expr_from_tree): Adjust for changes to do new parser.
(push_scope): Improve robustness.
(validate_nonmember_using_decl): Process declarations, not names.
(do_class_using_decl): Likewise.
(handle_class_head): Do not mess with CLASSTYPE_DECLARED_CLASS
here.
* error.c (dump_expr): Handle IDENTIFIER_NODEs and BASELINKs.
* expr.c (cxx_expand_expr): Handle BASELINKs.
* init.c (member_init_ok_or_else): Issue more errors.
(build_offset_ref): Tweak handling of FUNCTION_DECLs.
* lex.c: Do not include parse.h.
(yypring): Do not declare.
(yylval): Likewise.
(make_reference_declarator): Remove error-generating code.
(rid_to_yy): Remove.
(cxx_init): Do not call init_spew.
(yypring): Remove.
(check_for_missing_semicolon): Remove.
* lex.h (got_scope): Remove.
(got_object): Remove.
* method.c (hack_identifier): Use finish_non_static_data_member.
(implicitly_declare_fn): Adjust use of constructor_name.
* parser.c: New file.
* pt.c (parse.h): Do not include it.
(maybe_get_template_decl_from_template): Do not declare it.
(finish_member_template_decl): Tweak.
(begin_explicit_instantiation): Adjust for
processing_explicit_instantiation being boolean.
(end_explicit_instantiation): Likewise.
(maybe_process_partial_specialization): Tighten specialization
test.
(retrieve_local_specialization): Adjust ue of hash table.
(eq_local_specializations): New function.
(register_local_specialization): Likewise.
(push_template_decl_real): Remove unnecessary test.
(maybe_get_template_decl_from_type_decl): Don't make it static.
(for_each_template_parm_r): Handle TYPEOF_TYPE.
(tsubst_copy): Use retrieive_local_specialization to handle
PARM_DECL. Adjust handling of CONST_DECLs. Handle BASELINKs.
Handle COMPONENT_REFs with pseudo-destructor-expressions.
Simplify handling of CALL_EXPR and METHOD_CALL_EXPR.
(tsubst_expr): Pass decls, not names, to do_local_using_decl.
(unify): Tweak handling of CONST_DECLs.
(regenerate_decl_from_template): Use push_nested_class.
(template_for_substitution): New funciton.
(instantiate_decl): Use it. Register parameters as local
specializations.
* rtti.c (init_rtti_processing): Set type_info_ref_type.
(build_typeid): Use it.
(get_typeid): Likeise.
* search.c (accessible_p): Use check_access, not
flag_access_control.
(adjust_result_of_qualified_name_lookup): Pay attention to the
context_class.
* semantics.c (finish_asm_stmt): Adjust error handling.
(finish_label_stmt): Return the statement.
(finish_non_static_data_member): New function.
(finish_class_expr): Handle BASELINKs.
(finish_call_expr): Handle PSEUDO_DTOR_EXPR.
(finish_object_call_expr): Simplify handling during templates.
(finish_pseudo_destructor_call_expr): Rename to ...
(finish_pseudo_dtor_expr): ... this.
(finish_compound_literal): New function.
(begin_inline_definitions): Remove.
(finish_sizeof): Remove special template handling.
* spew.c: Do not include parse.h.
* tree.c (get_overloaded_fn): Remove.
* typeck.c (build_class_member_access_expr): Handle
PSEUDO_DTOR_EXPR. Adjust handling of static member functions.
(lookup_destructor): New function.
(finish_class_member_access_expr): Use it.
(convert_arguments): Simplify.
(build_unary_op): Handle BASELINKs.
From-SVN: r60560
Mark Mitchell [Sat, 28 Dec 2002 07:48:15 +0000 (07:48 +0000)]
spec4.C: Remove stray semicolon.
* g++.dg/eh/spec4.C: Remove stray semicolon.
* g++.dg/expr/pmf-1.C: Change error message.
* g++.dg/ext/asm1.C: Remove stray semicolon.
* g++.dg/ext/typename1.C: Add missing typenames.
* g++.dg/inherit/template-as-base.C: Change error message.
* g++.dg/lookup/scoped1.C: Likewise.
* g++.dg/lookup/scoped2.C: Likewise.
* g++.dg/lookup/using2.C: Likewise.
* g++.dg/other/component1.C: Remove stray semicolon.
* g++.dg/other/do1.C: Change error message.
* g++.dg/other/error2.C: Likewise.
* g++.dg/other/init1.C: Likewise.
* g++.dg/other/packed1.C: Remove stray semicolon.
* g++.dg/other/ptrmem2.C: Change error message.
* g++.dg/parse/parameter-declaration-1.C: Remove line number
marker.
* g++.dg/special/initp1.C: Remove invalid attribute usage.
* g++.dg/template/access3.C: Add typename keyword.
* g++.dg/template/access5.C: Remove stray semicolon.
* g++.dg/template/access6.C: Likewise.
* g++.dg/template/complit1.C: Likewise.
* g++.dg/template/crash1.C: Change error message.
* g++.dg/template/inherit2.C: Remove stray semicolon.
* g++.dg/template/instantiate2.C: Likewise.
* g++.dg/template/instantiate3.C: Change error message.
* g++.dg/template/qual1.C: Remove stray semicolon.
* g++.dg/template/qualttp18.C: Change error message.
* g++.dg/template/ref1.C: Remove stray semicolon.
* g++.dg/template/sizeof1.C (A::value): Declare it.
* g++.dg/template/spec4.C: Change error message.
* g++.dg/template/static1.C: Likewise.
* g++.dg/template/type1.C: Likewise.
* g++.dg/template/typename3.C: Likewise.
* g++.old-deja/g++.benjamin/13478.C: Change error message.
* g++.old-deja/g++.benjamin/15799.C: Remove stray semicolon.
* g++.old-deja/g++.benjamin/bool01.C: Likewise.
* g++.old-deja/g++.benjamin/bool02.C: Likewise.
* g++.old-deja/g++.benjamin/p13417.C: Now fails due to use of
named return value extension.
* g++.old-deja/g++.benjamin/tem06.C: Remove stray semicolon.
* g++.old-deja/g++.benjmain/warn01.C: Likewise.
* g++.old-deja/g++.bob/extern_C.C: Likewise.
* g++.old-deja/g++.bob/inherit2.C: Likewise.
* g++.old-deja/g++.brendan/complex1.C: Likewise.
* g++.old-deja/g++.brendan/copy5.C: Likewise.
* g++.old-deja/g++.brendan/crash13.C: Likewise.
* g++.old-deja/g++.brendan/crash15.C: Likewise.
* g++.old-deja/g++.brendan/crash18.C: Change error message.
* g++.old-deja/g++.brendan/crash37.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/crash38.C: Likewise.
* g++.old-deja/g++.brendan/crash50.C: Likewise.
* g++.old-deja/g++.brendan/crash56.C: Likewise.
* g++.old-deja/g++.brendan/crash6.C: Use explicit specialization
syntax.
* g++.old-deja/g++.brendan/crash66.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/crash8.C: Change error message.
* g++.old-deja/g++.brendan/ctors1.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/ctors2.C: Likewise.
* g++.old-deja/g++.brendan/shadow1.C: Likewise.
* g++.old-deja/g++.brendan/template11.C: Likewise.
* g++.old-deja/g++.brendan/template26.C: Likewise.
* g++.old-deja/g++.brendan/template27.C: Use explicit
specialization syntax.
* g++.old-deja/g++.brendan/template30.C: Likewise.
* g++.old-deja/g++.brendan/template5.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/visibility3.C: Account for use of
non-dependent names.
* g++.old-deja/g++.brendan/warnings4.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/warnings7.C: Likewise.
* g++.old-deja/g++.bugs/900121_02.C: Likewise.
* g++.old-deja/g++.eh/catchptr1.C: Likewise.
* g++.old-deja/g++.ext/addrfunc4.C: Likewise.
* g++.old-deja/g++.ext/namedret1.C: Now fails due to use of
named return value extension.
* g++.old-deja/g++.ext/namedret2.C: Likewise.
* g++.old-deja/g++.ext/namedret3.C: Likewise.
* g++.old-deja/g++.ext/return1.C: Likewise.
* g++.old-deja/g++.ext/typename1.C: Add missing typename keywords.
* g++.old-deja/g++.jason/access17.C: Issue more error messages.
* g++.old-deja/g++.jason/access8.C: Likewise.
* g++.old-deja/g++.jason/bool.C: Remove stray semicolon.
* g++.old-deja/g++.jason/destruct.C: Remove incorrect
pseudo-destructor names.
* g++.old-deja/g++.jason/dtor3.C: Remove stray semicolon.
* g++.old-deja/g++.jason/dtor5.C: Remove incorrect
pseudo-destructor names.
* g++.old-deja/g++.jason/opeq3.C: Remove stray semicolon.
* g++.old-deja/g++.jason/overload19.C: Likewise.
* g++.old-deja/g++.jason/overload32.C: Likewise.
* g++.old-deja/g++.jason/parse11.C: Issue error messages about
stray semicolons.
* g++.old-deja/g++.jason/pmem2.C: Remove stray semicolon.
* g++.old-deja/g++.jason/return.C: Likewise.
* g++.old-deja/g++.jason/return2.C: Likewise.
* g++.old-deja/g++.jason/shadow1.C: Likewise.
* g++.old-deja/g++.jason/special.C: Use explicit specialization
syntax.
* g++.old-deja/g++.jason/template10.C: Account for use of
non-dependent names.
* g++.old-deja/g++.jason/template11.C: Use explicit specialization
syntax.
* g++.old-deja/g++.jason/template37.C: Likewise.
* g++.old-deja/g++.law/access4.C: Change error messages.
* g++.old-deja/g++.law/arm13.C: Remove incorrect
pseudo-destructor names.
* g++.old-deja/g++.law/code-gen5.C: Remove stray semicolon.
* g++.old-deja/g++.law/ctors9.C: Likewise.
* g++.old-deja/g++.law/cvt22.C: Likewise.
* g++.old-deja/g++.law/dtors5.C: Likewise.
* g++.old-deja/g++.law/global-init1.C: Likewise.
* g++.old-deja/g++.law/missed-error3.C: Likewise.
* g++.old-deja/g++.law/operators28.C: Likewise.
* g++.old-deja/g++.law/visibility28.C: Likewise.
* g++.old-deja/g++.martin/eval1.C: Likewise.
* g++.old-deja/g++.martin/pmf2.C: Remove qualifier in constructor
name.
* g++.old-deja/g++.mike/hog1.C: Remove stray semicolon.
* g++.old-deja/g++.mike/net34.C: Likewise.
* g++.old-deja/g++.mike/net36.C: Likewise.
* g++.old-deja/g++.mike/ns2.C: Likewise.
* g++.old-deja/g++.mike/p12306.C: Likewise.
* g++.old-deja/g++.mike/p646.C: Adjust for removal of named return
value extension.
* g++.old-deja/g++.mike/p700.C: Likewise.
* g++.old-deja/g++.mike/p701.C: Remove stray semicolon.
* g++.old-deja/g++.mike/p710.C: Likewise.
* g++.old-deja/g++.mike/p784.C: Adjust for removal of named return
value extension.
* g++.old-deja/g++.mike/pmf7.C: Remove stray semicolon.
* g++.old-deja/g++.mike/pmf9.C: Likewise.
* g++.old-deja/g++.ns/crash2.C: Likewise.
* g++.old-deja/g++.ns/crash3.C: Likewise.
* g++.old-deja/g++.ns/invalid1.C: Likewise.
* g++.old-deja/g++.ns/ns17.C: Likewise.
* g++.old-deja/g++.ns/template16.C: Likewise.
* g++.old-deja/g++.ns/template5.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.ns/template6.C: Remove stray semicolon.
* g++.old-deja/g++.ns/using9.C: Remove stray semicolon.
* g++.old-deja/g++.oliva/nameret1.C: Now fails due to use of
named return value extension.
* g++.old-deja/g++.oliva/nameret2.C: Likewise.
* g++.old-deja/g++.other/access4.C: Issue additional error
messages.
* g++.old-deja/g++.other/array6.C: Remove stray semicolon.
* g++.old-deja/g++.other/crash1.C: Isue additional error messages.
* g++.old-deja/g++.other/crash11.C: Add missing class-key.
* g++.old-deja/g++.other/crash25.C: Change error message.
* g++.old-deja/g++.other/crash4.C: Change error message.
* g++.old-deja/g++.other/debug7.C: Remove stray semicolon.
* g++.old-deja/g++.other/decl5.C: Issue more error messages.
* g++.old-deja/g++.other/defarg7.C: Remove circular dependency
checks.
* g++.old-deja/g++.other/defarg8.C: Likewise.
* g++.old-deja/g++.other/dtor1.C: Remove stray semicolon.
* g++.old-deja/g++.other/dtor10.C: Likewise.
* g++.old-deja/g++.other/incomplete.C: Likewise.
* g++.old-deja/g++.other/linkage7.C: Likewise.
* g++.old-deja/g++.other/lookup19.C: Now fails due to corrected
lookup algorithm.
* g++.old-deja/g++.other/mangle2.C: Likewise.
* g++.old-deja/g++.other/refinit2.C: Likewise.
* g++.old-deja/g++.other/sizeof2.C: Change error messages.
* g++.old-deja/g++.other/std1.C: Remove stray semicolon.
* g++.old-deja/g++.pt/crash28.C: Likewise.
* g++.old-deja/g++.pt/crash29.C: Use explicit specialization
syntax.
* g++.old-deja/g++.pt/crash32.C: Change error message.
* g++.old-deja/g++.pt/crash43.C: Adjust error messages.
* g++.old-deja/g++.pt/crash58.C: Remove stray semicolon.
* g++.old-deja/g++.pt/crash65.C: Tweak to acount for change in
error message position.
* g++.old-deja/g++.pt/defarg5.C: Remove stray semicolon.
* g++.old-deja/g++.pt/defarg8.C: Change error message.
* g++.old-deja/g++.pt/eichin01.C: Use explicit specialization
syntax.
* g++.old-deja/g++.pt/eichin01a.C: Define static data members.
* g++.old-deja/g++.pt/eichin01b.C: Likewise.
* g++.old-deja/g++.pt/enum7.C: Remove stray semicolon.
* g++.old-deja/g++.pt/explicit12.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/explicit31.C: Likewise.
* g++.old-deja/g++.pt/explicit33.C: Remove stray semicolon.
* g++.old-deja/g++.pt/explicit35.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/explicit71.C: Change error message.
* g++.old-deja/g++.pt/explicit80.C: Use explicit specialization
syntax.
* g++.old-deja/g++.pt/friend28.C: Account for use of
non-dependent names.
* g++.old-deja/g++.pt/friend29.C: Likewise.
* g++.old-deja/g++.pt/friend46.C: Adjust for correct name lookup
rules.
* g++.old-deja/g++.pt/friend48.C: Remove stray semicolon.
* g++.old-deja/g++.pt/instantiate1.C: Use correct class-key.
* g++.old-deja/g++.pt/instantiate11.C: Adjust for correct name
lookup rules.
* g++.old-deja/g++.pt/instantiate8.C: Remove stray semicolon.
* g++.old-deja/g++.pt/instantiate9.C: Insert missing typename
keyword.
* g++.old-deja/g++.pt/memclass20.C: Likewise.
* g++.old-deja/g++.pt/memclass5.C: Likewise.
* g++.old-deja/g++.pt/memclass7.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/memtemp75.C: Likewise.
* g++.old-deja/g++.pt/memtemp81.C: Remove stray semicolon.
* g++.old-deja/g++.pt/memtemp87.C: Add missing access specifier.
* g++.old-deja/g++.pt/overload13.C: Correct error messages.
* g++.old-deja/g++.pt/parms2.C: Add missing typename keyword.
* g++.old-deja/g++.pt/ptrmem1.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/spec10.C: Likewise.
* g++.old-deja/g++.pt/spec28.C: Reorder declarations.
* g++.old-deja/g++.pt/t10.C: Add explicit specialization syntax.
* g++.old-deja/g++.pt/t32.C: Remove stray semicolon.
* g++.old-deja/g++.pt/t35a.C: Add explicit specialization syntax.
* g++.old-deja/g++.pt/ttp24.C: Remove stray semicolon.
* g++.old-deja/g++.pt/ttp62.C: Likewise.
* g++.old-deja/g++.pt/ttp64.C: Likewise.
* g++.old-deja/g++.pt/typename11.C: Add missing typename keyword.
* g++.old-deja/g++.pt/typename15.C: Likewise.
* g++.old-deja/g++.pt/typename22.C: Likewise.
* g++.old-deja/g++.pt/typename6.C: Change error messages.
* g++.old-deja/g++.pt/using1.C: Remove stray semicolon.
* g++.old-deja/g++.pt/virtual2.C: Likewise.
* g++.old-deja/g++.robertl/eb118.C: Add explicit specialization
syntax.
* g++.old-deja/g++.robertl/eb27.C: Now fails due to use of named
return value extension.
* g++.old-deja/g++.robertl/eb43.C: Remove stray semicolon.
* g++.old-deja/g++.robertl/eb79.C: Correct for new name lookup rules.
* g++.old-deja/g++.robertl/eb82.C: Remove stray semicolons.
* g++.old-deja/g++.robertl/eb86.C: Add missing forward declaration.
From-SVN: r60559
Nathanael Nerode [Sat, 28 Dec 2002 06:57:50 +0000 (06:57 +0000)]
configure.in: Convert to autoconf script.
(toplev)
* configure.in: Convert to autoconf script. Blow away lots
of now-redundant Makefile fragments.
* configure: Generate using Autoconf.
* Makefile.tpl: Rewrite to reflect autoconfiscation.
* Makefile.in: Regenerate.
(config)
* acx.m4: New.
* mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300,
mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition,
mh-riscos, mh-sysv: Delete.
* mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000,
mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.
From-SVN: r60558
Mark Mitchell [Sat, 28 Dec 2002 06:38:52 +0000 (06:38 +0000)]
boehm.cc: Remove stray semicolon.
* boehm.cc: Remove stray semicolon.
* interpret.cc: Likewise.
* prims.cc: Likewise.
* verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
earlier to ensure default arguments are processed.
* gcj/array.h (JArray): Add forward declaration.
(elements): Likewise.
* gcj/javaprim.h: Remove stray semicolons.
* include/bohm-gc.h: Likewise.
* include/jni.h: Likewise.
* include/jvm.h: Likewise.
* java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
From-SVN: r60556
Mark Mitchell [Sat, 28 Dec 2002 06:29:24 +0000 (06:29 +0000)]
gjavah.c (print_name_for_stub_or_jni): Adjust call to print_cxx_classname.
* gjavah.c (print_name_for_stub_or_jni): Adjust call to
print_cxx_classname.
(print_cxx_classname): Add add_scope parameter.
(print_class_decls): Do not emit a semicolon after the extern
"Java" block.
(process_file): Adjust calls to print_cxx_classname.
From-SVN: r60555
Kazu Hirata [Sat, 28 Dec 2002 04:15:27 +0000 (04:15 +0000)]
h8300.md (*iorhi_shift_8): Change the name to *iorhi_ashift_8.
* config/h8300/h8300.md (*iorhi_shift_8): Change the name to
*iorhi_ashift_8.
(*iorhi_lshiftrt_8): New.
From-SVN: r60553
Nathanael Nerode [Sat, 28 Dec 2002 00:59:52 +0000 (00:59 +0000)]
configure: Fix stupid bug where RANLIB was mistakenly included.
* configure: Fix stupid bug where RANLIB was mistakenly included.
* configure.in: Rename (buildargs, hostargs, targargs) to
(build_configargs, host_configargs, target_configargs).
* configure.in: Move logic out of sed statement.
From-SVN: r60551
Nathanael Nerode [Fri, 27 Dec 2002 23:15:39 +0000 (23:15 +0000)]
configure: Remove unneeded 'export's.
* configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.
From-SVN: r60550
Mark Mitchell [Fri, 27 Dec 2002 23:03:03 +0000 (23:03 +0000)]
* config/locale/gnu/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Remove stray semicolon.
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::_M_initialize_moneypunct): Avoid
defining classes in static_cast.
(moneypunct<wchar_t, false>::_M_initialize_moneypunct): Likewise.
* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t, false>::_M_initialize_numpunct): Likewise.
* include/bits/stl_deque.h (operator-): Insert typename where
required.
* include/bits/stl_multiset.h (multiset): Remove stray semicolon.
* include/bits/stl_set.h (set): Likewise.
* include/bits/valarray_meta.h (bits/slice_array.h): Include it.
* include/std/std_fstream.h (basic_fstream::open): Use this-> to
avoid Koenig lookup.
(basic_fstream::close): Likewise.
* libsupc++/new (operator delete): Remove stray semicolon.
* libsupc++/new (operator delete[]): Likewise.
* libsupc++/tinfo.cc: Likewise.
* src/stdexcept.c (logic_error::~logic_error): Likewise.
(runtime_error::~runtime_error): Likewise.
From-SVN: r60547
Joseph Myers [Fri, 27 Dec 2002 20:07:55 +0000 (20:07 +0000)]
* doc/include/texinfo.tex: Update to version 2002-12-26.16.
From-SVN: r60545
Gerald Pfeifer [Fri, 27 Dec 2002 17:49:15 +0000 (18:49 +0100)]
* doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
From-SVN: r60544
GCC Administrator [Fri, 27 Dec 2002 08:17:28 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60543
Phil Edwards [Fri, 27 Dec 2002 00:23:20 +0000 (00:23 +0000)]
exception: Add comment (mistakenly skipped).
2002-12-26 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/exception: Add comment (mistakenly skipped).
From-SVN: r60534
Phil Edwards [Fri, 27 Dec 2002 00:03:17 +0000 (00:03 +0000)]
std_bitset.h (_Base_bitset::_M_do_left_shift, [...]): Expect a non-zero shift.
2002-12-26 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
_Base_bitset::_M_do_right_shift): Expect a non-zero shift.
(bitset::operator<<=, bitset::operator>>=): When shifting more bits
than are in the bitset, zero memory rather than segfault.
(operator>>(basic_istream,bitset): Only call setstate once, after
all work has been done.
* testsuite/23_containers/bitset_members.cc (test03): New test.
* testsuite/23_containers/bitset_shift.cc (test02): New test.
From-SVN: r60533
Phil Edwards [Thu, 26 Dec 2002 22:26:29 +0000 (22:26 +0000)]
vterminate.cc (writestr): Use __builtin_strlen.
2002-12-26 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/vterminate.cc (writestr): Use __builtin_strlen.
From-SVN: r60531
Phil Edwards [Thu, 26 Dec 2002 21:14:19 +0000 (21:14 +0000)]
eh_term_handler.cc: Add comment about embedded systems.
2002-12-26 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/eh_term_handler.cc: Add comment about embedded systems.
* docs/html/debug.html: Cosmetic and HTML changes. Point to
verb-term notes.
* docs/html/documentation.html: Link to the FAQ.
* docs/html/17_intro/howto.html: Mention use of isatty(3).
* docs/html/19_diagnostics/howto.html: Update verb-term description.
From-SVN: r60528
Kazu Hirata [Thu, 26 Dec 2002 21:11:34 +0000 (21:11 +0000)]
h8300-protos.h: Fix comment typos.
* config/h8300/h8300-protos.h: Fix comment typos.
Update copyright.
* config/h8300/h8300.c: Fix comment typos.
From-SVN: r60527
Kazu Hirata [Thu, 26 Dec 2002 20:58:10 +0000 (20:58 +0000)]
* config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
From-SVN: r60525
Kazu Hirata [Thu, 26 Dec 2002 18:45:04 +0000 (18:45 +0000)]
athlon.md: Fix comment typos.
* config/i386/athlon.md: Fix comment typos.
* config/i386/crtdll.h: Likewise.
* config/i386/djgpp.h: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/i386.md: Likewise.
* config/i386/k6.md: Likewise.
* config/i386/mingw32.h: Likewise.
* config/i386/pentium.md: Likewise.
* config/i386/sco5.h: Likewise.
* config/i386/winnt.c: Likewise.
* config/i386/xmmintrin.h: Likewise.
From-SVN: r60524
Nathan Sidwell [Thu, 26 Dec 2002 18:20:14 +0000 (18:20 +0000)]
re PR c++/4803 (Inline function never defined)
cp:
PR c++/4803
* decl2.c (mark_used): Defer inline functions.
(finish_file): Merge deferred_fns loops. Check all used
inline functions have a definition.
* method.c (make_thunk): Thunks are not inline.
testsuite:
* g++.dg/warn/inline1.C: New test.
* g++.old-deja/g++.brendan/crash64.C: Remove spurious inlines.
* g++.old-deja/g++.jason/synth10.C: Likewise.
* g++.old-deja/g++.mike/net31.C: Likewise.
* g++.old-deja/g++.mike/p8786.C: Likewise.
From-SVN: r60521
Jose Renau [Thu, 26 Dec 2002 18:15:56 +0000 (18:15 +0000)]
ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an INSN_P before checking to see if it is dead.
* ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
INSN_P before checking to see if it is dead.
(mark_all_insn_unnecessary): Similarly.
(ssa_eliminate_dead_code): Similarly.
* rtl.h (struct rtx_def): Update comments for in_struct usage
in dead code elimination pass.
(INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.
From-SVN: r60520
Andreas Schwab [Thu, 26 Dec 2002 18:01:22 +0000 (18:01 +0000)]
* config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
From-SVN: r60519
Nathan Sidwell [Thu, 26 Dec 2002 12:23:11 +0000 (12:23 +0000)]
PR c++/5116, c++/764
cp:
PR c++/5116, c++/764
* call.c (build_new_op): Make sure template class operands are
instantiated.
testsuite:
* g++.dg/template/friend10.C: New test.
* g++.dg/template/conv5.C: New test.
From-SVN: r60514
GCC Administrator [Thu, 26 Dec 2002 08:17:39 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60513
Phil Edwards [Thu, 26 Dec 2002 06:10:35 +0000 (06:10 +0000)]
vterminate.cc: Move to...
2002-12-25 Phil Edwards <pme@gcc.gnu.org>
* src/vterminate.cc: Move to...
* libsupc++/vterminate.cc: ...here. New file. Replace fprintf with
writestr macro. Slight reword to explanatory text.
* libsupc++/eh_terminate.cc (__cxxabiv1::__terminate_handler,
__cxxabiv1::__unexpected_handler): Break definitions out to...
* libsupc++/eh_unex_handler.cc: ...here (new file), and...
* libsupc++/eh_term_handler.cc: ...here (new file). Initialize
__terminate_handler with __gnu_cxx::__verbose_terminate_handler
instead of std::abort.
* libsupc++/Makefile.am (sources), src/Makefile.am (sources): Update.
* libsupc++/Makefile.in, src/Makefile.in: Regenerate.
From-SVN: r60505
David Edelsohn [Thu, 26 Dec 2002 01:30:59 +0000 (01:30 +0000)]
rs6000.c (rs6000_override_options): Convert to tartet_flags_explicit.
* config/rs6000/rs6000.c (rs6000_override_options): Convert to
tartet_flags_explicit.
* config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete.
Compact target_flags bits.
(TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete.
(TARGET_SWITCHES): Delete references to *_SET flags.
From-SVN: r60504
Jan Hubicka [Wed, 25 Dec 2002 19:32:51 +0000 (20:32 +0100)]
* i386.md (memory attribute): Fix setcc attribute.
From-SVN: r60503
Kazu Hirata [Wed, 25 Dec 2002 15:15:10 +0000 (15:15 +0000)]
output.h: Fix comment typos.
* output.h: Fix comment typos.
* predict.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.
* ra-build.c: Likewise.
* ra-colorize.c: Likewise.
* ra-debug.c: Likewise.
* ra-rewrite.c: Likewise.
* ra.c: Likewise.
* ra.h: Likewise.
* real.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* regclass.c: Likewise.
From-SVN: r60502
Kazu Hirata [Wed, 25 Dec 2002 15:02:03 +0000 (15:02 +0000)]
h8300.c (print_operand_address): Do not negate a negative number when printing one.
* config/h8300/h8300.c (print_operand_address): Do not negate
a negative number when printing one.
From-SVN: r60501
Kazu Hirata [Wed, 25 Dec 2002 14:54:50 +0000 (14:54 +0000)]
h8300-protos.h: Add prototypes for output_plussi, compute_plussi_length, and compute_plussi_cc.
* config/h8300/h8300-protos.h: Add prototypes for
output_plussi, compute_plussi_length, and compute_plussi_cc.
* config/h8300/h8300.c (output_plussi): New.
(compute_plussi_length): Likewise.
(compute_plussi_cc): Likewise.
* config/h8300/h8300.md (addsi_h8300h): Call
output_plussi, compute_plussi_length, and compute_plussi_cc.
From-SVN: r60500
GCC Administrator [Wed, 25 Dec 2002 08:18:10 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r60499
Kazu Hirata [Wed, 25 Dec 2002 01:30:41 +0000 (01:30 +0000)]
h8300.md (two peepholes): Use match_dup instead of match_operand in the new patterns.
* config/h8300/h8300.md (two peepholes): Use match_dup instead
of match_operand in the new patterns.
From-SVN: r60488
Svein E. Seldal [Tue, 24 Dec 2002 23:53:51 +0000 (23:53 +0000)]
config.sub: Import from master repository
* config.sub: Import from master repository
* config.guess: Ditto
From-SVN: r60486
Nathan Sidwell [Tue, 24 Dec 2002 22:20:14 +0000 (22:20 +0000)]
re PR c++/7964 (ICE in build_base_path)
cp:
PR C++/7964
* cp-tree.h (resolve_scoped_fn_name): Prototype.
* call.c (resolve_scoped_fn_name): New function. Deal with
more template expansion. Broken out of ...
* parse.y (parse_finish_call_expr): ... here. Call it.
* decl2.c (build_expr_from_tree, CALL_EXPR): Use
resolve_scoped_fn_name and build_call_from_tree.
testsuite:
* g++.dg/lookup/scoped3.C: New test.
From-SVN: r60483
Nathan Sidwell [Tue, 24 Dec 2002 22:12:17 +0000 (22:12 +0000)]
re PR c++/9053 (g++ confused about ambiguity of overloaded function templates)
cp:
PR c++/9053
* decl.c (duplicate_decls): Templates may be disambiguated by
return type.
PR c++/8702
* decl2.c (check_classfn): Use lookup_fnfield_1. List all
conversion operators on failure.
testsuite
* g++.dg/lookup/decl1.C: New test.
* g++.dg/lookup/decl2.C: New test.
From-SVN: r60482
Joseph Myers [Tue, 24 Dec 2002 19:08:41 +0000 (19:08 +0000)]
new1.C, [...]: Add tests previously added only to 3.1 or 3.2 branch.
* g++.dg/init/new1.C, g++.dg/template/alignof1.C,
gcc.c-torture/compile/
20021015-1.c,
gcc.c-torture/compile/
20021015-2.c,
gcc.c-torture/compile/
20021123-1.c,
gcc.c-torture/compile/
20021123-2.c,
gcc.c-torture/compile/
20021123-3.c,
gcc.c-torture/compile/
20021123-4.c,
gcc.c-torture/execute/
20021024-1.c: Add tests previously added
only to 3.1 or 3.2 branch.
From-SVN: r60479
Joseph Myers [Tue, 24 Dec 2002 19:00:33 +0000 (19:00 +0000)]
* doc/include/texinfo.tex: Update to version 2002-11-25.11.
From-SVN: r60478
Joseph Myers [Tue, 24 Dec 2002 18:56:21 +0000 (18:56 +0000)]
* texi2pod.pl: Skip contents of @copying.
From-SVN: r60477
Nathan Sidwell [Tue, 24 Dec 2002 18:44:00 +0000 (18:44 +0000)]
configure.in (enable-coverage): Add SELF_COVERAGE.
* configure.in (enable-coverage): Add SELF_COVERAGE.
* profile.c (end_branch_prob): Use SELF_COVERAGE.
From-SVN: r60476
Andreas Schwab [Tue, 24 Dec 2002 17:24:41 +0000 (17:24 +0000)]
Makefile.tpl (multilib.out): Fix missing space.
* Makefile.tpl (multilib.out): Fix missing space.
* Makefile.in: Regenerate.
From-SVN: r60475
Jim Wilson [Tue, 24 Dec 2002 15:49:24 +0000 (15:49 +0000)]
Fix v850 PlumHall testsuite failure.
* alias.c (record_set): Handle multi-reg hard registers.
From-SVN: r60474
Kazu Hirata [Tue, 24 Dec 2002 08:30:34 +0000 (08:30 +0000)]
regmove.c: Fix comment typos.
* regmove.c: Fix comment typos.
* reload.c: Likewise.
* reload1.c: Likewise.
* resource.c: Likewise.
* rtl.def: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.
* sched-deps.c: Likewise.
* sched-rgn.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* system.h: Likewise.
* tlink.c: Likewise.
* toplev.c: Likewise.
* tracer.c: Likewise.
* tree-inline.c: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* unroll.c: Likewise.
* varasm.c: Likewise.
From-SVN: r60473
GCC Administrator [Tue, 24 Dec 2002 08:17:40 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60472
Danny Smith [Tue, 24 Dec 2002 02:48:19 +0000 (02:48 +0000)]
basic_file_stdio.cc (__basic_file::_M_open_mode): Don't use O_NONBLOCK if it is not defined.
* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
Don't use O_NONBLOCK if it is not defined.
(__basic_file::open): Don't use fcntl either.
From-SVN: r60461
Gabriel Dos Reis [Mon, 23 Dec 2002 23:44:47 +0000 (23:44 +0000)]
* call.c (tourney, build_field_call, equal_functions, joust)
(compare_ics, build_over_call, build_java_interface_fn_ref)
(convert_like_real, op_error, build_object_call, resolve_args)
(build_vfield_ref, check_dtor_name, build_scoped_method_call)
(build_addr_func, build_call, build_method_call, null_ptr_cst_p)
(sufficient_parms_p, build_conv, non_reference, strip_top_quals)
(standard_conversion, reference_related_p)
(reference_compatible_p, convert_class_to_reference)
(direct_reference_binding, reference_binding)
(implicit_conversion, is_complete, promoted_arithmetic_type_p)
(add_template_conv_candidate, any_viable, any_strictly_viable)
(build_this, splice_viable, print_z_candidates)
(build_user_type_conversion, build_new_function_call)
(conditional_conversion, build_conditional_expr, build_new_op)
(build_op_delete_call, enforce_access, call_builtin_trap)
(convert_arg_to_ellipsis, build_x_va_arg, cxx_type_promotes_to)
(convert_default_arg, type_passed_as, convert_for_arg_passing)
(in_charge_arg_for_name, is_properly_derived_from)
(maybe_handle_implicit_object, maybe_handle_ref_bind)
(source_type, add_warning, can_convert, can_convert_arg)
(perform_implicit_conversion, can_convert_arg_bad)
(initialize_reference, add_conv_candidate)
(add_template_candidate_real, add_template_candidate): Ansify.
From-SVN: r60458
Larin Hennessy [Mon, 23 Dec 2002 23:02:49 +0000 (23:02 +0000)]
install.texi: Remove i386-*-isc, i860-*-bsd, m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>
* doc/install.texi: Remove i386-*-isc, i860-*-bsd,
m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
* doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
DG/UX entries.
* doc/md.texi: Remove AMD 29K entries.
* doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
1.38.1, NewsOS, RT PC, WE32K entries.
From-SVN: r60455
Aldy Hernandez [Mon, 23 Dec 2002 22:08:57 +0000 (22:08 +0000)]
altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
2002-12-23 Aldy Hernandez <aldyh@redhat.com>
PR/8763
* config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
(altivec_vspltisw_v4sf): Name pattern.
(altivec_vslw_v4sf): New pattern.
From-SVN: r60453
Joseph Myers [Mon, 23 Dec 2002 21:16:23 +0000 (21:16 +0000)]
gcj.texi: Include Cover Texts in man page.
gcc/java:
* gcj.texi: Include Cover Texts in man page.
fastjar:
* fastjar.texi: Include Cover Texts in man page.
From-SVN: r60451
Jeff Sturm [Mon, 23 Dec 2002 19:59:31 +0000 (19:59 +0000)]
exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit of catch_type.
* exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
of catch_type.
* java/lang/natClass.cc (initializeClass): Link vtable, otable,
idt tables after initializing superclass.
* java/lang/natClassLoader.cc (uaddr): New typedef.
(_Jv_PrepareCompiledClass): Resolve superclass, interfaces
if they are constant pool indicies. Don't link vtable, otable yet.
From-SVN: r60450
Jeff Sturm [Mon, 23 Dec 2002 19:42:09 +0000 (19:42 +0000)]
class.c (build_static_field_ref): Check FIELD_FINAL.
* class.c (build_static_field_ref): Check FIELD_FINAL.
* constants.c (alloc_class_constant): Use TYPE_CPOOL_DATA_REF
instead of current_constant_pool_data_ref.
* java-tree.h (current_constant_pool_data_ref): Undefine.
(JTI_CURRENT_CONSTANT_POOL_DATA_REF): Remove.
* jcf-parse.c (init_outgoing_cpool): Don't initialize
current_constant_pool_data_ref.
* except.c (prepare_eh_table_type ): Use DECL_NAME of class type,
not build_internal_class_name.
* parse.y (patch_incomplete_class_ref): Always emit `class$' method.
Use it when class ref isn't certain to be compiled.
From-SVN: r60448
Joseph Myers [Mon, 23 Dec 2002 19:26:48 +0000 (19:26 +0000)]
gcc-common.texi: Define DEVELOPMENT.
* doc/include/gcc-common.texi: Define DEVELOPMENT.
ada:
* gnat_rm.texi: Include gcc-common.texi. Use GCC version number
only.
* Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
$(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
$(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
$(srcdir)/doc/include/gcc-common.texi.
f:
* root.texi: Include gcc-common.texi.
* bugs.texi, news.texi: Don't include root.texi as part of full
manual.
* g77.texi: Update for use of gcc-common.texi.
* Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Depend on
$(srcdir)/doc/include/gcc-common.texi.
java:
* gcj.texi: Include gcc-common.texi.
* Make-lang.in ($(srcdir)/java/gcj.info, java/gcj.dvi): Depend on
$(srcdir)/doc/include/gcc-common.texi.
treelang:
* treelang.texi: Include gcc-common.texi.
* Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
Depend on gcc-common.texi. Add other missing dependencies.
(treelang.dvi): Use texi2dvi.
From-SVN: r60446
Sylvain Pion [Mon, 23 Dec 2002 17:36:24 +0000 (17:36 +0000)]
stl_deque.h: Fix typo.
2002-12-20 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
* include/bits/stl_deque.h: Fix typo.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_vector.h: Same.
From-SVN: r60442
Nathanael Nerode [Mon, 23 Dec 2002 16:54:15 +0000 (16:54 +0000)]
Makefile.tpl: Use shared multilib.out.
* Makefile.tpl: Use shared multilib.out. Use move-if-change for it.
Convert (cd foo; make) to (cd foo && make). Clean up multilib.out.
* Makefile.in: Regenerate.
* configure.in: Remove unnecessary leftovers.
From-SVN: r60441
Mark Mitchell [Mon, 23 Dec 2002 16:39:36 +0000 (16:39 +0000)]
stor-layout.c (update_alignment_for_field): Correct handling of unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
* stor-layout.c (update_alignment_for_field): Correct handling of
unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
* doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
bitfield does not affect alignment.
* testsuite/gcc.dg/i386-bitfield3.c: New test.
From-SVN: r60439
David Edelsohn [Mon, 23 Dec 2002 15:26:13 +0000 (15:26 +0000)]
expr.c (expand_assignment): Apply special treatment to ARRAY_TYPE.
* expr.c (expand_assignment): Apply special treatment to
ARRAY_TYPE.
From-SVN: r60437
Kazu Hirata [Mon, 23 Dec 2002 14:58:53 +0000 (14:58 +0000)]
h8300-protos.h: Update the prototype of expand_a_shift.
* config/h8300/h8300-protos.h: Update the prototype of
expand_a_shift.
* config/h8300/h8300.c (expand_a_shift): Change the return
type to void.
* config/h8300/h8300.md: Update all the uses of
expand_a_shift.
From-SVN: r60436
Nathan Sidwell [Mon, 23 Dec 2002 14:43:28 +0000 (14:43 +0000)]
tree.c (save_expr): Allow either side of a dyadic operand to be constant.
* tree.c (save_expr): Allow either side of a dyadic operand to be
constant.
* doc/portability.texi (portability): Update portability goals.
From-SVN: r60435
GCC Administrator [Mon, 23 Dec 2002 08:17:42 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60430
Kazu Hirata [Mon, 23 Dec 2002 07:46:32 +0000 (07:46 +0000)]
* config/h8300/h8300.c (output_a_shift): Remove unused code.
From-SVN: r60423
Mark Mitchell [Mon, 23 Dec 2002 05:10:14 +0000 (05:10 +0000)]
stor-layout.c (update_alignment_for_field): Guard use of ADJUST_FIELD_ALIGN with #ifdef.
* stor-layout.c (update_alignment_for_field): Guard use of
ADJUST_FIELD_ALIGN with #ifdef.
From-SVN: r60422
Geoffrey Keating [Mon, 23 Dec 2002 02:36:23 +0000 (02:36 +0000)]
* config/mt-aix43: Delete.
From-SVN: r60420
Mark Mitchell [Mon, 23 Dec 2002 02:10:18 +0000 (02:10 +0000)]
stor-layout.c (update_alignment_for_field): Use ADJUST_FIELD_ALIGN when computing the alignment for a zero-width bitfield...
* stor-layout.c (update_alignment_for_field): Use
ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
bitfield when PCC_BITFIELD_TYPE_MATTERS.
From-SVN: r60419
Joseph Myers [Sun, 22 Dec 2002 21:48:29 +0000 (21:48 +0000)]
* treelang.texi: Use @ifnottex instead of @ifinfo.
From-SVN: r60417
Nathan Sidwell [Sun, 22 Dec 2002 21:32:28 +0000 (21:32 +0000)]
re PR c++/8572 (ICE with external definition of conversion operator to internal class within template class)
cp:
PR c++/8572
* cp-tree.h (grokoptypename): Add SCOPE parameter.
* decl2.c (grokoptypename): Add SCOPE parameter. tsubst the type
if in a template scope.
* parse.y (unoperator): Return the scope.
(operator_name): Adjust grokoptypename call.
testsuite:
* g++.dg/parse/conv_op1.C: New test.
From-SVN: r60416
Kazu Hirata [Sun, 22 Dec 2002 18:30:28 +0000 (18:30 +0000)]
* genautomata.c: Fix comment typos.
From-SVN: r60415
Jan Hubicka [Sun, 22 Dec 2002 17:24:38 +0000 (18:24 +0100)]
params.def (tracer-min-branch-probability-feedback): Fix default.
* params.def (tracer-min-branch-probability-feedback): Fix default.
* final.c (compute_alignments): Use profile to avoid code bloat.
From-SVN: r60413
Anthony Green [Sun, 22 Dec 2002 16:46:02 +0000 (16:46 +0000)]
gcj.texi (Limitations): Add note about org.xml.sax and org.w3c.dom.
2002-12-22 Anthony Green <green@redhat.com>
* gcj.texi (Limitations): Add note about org.xml.sax and
org.w3c.dom.
From-SVN: r60411
Anthony Green [Sun, 22 Dec 2002 16:08:40 +0000 (16:08 +0000)]
Makefile.am: Move org.xml.sax and org.w3c.dom into their own libraries.
2002-12-21 Anthony Green <green@redhat.com>
* Makefile.am: Move org.xml.sax and org.w3c.dom into their own
libraries.
* Makefile.in: Rebuilt.
From-SVN: r60410
Kriang Lerdsuwanakij [Sun, 22 Dec 2002 16:01:27 +0000 (16:01 +0000)]
cp-tree.h (make_unbound_class_template): Use tsubst_flags_t.
* cp-tree.h (make_unbound_class_template): Use tsubst_flags_t.
* decl.c (make_unbound_class_template): Adjust. Check for tf_error.
* pt.c (tsubst) [OFFSET_TYPE]: Check for tf_error.
From-SVN: r60407
Kazu Hirata [Sun, 22 Dec 2002 15:02:30 +0000 (15:02 +0000)]
h8300.c (get_shift_alg): Make shift insn sequences end with a valid cc0 whenever possible.
* config/h8300/h8300.c (get_shift_alg): Make shift insn
sequences end with a valid cc0 whenever possible.
From-SVN: r60406
Kazu Hirata [Sun, 22 Dec 2002 14:45:52 +0000 (14:45 +0000)]
h8300.md (negsf2): New.
* config/h8300/h8300.md (negsf2): New.
(*negsf2_h8300): Likewise.
(*negsf2_h8300hs): Likewise.
From-SVN: r60405
GCC Administrator [Sun, 22 Dec 2002 08:18:02 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r60404
Geoffrey Keating [Sun, 22 Dec 2002 06:46:41 +0000 (06:46 +0000)]
configure.in (extra_ranlibflags_for_target): New variable.
* configure.in (extra_ranlibflags_for_target): New variable.
(*-*-darwin): Add -c to ranlib commands.
* configure (tooldir): Handle extra_ranlibflags_for_target.
From-SVN: r60397
Geoffrey Keating [Sun, 22 Dec 2002 06:42:16 +0000 (06:42 +0000)]
integrate.c (output_inline_function): Don't hold private pointers to 'struct function' over GC calls.
* integrate.c (output_inline_function): Don't hold private
pointers to 'struct function' over GC calls.
From-SVN: r60396
Kaz Kojima [Sat, 21 Dec 2002 23:26:16 +0000 (23:26 +0000)]
lib1funcs.asm (__fpscr_values): Conditionalize with NO_FPSCR_VALUES.
* config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
NO_FPSCR_VALUES.
* config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.
From-SVN: r60395
Josef Zlomek [Sat, 21 Dec 2002 20:39:53 +0000 (21:39 +0100)]
* gcc.c-torture/compile/
20021220-1.c: Removed until bug fix is approved.
From-SVN: r60394
Kazu Hirata [Sat, 21 Dec 2002 18:45:37 +0000 (18:45 +0000)]
h8300.md (zero_extendqisi2): Correct the length.
* config/h8300/h8300.md (zero_extendqisi2): Correct the
length.
From-SVN: r60389
Kazu Hirata [Sat, 21 Dec 2002 17:47:32 +0000 (17:47 +0000)]
h8300.md (*zero_extendqihi2_h8300): Make the second alternative "#".
* config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
second alternative "#".
(*zero_extendqihi2_h8300hs): Likewise.
(a define_split): New.
From-SVN: r60388
Kazu Hirata [Sat, 21 Dec 2002 17:43:15 +0000 (17:43 +0000)]
h8300-protos.h: Update the prototype for split_adds_subs.
* config/h8300/h8300-protos.h: Update the prototype for
split_adds_subs.
Add prototypes for const_le_2_operand and const_le_6_operand.
* config/h8300/h8300.c (split_adds_subs): Add an argument to
specify whether inc/dec should be used when possible.
(const_le_2_operand): New.
(const_le_6_operand): Likewise.
* config/h8300/h8300.md (two peepholes): New.
From-SVN: r60387
GCC Administrator [Sat, 21 Dec 2002 08:17:25 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60386
Kazu Hirata [Sat, 21 Dec 2002 05:22:17 +0000 (05:22 +0000)]
fr30.md: Fix a comment typo.
* config/fr30/fr30.md: Fix a comment typo.
* config/i386/i386.c: Likewise.
* config/ip2k/ip2k.h: Likewise.
From-SVN: r60379
Jim Wilson [Sat, 21 Dec 2002 01:21:23 +0000 (01:21 +0000)]
Fix misc SPE instrinsic problems.
* config/rs6000/spe.h (__ev_subifw): Reverse arguments.
(__ev_subw, __ev_subiw): New.
(ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.
From-SVN: r60378
John David Anglin [Fri, 20 Dec 2002 23:24:39 +0000 (23:24 +0000)]
pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
* pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
* pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
* pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
TARGET_ELF32. Add comment on sibcall issues for TARGET_64BIT.
From-SVN: r60377
Kazu Hirata [Fri, 20 Dec 2002 20:53:52 +0000 (20:53 +0000)]
h8300-protos.h: Add prototypes for incdec_operand and eqne_operator.
* config/h8300/h8300-protos.h: Add prototypes for
incdec_operand and eqne_operator.
* config/h8300/h8300.c (incdec_operand): New.
(eqne_operator): Likewise.
* config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
(CONST_OK_FOR_O): Likewise.
(CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
CONST_OK_FOR_O.
* config/h8300/h8300.md (UNSPEC_INCDEC): New.
(addhi3_incdec): New.
(addsi3_incdec): Likewise.
(two peepholes): Likewise.
From-SVN: r60375
Kazu Hirata [Fri, 20 Dec 2002 20:40:57 +0000 (20:40 +0000)]
h8300.c (dosize): Remove warnings.
* config/h8300/h8300.c (dosize): Remove warnings.
(print_operand): Likewise.
From-SVN: r60374
Richard Henderson [Fri, 20 Dec 2002 19:42:41 +0000 (11:42 -0800)]
alpha.c (decl_has_samegp): New.
* config/alpha/alpha.c (decl_has_samegp): New.
(samegp_function_operand): Use it. Rename from
current_file_function_operand.
(direct_call_operand): Handle -msmall-text via symbol->jump.
(tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
(tls_symbolic_operand_type): Likewise.
(alpha_encode_section_info): Likewise. Handle -msmall-text.
(alpha_function_ok_for_sibcall): Use decl_has_samegp.
(alpha_end_function): Set symbol->jump for functions defined in
the text section.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
(TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
(PREDICATE_CODES): Update.
* config/alpha/alpha.md (call patterns): Update for
samegp_function_operand rename; use !samegp reloc if
TARGET_EXPLICIT_RELOCS.
* doc/invoke.text: Document -msmall-text and -mlarge-text.
From-SVN: r60373
Tom Tromey [Fri, 20 Dec 2002 19:25:46 +0000 (19:25 +0000)]
re PR java/8955 (switch case statement causes gcj to throw segmentation fault)
* jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Handle case
where minimum case value is Integer.MIN_VALUE.
Fixes PR java/8955.
From-SVN: r60372
Ian Dall [Fri, 20 Dec 2002 18:14:18 +0000 (18:14 +0000)]
ns32k.md (movdi): Use "l" instead of "f" to match all registers capable of holding a double float.
* config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
all registers capable of holding a double float.
(*rcond): change name of "reverse branch" insns to
something more meaningful.
(*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
comparisons properly.
(*ffs): Change operand 0 from write to read-modify-write.
(*ffsssi2): Drop constraints from define_expand.
* config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
MOVE_RATIO as default for store operations.
* config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
LONG_REGS class.
(CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
(GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
* config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.
* config/ns32k/STATUS: New File
* config/ns32k/NOTES: New file.
From-SVN: r60370
Kazu Hirata [Fri, 20 Dec 2002 16:11:41 +0000 (16:11 +0000)]
ChangeLog: Fix a typo.
* ChangeLog: Fix a typo.
* class.c: Fix comment typos.
* cp-tree.h: Likewise.
From-SVN: r60368
Josef Zlomek [Fri, 20 Dec 2002 13:18:57 +0000 (13:18 +0000)]
* gcc.c-torture/compile/
20021220-1.c: New test.
From-SVN: r60366
Josef Zlomek [Fri, 20 Dec 2002 13:15:14 +0000 (13:15 +0000)]
Testcase for gcc.gnu.org/ml/gcc-patches/2002-12/msg01106.html "[PATCH]...
Testcase for http://gcc.gnu.org/ml/gcc-patches/2002-12/msg01106.html
"[PATCH] fix bug in jump.c which caused SEGFAULT in loop.c"
From-SVN: r60365
Hartmut Penner [Fri, 20 Dec 2002 13:02:42 +0000 (13:02 +0000)]
invoke.texi: Document -mzarch, -mesa, -mcpu= and -march= option for S/390 and zSeries.
* doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
option for S/390 and zSeries.
* config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
s390_arch_string): New variables.
(override_options): Checking for options and setting of
appropriate target_flags, cpu and arch flags.
* config/s390/s390.h: (processor_type): New enum.
(TARGET_SWITCHES): New switches -mesa/zarch.
* config/s390/s390.md: New attribute 'cpu'.
From-SVN: r60364
GCC Administrator [Fri, 20 Dec 2002 08:18:11 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r60363
Kazu Hirata [Fri, 20 Dec 2002 04:30:57 +0000 (04:30 +0000)]
c-pretty-print.h: Fix comment typos.
* c-pretty-print.h: Fix comment typos.
* integrate.c: Likewise.
* varasm.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/fr30/fr30.md: Likewise.
* config/frv/frv.c: Likewise.
* config/h8300/h8300.c: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.md: Likewise.
* config/m68hc11/m68hc11-crt0.S: Likewise.
* config/m68hc11/m68hc11.h: Likewise.
* config/m68hc11/m68hc11.md: Likewise.
* config/m68hc11/m68hc12.h: Likewise.
* config/mcore/mcore.md: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.md: Likewise.
* config/mmix/mmix-modes.def: Likewise.
* config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.
From-SVN: r60354
Kazu Hirata [Fri, 20 Dec 2002 04:05:14 +0000 (04:05 +0000)]
h8300.md (output_a_shift): Clean up the code to output shifts using rotation.
* config/h8300/h8300.md (output_a_shift): Clean up the code to
output shifts using rotation.
From-SVN: r60353
Anthony Green [Fri, 20 Dec 2002 03:49:20 +0000 (03:49 +0000)]
Makefile.am (ordinary_java_source_files): Add org/xml/sax/helpers/NewInstance.java.
2002-12-19 Anthony Green <green@redhat.com>
* Makefile.am (ordinary_java_source_files): Add
org/xml/sax/helpers/NewInstance.java.
* Makefile.in: Rebuilt.
* org/xml/sax/package.html, org/xml/sax/ext/package.html,
org/xml/sax/helpers/package.html: New files.
* org/xml/sax/*: Upgrade to SAX 2.0.1 release from
http://www.saxproject.org.
From-SVN: r60350
Andrew Haley [Fri, 20 Dec 2002 02:06:21 +0000 (02:06 +0000)]
natResourceBundle.cc: Include ArrayIndexOutOfBoundsException.h.
2002-12-19 Andrew Haley <aph@redhat.com>
* java/util/natResourceBundle.cc: Include
ArrayIndexOutOfBoundsException.h.
(getCallingClassLoader): Don't put upper bound on stack search.
Catch ArrayIndexOutOfBoundsException.
From-SVN: r60348
Tom Tromey [Fri, 20 Dec 2002 01:47:54 +0000 (01:47 +0000)]
* libtool-version: Increased `current'.
From-SVN: r60346
Zdenek Dvorak [Fri, 20 Dec 2002 01:18:43 +0000 (02:18 +0100)]
* flow.c (allocate_reg_life_data): Reset REG_FREQ.
From-SVN: r60344