- 28 Dec, 2002 11 commits
-
-
From-SVN: r60571
Alexandre Oliva committed -
* c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for correct format. From-SVN: r60570
Andreas Jaeger committed -
* Makefile.tpl: Fix dramatic bustage due to change in program_transform_name. * Makefile.in: Regenerate. * configure.in: Remove unnecessary PATH setting. * configure: Regnerate. * configure.in: Don't default to unprefixed tools unless the native tools will work. * configure: Regenerate. From-SVN: r60568
Nathanael Nerode committed -
From-SVN: r60567
GCC Administrator committed -
* 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 committed -
* 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
Mark Mitchell committed -
(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
Nathanael Nerode committed -
* 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 committed -
* 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
Mark Mitchell committed -
* config/h8300/h8300.md (*iorhi_shift_8): Change the name to *iorhi_ashift_8. (*iorhi_lshiftrt_8): New. From-SVN: r60553
Kazu Hirata committed -
* 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 committed
-
- 27 Dec, 2002 7 commits
-
-
* configure: Remove unneeded 'export's. Make CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only. From-SVN: r60550
Nathanael Nerode committed -
(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
Mark Mitchell committed -
From-SVN: r60545
Joseph Myers committed -
From-SVN: r60544
Gerald Pfeifer committed -
From-SVN: r60543
GCC Administrator committed -
2002-12-26 Phil Edwards <pme@gcc.gnu.org> * libsupc++/exception: Add comment (mistakenly skipped). From-SVN: r60534
Phil Edwards committed -
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 committed
-
- 26 Dec, 2002 12 commits
-
-
2002-12-26 Phil Edwards <pme@gcc.gnu.org> * libsupc++/vterminate.cc (writestr): Use __builtin_strlen. From-SVN: r60531
Phil Edwards committed -
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
Phil Edwards committed -
* config/h8300/h8300-protos.h: Fix comment typos. Update copyright. * config/h8300/h8300.c: Fix comment typos. From-SVN: r60527
Kazu Hirata committed -
From-SVN: r60525
Kazu Hirata committed -
* 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
Kazu Hirata committed -
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
Nathan Sidwell committed -
* 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
Jose Renau committed -
From-SVN: r60519
Andreas Schwab committed -
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
Nathan Sidwell committed -
From-SVN: r60513
GCC Administrator committed -
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
Phil Edwards committed -
* 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
David Edelsohn committed
-
- 25 Dec, 2002 6 commits
-
-
From-SVN: r60503
Jan Hubicka committed -
* 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 committed -
* config/h8300/h8300.c (print_operand_address): Do not negate a negative number when printing one. From-SVN: r60501
Kazu Hirata committed -
* 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
Kazu Hirata committed -
From-SVN: r60499
GCC Administrator committed -
* config/h8300/h8300.md (two peepholes): Use match_dup instead of match_operand in the new patterns. From-SVN: r60488
Kazu Hirata committed
-
- 24 Dec, 2002 4 commits
-
-
* config.sub: Import from master repository * config.guess: Ditto From-SVN: r60486
Svein E. Seldal committed -
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 committed -
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
Nathan Sidwell committed -
* 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 committed
-