1. 22 Oct, 1997 3 commits
  2. 21 Oct, 1997 5 commits
  3. 20 Oct, 1997 17 commits
    • Patches to fix minor optimizer bugs · 3bf1b082
      Patches to fix minor optimizer bugs
      	* expmed.c (extract_bit_field): Don't make flag_force_mem disable
      	extzv for memory operands.
      	* cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
      	redundant conditional moves to single operand.
      
      From-SVN: r16129
      Jim Wilson committed
    • Update sparc docs. · ded17aad
      From-SVN: r16127
      Doug Evans committed
    • v850.h: Move define of __v850__ from CPP_PREDEFINES to CPP_SPEC. · ddbd8d36
              * v850.h: Move define of __v850__ from CPP_PREDEFINES
              to CPP_SPEC.
      
              * xm-v850.h: Use __v850 rather than __v850__ to
              identify v850 port.
      
      From-SVN: r16126
      Nick Clifton committed
    • Expect SPARC_DEFAULT_CMODEL to be overridden in cover file. · 617b50b6
      From-SVN: r16125
      Doug Evans committed
    • Update copyright year. · 202fd1d5
      From-SVN: r16124
      Doug Evans committed
    • Fix O32 -p bug reported by Ralf Baechle. · a944a4eb
      	* mips/mips.c (compute_frame_size): Not a leaf function if
      	profile_flag set.
      
      From-SVN: r16110
      Jim Wilson committed
    • Lotsa sparc stuff. · f0a9fa6c
      From-SVN: r16109
      Doug Evans committed
    • sparc.h (SPARC_V9,SPARC_ARCH64): Delete. · a0a301fc
      	* sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
      	(DEFAULT_ARCH32_P): New macro.
      	(TARGET_ARCH{32,64}): Allow compile time or runtime selection.
      	(enum cmodel): Declare.
      	(sparc_cmodel_string,sparc_cmodel): Declare.
      	(SPARC_DEFAULT_CMODEL): Provide default.
      	(TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
      	(TARGET_FULLANY): Deleted.
      	(TARGET_CM_MEDMID): New macro.
      	(CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
      	(ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
      	(CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
      	(CPP_SPEC): Rewrite.
      	(CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
      	(CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
      	(ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
      	(ASM_SPEC): Add %(asm_arch).
      	(EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
      	Rename asm_default to asm_cpu_default.
      	Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
      	cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
      	(NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
      	({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
      	(MASK_INT64,MASK_LONG64): Delete.
      	(MASK_ARCH64): Renamed to MASK_64BIT.
      	(MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
      	(EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
      	(TARGET_SWITCHES): Always provide 64 bit options.
      	(ARCH64_SWITCHES): Delete.
      	(TARGET_OPTIONS): New option -mcmodel=.
      	(INT_TYPE_SIZE): Always 32.
      	(MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
      	(INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
      	(FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
      	(PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
      	* sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
      	CPP_SPEC.
      	(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
      	* sparc/linux.h: Likewise.
      	* sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
      	(ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
      	(TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
      	(SPARC_DEFAULT_CMODEL): Define.
      	(CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
      	(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
      	(LONG_DOUBLE_TYPE_SIZE): Define.
      	(ASM_SPEC): Add %(asm_arch).
      	* sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
      	(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
      	(TARGET_CPU_DEFAULT): Add ultrasparc case.
      	* sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
      	(TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
      	(SPARC_DEFAULT_CMODEL): Define.
      	* sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
      	(TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.  Delete
      	MASK_LONG64, MASK_MEDANY.
      	(SPARC_DEFAULT_CMODEL): Define.
      	(CPP_PREDEFINES): Delete.
      	(CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
      	(ASM_SPEC): Add %(asm_arch).
      	(LONG_DOUBLE_TYPE_SIZE): Define.
      	(DWARF2_DEBUGGING_INFO): Define.
      	* sparc/splet.h (CPP_SPEC): Delete.
      	* sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
      	(FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
      	(BLOCK_PROFILER): Likewise.
      	* sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
      	(sparc_override_options): Handle code model selection.
      	(sparc_init_expanders): Renamed from sparc64_init_expanders.
      	* sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
      	TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
      	(sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
      	(sethi_di_fullany): Delete.
      
      From-SVN: r16108
      Doug Evans committed
    • t-ppccomm: Use -msdata=none for crtstuff. · 2d5b6dea
              * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
      Should fix ctor/dtor problems on ppc-linux.
      
      From-SVN: r16107
      Geoff Keating committed
    • except.c (expand_exception_blocks): Call do_pending_stack_adust. · 92b96838
      	* except.c (expand_exception_blocks): Call do_pending_stack_adust.
      	(expand_end_catch_block): Likewise.
      	(expand_end_eh_spec): Likewise.
      
      From-SVN: r16106
      Jason Merrill committed
    • decl.c (duplicate_decls): Handle template specializations correctly. · 92eca640
      Mon Oct 20 11:44:20 1997  Mark Mitchell  <mmitchell@usa.net>
      
      	* decl.c (duplicate_decls): Handle template specializations
      	correctly.
      	* error.c (dump_function_name): Fix printing of specializations of
      	member functions that are not member templates.
      	* cp-tree.h (processing_specialization): Make global.
      	* pt.c (processing_specialization): Likewise.
      	* lex.c (cons_up_default_function): Save and restore
      	processing_specialization to avoid confusion.
      
      From-SVN: r16101
      Mark Mitchell committed
    • decl.c (init_decl_processing): Give null_node unknown* type. · a6967cc0
      	* decl.c (init_decl_processing): Give null_node unknown* type.
      	* typeck.c (comp_target_types): Handle UNKNOWN_TYPE.
      	(common_type): Likewise.
      	* error.c (args_as_string): Recognize null_node.
      
      From-SVN: r16100
      Jason Merrill committed
    • vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case. · 3a133c72
              * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
              (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
              (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
              (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
              * alpha/alpha.md (arg_home): Likewise.
      
      Co-Authored-By: Jeffrey A Law <law@cygnus.com>
      Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
      
      From-SVN: r16099
      Klaus Kaempf committed
    • alpha.c (output_prolog, VMS): Use alloca for entry_label and don't truncate to 64 characters. · a3b0df2d
              * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
              truncate to 64 characters.
      
      vmskrunch changes need this.
      
      Co-Authored-By: Jeffrey A Law <law@cygnus.com>
      Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
      
      From-SVN: r16098
      Klaus Kaempf committed
    • alpha.c (vmskrunch): Delete · c12894e1
              * alpha/alpha.c (vmskrunch): Delete
              * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
      
              * make-l2.com: Support openVMS/Alpha.
      
              * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
      
      Some patches from Klaus.
      
      From-SVN: r16097
      Jeff Law committed
    • * i386/bsd386.h (ASM_COMMENT_START): Define. · decd44ac
      From-SVN: r16095
      Jeffrey A Law committed
  4. 19 Oct, 1997 2 commits
  5. 18 Oct, 1997 7 commits
    • tree.c (restore_tree_status): Also free up temporary storage when we finish a toplevel function. · d1485032
      	* tree.c (restore_tree_status): Also free up temporary storage
      	when we finish a toplevel function.
      	(dump_tree_statistics): Print stats for backend obstacks.
      
      	* libgcc2.c (__throw): Don't copy the return address.
      	* dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
      
      	* except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
      	* toplev.c (main): Initialize exceptions_via_longjmp.
      
      	* tree.c: Add extra_inline_obstacks.
      	(save_tree_status): Use it.
      	(restore_tree_status): If this is a toplevel inline obstack and we
      	didn't want to save anything on it, recycle it.
      	(print_inline_obstack_statistics): New fn.
      	* function.c (pop_function_context_from): Pass context to
      	restore_tree_status.
      	* obstack.h (obstack_empty_p): New macro.
      
      From-SVN: r16050
      Jason Merrill committed
    • * expr.c (use_group_regs): Don't call use_reg for MEMs. · 6bd35f86
      From-SVN: r16046
      Doug Evans committed
    • * i386/freebsd.h (ASM_COMMENT_START): Fix. · 6981eacf
      From-SVN: r15993
      Jeffrey A Law committed
    • v850.c (ep_memory_offset): New function. · 1933ec7e
              * v850.c (ep_memory_offset): New function.
              (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
      
              * v850.h (CONST_OK_FOR_*): Add and correct comments.
              (CONSTANT_ADDRESS_P): Add comment.
              (EXTRA_CONSTRAINT): Define 'U'.
              * v850.md: Add comments on bit field instructions.
              (addsi3): Delete &r/r/r alternative.  Add r/r/U alternative.
              (lshrsi3): Use N not J constraint.
      
              * v850.md (v850_tst1+1): New define_split for tst1 instruction.
      
              * v850.c (reg_or_0_operand): Call register_operand.
              (reg_or_int5_operand): Likewise.
              * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
              (TARGET_SWITCHES): Add "big-switch".
              (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
              ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
              (CASE_DROPS_THROUGH): Comment out.
              (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
              * v850.md (cmpsi): Delete compare mode.
              (casesi): New pattern.
      
              * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
              * v850.md (ashlsi3): Use SImode not QImode for shift count.
              (lshrsi3): Likewise.
      
              * v850.c (print_operand): Add 'c', 'C', and 'z' support.  Delete
              unreachable switch statement after 'b' support.  Remove "b" from
              strings for 'b' support.
              * v850.md (branch_normal, branch_invert): Change %b to b%b.
      
      v850 patches from Jim.
      
      From-SVN: r15992
      Jim Wilson committed
    • Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an empty line if @inhibit_libc@ is empty. · 13c2de98
              * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
              empty line if @inhibit_libc@ is empty.
      
      From-SVN: r15991
      Jeffrey A Law committed
    • sco5.h: Let ELF use dwarf2 unwinding. · b2167bee
              * i386/sco5.h: Let ELF use dwarf2 unwinding.  COFF uses sjlj.
              (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
              (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
              (DWARF2_UNWIND_INFO): Let this track object file format.
              (EXTRA_SECTIONS): Add in_eh.
              (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
              (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
      
      From-SVN: r15990
      Robert Lipe committed
  6. 17 Oct, 1997 6 commits