- 29 Sep, 1997 8 commits
-
-
From-SVN: r15791
Jeffrey A Law committed -
* cp-tree.h, decl.c, decl2.c, pt.c: Lose DECL_C_STATIC and DECL_PUBLIC. Don't pretend statics are public. * decl2.c (lang_decode_option): Add missing ;. From-SVN: r15789
Jason Merrill committed -
* configure.in: Substitute for "install" too. * configure: Rebuilt. From-SVN: r15788
Jeffrey A Law committed -
* Makefile.in (bootstrap-lean): New target. * gcc/Makefile.in (bootstrap-lean, compare-lean): New targets. From-SVN: r15786
Aaron Jackson committed -
* alias.c (base_alias_check): Two symbols can conflict if they are accessed via AND. (memrefs_conflict_p): Likewise. From-SVN: r15785
Richard Henderson committed -
alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn after flushing argument registers to the stack. * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn after flushing argument registers to the stack. From-SVN: r15784
Richard Henderson committed -
From-SVN: r15783
Richard Henderson committed -
From-SVN: r15781
Jason Merrill committed
-
- 28 Sep, 1997 11 commits
-
-
Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net> * cplus-dem.c (demangle_template): Add new parameter. Handle new template-function mangling. (consume_count_with_underscores): New function. (demangle_signature): Handle new name-mangling scheme. From-SVN: r15780
Mark Mitchell committed -
Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net> * cplus-dem.c (demangle_template): Add new parameter. Handle new template-function mangling. (consume_count_with_underscores): New function. (demangle_signature): Handle new name-mangling scheme. From-SVN: r15778
Mark Mitchell committed -
From-SVN: r15777
Jason Merrill committed -
Sat Sep 27 16:48:00 1997 Jason Merrill <jason@yorick.cygnus.com> * std/complext.h: Lose injection decls. * std/fcomplex.h: Likewise. * std/dcomplex.h: Likewise. * std/ldcomplex.h: Likewise. Sat Sep 27 16:47:35 1997 Mark Mitchell <mmitchell@usa.net> * std/complext.h: Declare templates before making them friends. Use new friend <> syntax. * std/complext.cc: Don't rely on guiding declarations. * std/fcomplex.h: Use new friend <> syntax. * std/dcomplex.h: Likewise. * std/ldcomplex.h: Likewise. From-SVN: r15776
Jason Merrill committed -
Sun Sep 28 12:09:04 1997 Mark Mitchell <mmitchell@usa.net> * iomanip.h: Use new friend <> syntax. From-SVN: r15775
Mark Mitchell committed -
Sat Sep 27 16:22:48 1997 Jason Merrill <jason@yorick.cygnus.com> * friend.c (do_friend): Disable injection for all template-derived decls. * decl2.c (lang_decode_option): Handle -fguiding-decls. * parse.y (notype_template_declarator): New nonterminal. (direct_notype_declarator): Use it. (complex_direct_notype_declarator): Likewise. (object_template_id): Accept any kind of identifier after TEMPLATE. (notype_qualified_id): Don't add template declarators here. Sat Sep 27 16:21:58 1997 Mark Mitchell <mmitchell@usa.net> * call.c (add_template_candidate): Add explicit_targs parameter. (build_scoped_method_call): Use it. (build_overload_call_real): Likewise. (build_user_type_conversion_1): Likewise. (build_new_function_call): Likewise. (build_object_call): Likewise. (build_new_op): Likewise. (build_new_method_call): Likewise. (build_new_function_call): Handle TEMPLATE_ID_EXPR. (build_new_method_call): Likewise. * class.c (finish_struct_methods): Add specialization pass to determine which methods were specializing which other methods. (instantiate_type): Handle TEMPLATE_ID_EXPR. * cp-tree.def (TEMPLATE_ID_EXPR): New tree code. * cp-tree.h (name_mangling_version): New variable. (flag_guiding_decls): Likewise. (build_template_decl_overload): New function. (begin_specialization): Likewise. (reset_specialization): Likewise. (end_specialization): Likewise. (determine_explicit_specialization): Likewise. (check_explicit_specialization): Likewise. (lookup_template_function): Likewise. (fn_type_unification): Add explicit_targs parameter. (type_unification): Likewise. * decl.c (duplicate_decls): Add smarts for explicit specializations. (grokdeclarator): Handle TEMPLATE_ID_EXPR, and function specializations. (grokfndecl): Call check_explicit_specialization. * decl2.c (lang_decode_option): Handle -fname-mangling-version. (build_expr_from_tree): Handle TEMPLATE_ID_EXPR. (check_classfn): Handle specializations. * error.c (dump_function_name): Print specialization arguments. * friend.c (do_friend): Don't call pushdecl for template instantiations. * init.c (build_member_call): Handle TEMPLATE_ID_EXPR. * lang-options.h: Add -fname-mangling-version, -fguiding-decls, and -fno-guiding-decls. * lex.c (identifier_type): Return PFUNCNAME for template function names. * method.c (build_decl_overload_real): New function. (build_template_parm_names): New function. (build_overload_identifier): Use it. (build_underscore_int): New function. (build_overload_int): Use it. Add levels for template parameters. (build_overload_name): Likewise. Also, handle TYPENAME_TYPEs. (build_overload_nested_names): Handle template type parameters. (build_template_decl_overload): New function. * parse.y (YYSTYPE): New ntype member. (nested_name_specifier): Use it. (nested_name_specifier_1): Likewise. (PFUNCNAME): New token. (template_id, object_template_id): New non-terminals. (template_parm_list): Note specializations. (template_def): Likewise. (structsp): Likewise. (fn.def2): Handle member template specializations. (component_decl_1): Likewise. (direct_notype_declarator): Handle template-ids. (component_decl_1): Likewise. (direct_notype_declarator): Handle template-ids. (primary): Handle TEMPLATE_ID_EXPR, and template-ids. * pt.c (processing_specializations): New variable. (template_header_count): Likewise. (type_unification_real): New function. (processing_explicit_specialization): Likewise. (note_template_header): Likewise. (is_member_template): Handle specializations. (end_template_decl): Call reset_specialization. (push_template_decl): Handle member template specializations. (tsubst): Likewise. (tsubst_copy): Handle TEMPLATE_ID_EXPR. (instantiate_template): Handle specializations. (instantiate_decl): Likewise. (fn_type_unification): Handle explicit_targs. (type_unification): Likewise. Allow incomplete unification without an error message, if allow_incomplete. (get_bindings): Use new calling sequence for fn_type_unification. * spew.c (yylex): Handle PFUNCNAME. * tree.c (is_overloaded_fn): Handle TEMPLATE_ID_EXPR. (really_overloaded_fn): Likewise. (get_first_fn): Handle function templates. * typeck.c (build_x_function_call): Use really_overloaded_fn. Handle TEMPLATE_ID_EXPR. (build_x_unary_op): Likewise. (build_unary_op): Likewise. (mark_addressable): Templates whose address is taken are marked as used. From-SVN: r15774
Jason Merrill committed -
From-SVN: r15773
Jason Merrill committed -
From-SVN: r15772
Jason Merrill committed -
* flow.c (print_rtl_with_bb): Cast alloca return values for variables start and end. From-SVN: r15753
Philippe De Muyter committed -
Make-lang.in (G77_FLAGS_TO_PASS): Pass down RANLIB, RANLIB_TEST and AR instead of the _FOR_TARGET versions. * Make-lang.in (G77_FLAGS_TO_PASS): Pass down RANLIB, RANLIB_TEST and AR instead of the _FOR_TARGET versions. From-SVN: r15752
Jeffrey A Law committed -
* frame.c: Remove last change. * dwarf2.h: Remove last change. * tree.h: Add declarations of DWARF2 unwind info support functions. As requested by Jason. From-SVN: r15751
Jeffrey A Law committed
-
- 27 Sep, 1997 7 commits
-
-
* c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size. * tree.h (built_in_function): Likewise. * expr.c (expand_builtin): Likewise. * except.h: Likewise. * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn. * libgcc2.c (copy_reg): New fn. (__throw): Use it. From-SVN: r15750
Jason Merrill committed -
From-SVN: r15749
Jason Merrill committed -
From-SVN: r15742
Jeff Law committed -
libio changes from Ulrich to help "old linux" systems. See ChangeLog for details. From-SVN: r15741
Ulrich Drepper committed -
* frame.c: Include gansidecl.h for PROTO. * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is defined. Don't declare dwarf2out_cfi_label here. * dwarf2.h: Add declarations of DWARF2 unwind info support functions. * m68k.c: Include dwarf2.h. (output_function_prologue): Add dwarf2 support. * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros. (INCOMING_FRAME_SP_OFFSET): Likewise. Update m68k patch from Andreas. From-SVN: r15740
Andreas Schwab committed -
* c-typeck.c (build_binary_op): Warn about comparing signed vs unsigned if -W is specified and -Wno-sign-compare is not. * c-decl.c (warn_sign_compare): Initialize to -1. (c_decode_option): -Wall no longer implies -Wsign-compare. From-SVN: r15739
Paul Eggert committed -
integrate.c (expand_inline_function): Make sure there is at least one insn that can be used as an insertion point. * integrate.c (expand_inline_function): Make sure there is at least one insn that can be used as an insertion point. From-SVN: r15738
Andreas Schwab committed
-
- 26 Sep, 1997 10 commits
-
-
decl.c (init_decl_processing): Declare __builtin_constant_p as accepting any kind of type, not only int. 1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * decl.c (init_decl_processing): Declare __builtin_constant_p as accepting any kind of type, not only int. From-SVN: r15734
Andreas Schwab committed -
From-SVN: r15733
Jason Merrill committed -
* search.c (get_matching_virtual): Notice virtual bases when sorrying about covariant returns. From-SVN: r15732
Jason Merrill committed -
From-SVN: r15731
Jason Merrill committed -
From-SVN: r15721
Jason Merrill committed -
* parse.y (member_init): Also imply typename here. Remove ancient extension for initializing base members. From-SVN: r15720
Jason Merrill committed -
From-SVN: r15719
Jason Merrill committed -
From-SVN: r15718
Jason Merrill committed -
* std/bastring.h: Enable exceptions. (assign, append, insert, replace): Implement member template versions. * tstring.cc: Add some tests for the member templates. From-SVN: r15717
Jason Merrill committed -
From-SVN: r15716
Jason Merrill committed
-
- 25 Sep, 1997 4 commits
-
-
* parse.y (typename_sub{,[0-2]}): New rules. (structsp, rule TYPENAME_KEYWORD): Use typename_sub. (nonnested_type): New rule. (complete_type_name): Use it. (base_class.1): Use typename_sub and nonnested_type. (nested_name_specifier): Don't elide std:: here. * decl.c (make_typename_type): Handle getting a type for NAME. (lookup_name_real): Turn std:: into :: here. Rvalue conversions were removed in London. * call.c (is_subseq): Don't consider lvalue transformations. (build_conv): LVALUE_CONV and RVALUE_CONV get IDENTITY_RANK. (joust): Reenable ?: kludge. From-SVN: r15715
Jason Merrill committed -
Fix typo in i386 -malign-functions docs. Brought over from FSF. From-SVN: r15714
Doug Evans committed -
* dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/ * final.c (final_end_function): Also do dwarf2 thing if DWARF2_DEBUGGING_INFO. (final_start_function): Likewise. From-SVN: r15713
Jason Merrill committed -
From-SVN: r15710
Jeffrey A Law committed
-