Skip to content
Snippets Groups Projects
  1. Sep 10, 1997
  2. Sep 09, 1997
    • Jeff Law's avatar
      Add libgcc2 exception to copyright notice. · c82af016
      Jeff Law authored
      From-SVN: r15205
      c82af016
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · 66ed0683
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15198
      66ed0683
    • Brendan Kehoe's avatar
      typeck.c (build_indirect_ref): Heed FLAG_VOLATILE similar to c-typeck.c. · b0d75c1e
      Brendan Kehoe authored
              * typeck.c (build_indirect_ref): Heed FLAG_VOLATILE similar to
              c-typeck.c.
      
      From-SVN: r15197
      b0d75c1e
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · ee89446f
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15190
      ee89446f
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · 6eb70e69
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15189
      6eb70e69
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · 81049807
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15188
      81049807
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · 5680076c
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15187
      5680076c
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · e90d5e57
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15186
      e90d5e57
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · 0143027a
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15185
      0143027a
    • Jeff Law's avatar
      Add port done awhile ago for the ARC cpu. · d7ad6040
      Jeff Law authored
              * arc/arc.h: New file.
              * arc/arc.c: New file.
              * arc/arc.md: New file.
              * arc/initfini.c: New file.
              * arc/lib1funcs.asm: New file.
              * arc/t-arc: New file.
              * arc/xm-arc.h: New file.
              * ginclude/va-arc.h: New file.
              * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
              * ginclude/varargs.h: Likewise.
              * Makefile.in (USER_H): Add va-arc.h.
              * configure.in (arc-*-elf*): Recognize.
              * longlong.h: Add ARC support.
      Mostly so I can test changes in snapshot scripts.
      
              * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
              when clearing non-BLKmode data.
      Fixes sparc problem.
      
      From-SVN: r15184
      d7ad6040
    • Jim Wilson's avatar
      Add CYGWIN32 support. · 233bd86d
      Jim Wilson authored
      	* g77.c (pexecute, doit): Add checks for __CYGWIN32__.
      
      From-SVN: r15183
      233bd86d
    • Jeffrey A Law's avatar
      * haifa-sched.c (print_value): Fix last change. · 8f3d79e0
      Jeffrey A Law authored
      From-SVN: r15181
      8f3d79e0
    • Nick Clifton's avatar
      v850.h (ASM_SPEC): Pass on target processor. · 74aca74b
      Nick Clifton authored
              * v850.h (ASM_SPEC): Pass on target processor.
              (CPP_PREDEFINES): Only define if not already specified.
              (TARGET_VERSION): Only define if not already specified.
              (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
              processor.
              (EXTRA_SWITCHES): Extra entries in the switches array.
              (TARGET_DEFAULT): Set default target processor.
      
      From-SVN: r15180
      74aca74b
    • Jim Wilson's avatar
      Fix m68k-hp-hpux8 problem for Manfred Holstein. · c0b04148
      Jim Wilson authored
      	* m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
      	cases, add %# and %/, and add : to make them into extended asms.
      
      From-SVN: r15174
      c0b04148
  3. Sep 08, 1997
    • Weiwen Liu's avatar
      * libio.h: Fix typo. · 2ce72aa0
      Weiwen Liu authored
      From-SVN: r15170
      2ce72aa0
    • Weiwen Liu's avatar
      alias.c (init_alias_analysis): Clean up incompatible pointer type warning in bzero. · 52b7724b
      Weiwen Liu authored
              * alias.c (init_alias_analysis): Clean up incompatible pointer
              type warning in bzero.
              * regmove.c (regmove_optimize): Ditto.
              * haifa-sched.c (find_rgns): Ditto.
      
              * haifa-sched.c (print_value): Clean up ptr->int cast
              warnings.
      
      From-SVN: r15169
      52b7724b
    • Jeff Law's avatar
      Fix thinko. · 1a5de45f
      Jeff Law authored
      From-SVN: r15168
      1a5de45f
    • Jody Goldberg's avatar
      decl.c (current_local_enum): Remove static. · b3d5a58b
      Jody Goldberg authored
      Mon Sep  8 02:33:20 1997  Jody Goldberg  <jodyg@idt.net>
      
      	* decl.c (current_local_enum): Remove static.
      	* pt.c (tsubst_enum): Save and restore value of current_local_enum
      	in case template is expanded in enum decl.
      	(instantiate_class_template) : Use new tsubst_enum signature.
      	(tsubst_expr): Likewise.
      
      From-SVN: r15156
      b3d5a58b
    • Mark Mitchell's avatar
      pt.c (begin_member_template_processing): Take a function as argument, not a... · 786b5245
      Mark Mitchell authored
      pt.c (begin_member_template_processing): Take a function as argument, not a set of template arguments.
      
      Mon Sep  8 01:21:43 1997  Mark Mitchell  <mmitchell@usa.net>
      
      	* pt.c (begin_member_template_processing): Take a function as
      	argument, not a set of template arguments.  Use the template
      	parameters, rather than the arguments.  Handle non-type parameters
      	correctly.  Push a binding level for the parameters so that multiple
      	member templates using the same parameter names can be declared.
      	(end_member_template_processing): Pop the binding level.
      	(push_template_decl): Mark member templates as static when
      	appropriate.
      
      	* lex.c (do_pending_inlines): Pass the function, not its template
      	arguments, to begin_member_template_processing.
      	(process_next_inline): Likewise.
      	(do_pending_defargs): Likewise.
      
      	* error.c (dump_expr): Obtain the correct declaration for a
      	TEMPLATE_CONST_PARM.
      
      	* call.c (add_template_conv_candidate): New function.
      	(build_object_call): Handle member templates, as done in the other
      	build_ functions.
      
      From-SVN: r15155
      786b5245
    • Jason Merrill's avatar
      dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL prologue insn,... · 267c09ab
      Jason Merrill authored
      dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL prologue insn, only the first elt is significant.
      
      	* dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
       	prologue insn, only the first elt is significant.
      	(output_call_frame_info): For exception handling, always use 4-byte
       	fields as specified by the dwarf2 spec.
      	Don't skip trivial FDEs.
      
      From-SVN: r15154
      267c09ab
    • Fred Fish's avatar
      INSTALL: Change 'amigados' to 'amigaos' to match current usage. · 0c82f6bf
      Fred Fish authored
      	* INSTALL: Change 'amigados' to 'amigaos' to match current usage.
      	* install.texi (Configurations): Ditto.
      	* config.sub: Ditto.
      
      From-SVN: r15143
      0c82f6bf
    • Jim Wilson's avatar
      linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio. · 44010f91
      Jim Wilson authored
              * linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
      Should fix linux build problem.
      
      From-SVN: r15142
      44010f91
    • Weiwen Liu's avatar
      * Makefile.in (sdbout.o): Depend on insn-config.h. · 1fed1f51
      Weiwen Liu authored
      From-SVN: r15141
      1fed1f51
    • Jim Wilson's avatar
      Fix typo in last patch. · 624cc15e
      Jim Wilson authored
      From-SVN: r15139
      624cc15e
    • Jim Wilson's avatar
      Fix m68k-motorola-sysv (aka delta) build failure for Manfred Hollstein. · 239e68f6
      Jim Wilson authored
      	* m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
      	For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
      
      From-SVN: r15138
      239e68f6
  4. Sep 07, 1997
  5. Sep 06, 1997
    • Mark Mitchell's avatar
      decl.c (replace_defag): Undo previous change. · aa5f3bad
      Mark Mitchell authored
      Sat Sep  6 10:20:27 1997  Mark Mitchell  <mmitchell@usa.net>
      
      	* decl.c (replace_defag): Undo previous change.
      	* lex.c (do_pending_defargs): Deal with member templates.
      
      	* pt.c (is_member_template): Avoid crashing when passed a
      	non-function argument.
      
      From-SVN: r15131
      aa5f3bad
    • Jason Merrill's avatar
      class.c (grow_method): Remove check for redeclaration. · 98c1c668
      Jason Merrill authored
      	* class.c (grow_method): Remove check for redeclaration.
      
      Fri Sep  5 01:37:17 1997  Mark Mitchell  <mmitchell@usa.net>
      
      	* cp-tree.h (INNERMOST_TEMPLATE_PARMS): New macro.
      	(DECL_INNERMOST_TEMPLATE_PARMS): Likewise.
      	(PRIMARY_TEMPLATE_P): Use it.
      	* call.c (build_overload_call_real): Use it.
      	* class.c (instantiate_type): Likewise.
      	* decl.c (decls_match): Likewise.
      	* method.c (build_overload_identifier): Likewise.
      	* pt.c (push_template_decl): Likewise.
      	(classtype_mangled_name): Likewise.
      	(lookup_template_class): Likewise.
      
      	* cp-tree.h (DECL_NTPARMS): Change name from DECL_NT_PARMS to
      	DECL_NTPARMS to conform to usage elsewhere.
      	* call.c (add_template_candidate): Likewise.
      	* class.c (instantiate_type): Likewise.
      	* pt.c (instantiate_template): Likewise.
      	(get_bindings): Likewise.
      
      	* class.c (grow_method): Use DECL_FUNCTION_TEMPLATE_P instead of
      	is_member_template.
      
      	* pt.c (unify): Undo changes to allow multiple levels of template
      	parameters.
      	(type_unification): Likewise.
      	(fn_type_unification): Likewise.
      	(get_class_bindings): Likewise.
      	* cp-tree.h (Likewise).
      
      	* decl.c (replace_defarg): Check that the type of the default
      	parameter does not invlove a template type before complaining
      	about the initialization.
      
      	* error.c (dump_expr): Deal with template constant parameters in
      	member templates correctly.
      
      	* pt.c (is_member_template): Deal with class specializations
      	correctly.
      	(tsubst): Handle "partial instantiation" of member templates
      	correctly.
      
      Wed Sep  3 12:30:24 1997  Mark Mitchell  <mmitchell@usa.net>
      
      	* pt.c (type_unification): Change calling squence to allow for
      	multiple levels of template parameters.
      	(tsubst_expr): Likewise.
      	(tsubst): Likewise.
      	(tsubst_copy): Likewise.
      	(instantiate_template): Likewise.
      	(unify): Likewise.
      	* call.c (build_overload_call_real): Use it.
      	(add_builtin_candidate): Use it.
      	(build_new_method_call): Use it.
      	* class.c (instantiate_type): Use it.
      	* decl.c (grokdeclarator): Use it.
      	* decl2.c (finish_file): Use it.
      	* method.c (build_overload_identifier): Use it.
      
      	* call.c (add_template_candidate):  Add additional parameter for
      	the function return type.  Call fn_type_unification istead of
      	type_unification.
      	(build_user_type_conversion_1): Handle member templates.
      	(build_new_function_call): Likewise.
      	(build_new_op): Likewise.
      	(build_new_method_call): Likewise.
      
      	* class.c (grow_method): Don't give an error message indicating
       	that two member templates with the same name are ambiguous.
      	(finish_struct): Treat member template functions just like member
       	functions.
      
      	* cp-tree.h (check_member_template): Add declaration.
      	(begin_member_template_processing): Likewise.
      	(end_member_template_processing): Likewise.
      	(fn_type_unification): Likewise.
      	(is_member_template): Likewise.
      	(tsubst): Change prototype.
      	(tsubst_expr): Likewise.
      	(tsubst_copy): Likewise.
      	(instantiate_template): Likewise.
      	(get_bindings): Likewise.
      
      	* decl.c (decls_match): Handle multiple levels of template
      	parameters.
      	(pushdecl): Handle template type params just like other type
      	declarations.
      	(push_class_level_binding): Return immediately if the
      	class_binding_level is NULL.
      	(grokfndecl): If check_classfn() returns a member_template, use
      	the result of the template, not the template itself.
      
      	* decl2.c (check_member_template): New function.  Check to see
      	that the entity declared to be a member template can be one.
      	(check_classfn): Allow redeclaration of member template functions
      	with different types; the new functions can be specializations or
      	explicit instantiations.
      
      	* error.c (dump_decl): Handle multiple levels of template
      	parameters.
      	(dump_function_decl): Update to handle function	templates.
      
      	* lex.c (do_pending_inlines): Set up template parameter context
      	for member templates.
      	(process_next_inline): Likewise.
      
      	* method. (build_overload_identifier): Adjust for multiple levels
      	of template parameters.
      
      	* parse.y (fn.def2): Add member templates.
      	(component_decl_1): Likewise.
      
      	* pt.c (begin_member_template_processing): New function.
      	(end_member_template_processing): Likewise.
      	(is_member_template): Likewise.
      	(fn_type_unification): Likewise.
      	(current_template_parms): Return a vector of all the template
      	parms, not just the innermost level of parms.
      	(push_template_decl): Deal with the possibility of member
      	templates.
      	(lookup_template_class): Likewise.
      	(uses_template_parms): Likewise.
      	(tsubst): Modify processing to TEMPLATE_TYPE_PARM and
      	TEMPLATE_CONST_PARM to deal with multiple levels of template
      	arguments.   Add processing of TEMPLATE_DECL to produce new
      	TEMPLATE_DECLs from old ones.
      	(do_decl_instantiation): Handle member templates.
      
      	* search.c (lookup_fnfields_1): Handle member template conversion
      	operators.
      
      	* tree.c (cp_tree_equal): Check the levels, as well as the
      	indices, of TEMPLATE_CONST_PARMs.
      
      	* typeck.c (comptypes): Check the levels, as well as the indices,
      	fo TEMPLATE_TYPE_PARMs.
      	(build_x_function_call): Treat member templates like member
      	functions.
      
      Member templates.
      
      From-SVN: r15130
      98c1c668
Loading