OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years agoLotsa sparc stuff.
devans [Mon, 20 Oct 1997 20:50:34 +0000 (20:50 +0000)]
Lotsa sparc stuff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16109 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
devans [Mon, 20 Oct 1997 20:49:22 +0000 (20:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16108 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
law [Mon, 20 Oct 1997 20:13:24 +0000 (20:13 +0000)]
    * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
Should fix ctor/dtor problems on ppc-linux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16107 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * except.c (expand_exception_blocks): Call do_pending_stack_adust.
jason [Mon, 20 Oct 1997 19:14:09 +0000 (19:14 +0000)]
* except.c (expand_exception_blocks): Call do_pending_stack_adust.
(expand_end_catch_block): Likewise.
(expand_end_eh_spec): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16106 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoMon Oct 20 11:44:20 1997 Mark Mitchell <mmitchell@usa.net>
jason [Mon, 20 Oct 1997 18:46:24 +0000 (18:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16101 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl.c (init_decl_processing): Give null_node unknown* type.
jason [Mon, 20 Oct 1997 18:09:06 +0000 (18:09 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16100 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
law [Mon, 20 Oct 1997 15:50:29 +0000 (15:50 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16099 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
law [Mon, 20 Oct 1997 08:29:55 +0000 (08:29 +0000)]
    * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
        truncate to 64 characters.

vmskrunch changes need this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16098 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha/alpha.c (vmskrunch): Delete
law [Mon, 20 Oct 1997 08:11:49 +0000 (08:11 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16097 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * longlong.h (count_leading_zeros): Add missing casts to USItype.
law [Mon, 20 Oct 1997 00:56:45 +0000 (00:56 +0000)]
    * longlong.h (count_leading_zeros): Add missing casts to USItype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16096 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386/bsd386.h (ASM_COMMENT_START): Define.
law [Mon, 20 Oct 1997 00:40:44 +0000 (00:40 +0000)]
    * i386/bsd386.h (ASM_COMMENT_START): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16095 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoUndo cvs entry 1.4 "Reorg sethi_{hi,si} patterns." and add comment why.
devans [Sun, 19 Oct 1997 16:46:47 +0000 (16:46 +0000)]
Undo cvs entry 1.4 "Reorg sethi_{hi,si} patterns." and add comment why.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16080 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoInitial revision
law [Sun, 19 Oct 1997 16:29:32 +0000 (16:29 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16070 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * tree.c (restore_tree_status): Also free up temporary storage
jason [Sat, 18 Oct 1997 21:10:32 +0000 (21:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16050 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * expr.c (use_group_regs): Don't call use_reg for MEMs.
devans [Sat, 18 Oct 1997 19:48:25 +0000 (19:48 +0000)]
* expr.c (use_group_regs): Don't call use_reg for MEMs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16046 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386/freebsd.h (ASM_COMMENT_START): Fix.
law [Sat, 18 Oct 1997 06:52:58 +0000 (06:52 +0000)]
    * i386/freebsd.h (ASM_COMMENT_START): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15993 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * v850.c (ep_memory_offset): New function.
law [Sat, 18 Oct 1997 05:46:19 +0000 (05:46 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15992 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
law [Sat, 18 Oct 1997 05:31:26 +0000 (05:31 +0000)]
    * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
        empty line if @inhibit_libc@ is empty.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15991 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
law [Sat, 18 Oct 1997 05:21:23 +0000 (05:21 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15990 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * tree.h, vector.h: Fix accidental divergence from SGI release.
jason [Sat, 18 Oct 1997 02:09:13 +0000 (02:09 +0000)]
* tree.h, vector.h: Fix accidental divergence from SGI release.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15989 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * ginclude/va-sparc.h: Rewrite v9 support.
devans [Fri, 17 Oct 1997 23:26:02 +0000 (23:26 +0000)]
* ginclude/va-sparc.h: Rewrite v9 support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15987 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRewrite v9 support.
devans [Fri, 17 Oct 1997 23:25:26 +0000 (23:25 +0000)]
Rewrite v9 support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15986 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
devans [Fri, 17 Oct 1997 23:21:12 +0000 (23:21 +0000)]
(output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
fmovd so it works if a quad float ends up in one of the upper 32
float regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15985 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* sparc.c (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
devans [Fri, 17 Oct 1997 23:20:03 +0000 (23:20 +0000)]
* sparc.c (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
fmovd so it works if a quad float ends up in one of the upper 32
float regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15984 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
devans [Fri, 17 Oct 1997 23:01:29 +0000 (23:01 +0000)]
* sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
necessary for PIC support on sparc64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15982 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoReorg sethi_{hi,si} patterns.
devans [Fri, 17 Oct 1997 22:45:15 +0000 (22:45 +0000)]
Reorg sethi_{hi,si} patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15979 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd some stuff.
law [Fri, 17 Oct 1997 22:16:29 +0000 (22:16 +0000)]
Add some stuff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15978 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/sparc.c (output_double_int): Output DI mode values
devans [Fri, 17 Oct 1997 21:59:06 +0000 (21:59 +0000)]
* sparc/sparc.c (output_double_int): Output DI mode values
correctly when HOST_BITS_PER_WIDE_INT is 64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15977 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
devans [Fri, 17 Oct 1997 21:35:20 +0000 (21:35 +0000)]
* sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
TARGET_MEDANY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15974 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
devans [Fri, 17 Oct 1997 21:21:12 +0000 (21:21 +0000)]
* sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15972 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
devans [Fri, 17 Oct 1997 21:16:36 +0000 (21:16 +0000)]
* sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15971 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFirst pass at updating to current sparc v9 abi.
devans [Fri, 17 Oct 1997 20:41:17 +0000 (20:41 +0000)]
First pass at updating to current sparc v9 abi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15969 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
devans [Fri, 17 Oct 1997 20:39:37 +0000 (20:39 +0000)]
* sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
* sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
(PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
(SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
(SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
(SPARC_FP_ARG_FIRST): New macro.
(CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
(NPARM_REGS): There are 32 fp argument registers now.
(FUNCTION_ARG_REGNO_P): Likewise.
(FIRST_PARM_OFFSET): Update to new v9 abi.
(REG_PARM_STACK_SPACE): Define for arch64.
(enum sparc_arg_class): Delete.
(sparc_arg_count,sparc_n_named_args): Delete.
(struct sparc_args): Redefine and use for arch32 as well as arch64.
(GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
(FUNCTION_ARG_ADVANCE): Rewrite.
(FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
(FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
(FUNCTION_ARG_CALLEE_COPIES): Delete.
(FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
(STRICT_ARGUMENT_NAMING): Define.
(doublemove_string): Declare.
* sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
(single_move_string): Use GEN_INT, and HOST_WIDE_INT.
(doublemove_string): New function.
(output_move_quad): Clean up some of the arch64 support.
(compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
Don't add 8 bytes of reserved space if arch64.
(sparc_builtin_saveregs): Combine arch32/arch64 versions.
(init_cumulative_args): New function.
(function_arg_slotno): New static function.
(function_arg,function_arg_partial_nregs): New functions.
(function_arg_{pass_by_reference,advance}): New functions.
(function_arg_padding): New function.
First pass at updating to current v9 abi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15968 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix from Joern.
law [Fri, 17 Oct 1997 15:54:01 +0000 (15:54 +0000)]
Fix from Joern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15955 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
law [Fri, 17 Oct 1997 15:46:57 +0000 (15:46 +0000)]
    * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
        for hard regs to determine base and index registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15954 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * reload.c (debug_reload_to_stream): New function. Specify stream
law [Fri, 17 Oct 1997 15:40:52 +0000 (15:40 +0000)]
    * reload.c (debug_reload_to_stream): New function.  Specify stream
        into which to write debug info.
        (debug_reload): Modify to call debug_reload_to_stream with stderr.
Thanks.  Installed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15953 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * combine.c (can_combine_p): Don't combine with an asm whose
rth [Thu, 16 Oct 1997 22:06:43 +0000 (22:06 +0000)]
    * combine.c (can_combine_p): Don't combine with an asm whose
        output is a hard register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15940 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-decl.c (start_struct): Ensure that structs with forward
law [Thu, 16 Oct 1997 21:45:24 +0000 (21:45 +0000)]
    * c-decl.c (start_struct): Ensure that structs with forward
        declarations are in fact packed when -fpack-struct is given.

        * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
        we are packing a structure.  This allows a structure with only
        bytes to be aligned on a byte boundary and have no padding on a
        m68k.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15939 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (determine_explicit_specialization): Initialize "dummy"
law [Thu, 16 Oct 1997 21:33:36 +0000 (21:33 +0000)]
    * pt.c (determine_explicit_specialization): Initialize "dummy"
        to keep Purify quiet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15938 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
law [Thu, 16 Oct 1997 21:16:09 +0000 (21:16 +0000)]
    * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
Bring over from gcc2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15937 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha.c (alpha_return_addr_rtx): New variable.
rth [Thu, 16 Oct 1997 18:37:59 +0000 (18:37 +0000)]
    * alpha.c (alpha_return_addr_rtx): New variable.
        (alpha_save_machine_status): New; save it.
        (alpha_restore_machine_status): New; restore it.
        (alpha_init_expanders): New; clear it.
        (alpha_return_addr): New; set it.
        (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
        is overly conservative, so search the insns explicitly.
        (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
        (alpha_sa_size [VMS && !VMS]): Likewise.
        * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
        (INIT_EXPANDERS): New definition.

        * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
        (output_prolog [!VMS]): Use them.

        * alpha.c (output_prolog [!VMS]): Move gp detection to ...
        (alpha_does_function_need_gp): ... a new function.  Refine the
        CALL_INSN test to just TYPE_JSR.
        * alpha.md (most call insns): Fix some jsr/ibr type transpositions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15936 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * version.c: Bump for snapshot.
law [Thu, 16 Oct 1997 15:39:00 +0000 (15:39 +0000)]
    * version.c: Bump for snapshot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15932 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: Create compatibility code in bits/libc-lock.h file.
law [Thu, 16 Oct 1997 15:30:26 +0000 (15:30 +0000)]
    * configure.in: Create compatibility code in bits/libc-lock.h file.

        * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
        not defined.

        * filedoalloc.c (_IO_file_doallocate): Don't call
        _IO_cleanup_registration_needed if __linux__ is defined.

        * iofclose.c (fclose): Make it weak alias of _IO_fclose if
        __ELF__ is defined.

        * iovsprintf.c (vsprintf): Make it weak alias of _IO_vsprintf
        if __ELF__ is defined.

        * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
        __ELF__ is defined.

        * config/linuxlibc1.mt (MT_CFLAGS): Defined as -D_G_HAVE_MMAP.
        (IO_OBJECTS): Add filedoalloc.o fileops.o genops.o iofclose.o
        iovsprintf.o iovsscanf.o strops.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15931 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Make-lang.in (stmp-f2c.h): Don't configure the runtime
law [Thu, 16 Oct 1997 08:02:09 +0000 (08:02 +0000)]
    * Make-lang.in (stmp-f2c.h): Don't configure the runtime
        directory if LANGUAGES does not include f77.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15930 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * asprintf.c: Consistently use either stdarg or varargs.
law [Thu, 16 Oct 1997 07:39:03 +0000 (07:39 +0000)]
    * asprintf.c: Consistently use either stdarg or varargs.

Bring over from devo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15929 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * method.c (build_overload_value): Handle TEMPLATE_CONST_PARMs here.
jason [Thu, 16 Oct 1997 07:20:46 +0000 (07:20 +0000)]
* method.c (build_overload_value): Handle TEMPLATE_CONST_PARMs here.
(build_overload_int): Not here.

Wed Oct 15 00:35:28 1997  Mike Stump  <mrs@wrs.com>

* class.c (build_type_pathname): Remove.
(prepare_fresh_vtable): Fix problem with complex MI vtable names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15928 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pa.c (move_operand): Respect -mdisable-indexing.
law [Thu, 16 Oct 1997 03:37:28 +0000 (03:37 +0000)]
    * pa.c (move_operand): Respect -mdisable-indexing.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
Bring over from gcc2.  Fixes ada -O2 bootstrap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15927 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd patch from Edelsohn
meissner [Thu, 16 Oct 1997 01:37:11 +0000 (01:37 +0000)]
Add patch from Edelsohn

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15918 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha.c (final_prescan_insn): Gut, remove and transform to ...
rth [Thu, 16 Oct 1997 01:23:23 +0000 (01:23 +0000)]
    * alpha.c (final_prescan_insn): Gut, remove and transform to ...
        (alpha_handle_trap_shadows): ... a new function.  Handle the entire
        function in one go.  Emit RTL for trapb, instead of printf directly.
        (alpha_reorg): New function.  Call alpha_handle_trap_shadows.
        (trap_pending): Kill global variable.
        (output_epilog): Don't call final_prescan_insn.
        (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
        * alpha.h (FINAL_PRESCAN_INSN): Remove.
        (MACHINE_DEPENENT_REORG): Define.
        * alpha.md (jsr patterns with trapb): Stupid and useless.  Kill.
        (trapb): New insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15917 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha.h (ISSUE_RATE): Define.
rth [Thu, 16 Oct 1997 01:16:42 +0000 (01:16 +0000)]
    * alpha.h (ISSUE_RATE): Define.
        * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
        EV4 adjustments to EV5.
        * alpha.md: Remove all scaling from function unit delays.  Rework
        EV5 function units to match the CPU.
        (umuldi3_highpart): EV5 added the IMULH insn class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15916 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoForgot to commit last night.
law [Wed, 15 Oct 1997 23:47:47 +0000 (23:47 +0000)]
Forgot to commit last night.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15915 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pa.c (following_call): Fail if the CALL_INSN is an indirect
law [Wed, 15 Oct 1997 23:41:10 +0000 (23:41 +0000)]
    * pa.c (following_call): Fail if the CALL_INSN is an indirect
        call.
Brought over from devo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15914 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agorestore dwarf2 prototypes
jason [Wed, 15 Oct 1997 17:19:40 +0000 (17:19 +0000)]
restore dwarf2 prototypes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15912 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * libF77/signal_.c (G77_signal_0): Make return type sig_pf as well.
law [Wed, 15 Oct 1997 16:02:53 +0000 (16:02 +0000)]
    * libF77/signal_.c (G77_signal_0): Make return type sig_pf as well.
        * libI77/fio.h: Include <string.h> if STDC_HEADERS.
        * libU77/chmod_.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15911 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * info/man.c (find_man_formatter): Don't cast getenv(), but provide
law [Wed, 15 Oct 1997 15:49:40 +0000 (15:49 +0000)]
    * info/man.c (find_man_formatter): Don't cast getenv(), but provide
        a minimal declaration at top level.

        * makeinfo/makeinfo.c: Don't redefine alloca if it is already defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15910 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRemove code accidentally added twice.
law [Wed, 15 Oct 1997 15:44:05 +0000 (15:44 +0000)]
Remove code accidentally added twice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15909 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoNo .Sanitize files in egcs.
law [Wed, 15 Oct 1997 04:26:58 +0000 (04:26 +0000)]
No .Sanitize files in egcs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15908 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * parse.y (unary_expr): Give a pedwarn if someone tries to use the
brendan [Wed, 15 Oct 1997 01:26:06 +0000 (01:26 +0000)]
* parse.y (unary_expr): Give a pedwarn if someone tries to use the
&&label GNU extension.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15907 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agofix two typos
brendan [Tue, 14 Oct 1997 20:45:22 +0000 (20:45 +0000)]
fix two typos

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15906 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoregen
jason [Tue, 14 Oct 1997 19:19:35 +0000 (19:19 +0000)]
regen

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15905 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
jason [Tue, 14 Oct 1997 19:12:56 +0000 (19:12 +0000)]
Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>

* decl.c (pushtag): Unset DECL_ASSEMBLER_NAME before setting it,
so as to avoid incorrect manglings.
* method.c (build_decl_overload_real): Don't mangle return types
for constructors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15904 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cplus-dem.c (demangle_signature): Don't look for return types on
jason [Tue, 14 Oct 1997 19:12:27 +0000 (19:12 +0000)]
* cplus-dem.c (demangle_signature): Don't look for return types on
constructors.  Handle member template constructors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15903 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoand these
jason [Tue, 14 Oct 1997 19:11:36 +0000 (19:11 +0000)]
and these

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15902 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
jason [Tue, 14 Oct 1997 19:10:45 +0000 (19:10 +0000)]
Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>

* cplus-dem.c (demangle_signature): Don't look for return types on
constructors.  Handle member template constructors.

and update from devo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15901 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (scratchalloc, build_scratch_list, make_scratch_vec,
jason [Tue, 14 Oct 1997 18:59:03 +0000 (18:59 +0000)]
* cp-tree.h (scratchalloc, build_scratch_list, make_scratch_vec,
scratch_tree_cons): Define as macros for now.
* call.c, class.c, cvt.c, decl.c, decl2.c, except.c, expr.c, init.c,
lex.c, method.c, parse.y, pt.c, rtti.c, search.c, tree.c, typeck.c,
typeck2.c: Use them and the expression_obstack variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15900 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * tree.h: Declare them.
jason [Tue, 14 Oct 1997 18:52:33 +0000 (18:52 +0000)]
* tree.h: Declare them.

Oop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15899 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
jason [Tue, 14 Oct 1997 18:43:16 +0000 (18:43 +0000)]
* tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15898 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBring over test cases
bkoz [Tue, 14 Oct 1997 18:41:30 +0000 (18:41 +0000)]
Bring over test cases

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15897 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl.c (store_return_init): Allow classes with explicit ctors to
bkoz [Tue, 14 Oct 1997 18:36:34 +0000 (18:36 +0000)]
 * decl.c (store_return_init): Allow classes with explicit ctors to
  be used with the named return values extension.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15896 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agonew test from egcs-bug archives.
law [Tue, 14 Oct 1997 17:35:26 +0000 (17:35 +0000)]
new test from egcs-bug archives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15895 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
law [Mon, 13 Oct 1997 18:09:13 +0000 (18:09 +0000)]
    * Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
        * g77spec.c: New file, mostly copied from g++spec.c
        * g77.c: Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15893 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBring over from devo.
law [Mon, 13 Oct 1997 16:03:04 +0000 (16:03 +0000)]
Bring over from devo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15892 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago(INCOMING_RETURN_ADDR_RTX,INCOMING_FRAME_SP_OFFSET): Move definitions
dje [Fri, 10 Oct 1997 22:33:24 +0000 (22:33 +0000)]
(INCOMING_RETURN_ADDR_RTX,INCOMING_FRAME_SP_OFFSET): Move definitions
to a more sane place.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15891 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
dje [Fri, 10 Oct 1997 20:49:12 +0000 (20:49 +0000)]
* sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15890 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: Handle --with-newlib.
dje [Fri, 10 Oct 1997 20:48:55 +0000 (20:48 +0000)]
* configure.in: Handle --with-newlib.
* Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.

* sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15889 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (instantiate_decl): Fix previous change.
jason [Fri, 10 Oct 1997 19:22:04 +0000 (19:22 +0000)]
* pt.c (instantiate_decl): Fix previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15888 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * std/bastring.h: Use ibegin internally. Return passed iterator
jason [Fri, 10 Oct 1997 07:44:56 +0000 (07:44 +0000)]
* std/bastring.h: Use ibegin internally.  Return passed iterator
instead of recalculating it were appropriate.
* std/bastring.cc: Adjust for erase.

From Yotam Medini:
* std/bastring.h: Replace remove with erase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15887 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * tstring.cc (identitytest): s/remove/erase/.
jason [Fri, 10 Oct 1997 07:43:28 +0000 (07:43 +0000)]
* tstring.cc (identitytest): s/remove/erase/.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15886 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * stdexcepti.cc (__out_of_range): New fn.
jason [Fri, 10 Oct 1997 06:56:56 +0000 (06:56 +0000)]
* stdexcepti.cc (__out_of_range): New fn.
(__length_error): New fn.

* std/bastring.h (OUTOFRANGE): Fix logic.  Use throwing functions.
(LENGTHERROR): Likewise.
Revert Oct 2 changes.
* string: Revert Oct 2 changes.

* std/{f,d,ld}complex.h: Replace guiding fns if not -ansi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15885 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoadd GPL comment at the top
brendan [Fri, 10 Oct 1997 01:18:29 +0000 (01:18 +0000)]
add GPL comment at the top

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15884 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoadd an initial very rough description of how `explicit' is handled
brendan [Fri, 10 Oct 1997 00:05:55 +0000 (00:05 +0000)]
add an initial very rough description of how `explicit' is handled

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15883 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (tsubst): Fix thinko.
jason [Thu, 9 Oct 1997 19:13:22 +0000 (19:13 +0000)]
* pt.c (tsubst): Fix thinko.
(instantiate_decl): Really use the original template.

* call.c (build_new_method_call): Use simple constructor_name for
error messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15882 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * method.c (build_underscore_int): Don't use ANSI specific
law [Thu, 9 Oct 1997 04:45:14 +0000 (04:45 +0000)]
    * method.c (build_underscore_int): Don't use ANSI specific
        features.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15881 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix typo.
law [Wed, 8 Oct 1997 20:37:08 +0000 (20:37 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15880 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * version.c: Bump for snapshot.
law [Wed, 8 Oct 1997 14:55:00 +0000 (14:55 +0000)]
    * version.c: Bump for snapshot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15878 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN
jason [Wed, 8 Oct 1997 07:19:53 +0000 (07:19 +0000)]
* decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN
for our key method; it might have been inlined by -O3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15877 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTue Oct 7 23:00:12 1997 Mark Mitchell <mmitchell@usa.net>
jason [Wed, 8 Oct 1997 06:04:28 +0000 (06:04 +0000)]
Tue Oct  7 23:00:12 1997  Mark Mitchell  <mmitchell@usa.net>

* decl.c (make_typename_type): Do not try to call lookup_field for
non-aggregate types.

Tue Oct  7 22:52:10 1997  Jason Merrill  <jason@yorick.cygnus.com>

* typeck.c (build_reinterpret_cast): Tweak.

Tue Oct  7 22:45:31 1997  Alexandre Oliva  <oliva@dcc.unicamp.br>

* typeck.c (build_reinterpret_cast): converting a void pointer
to function pointer with a reinterpret_cast produces a warning
if -pedantic is issued

Tue Oct  7 22:43:43 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

* typeck.c (c_expand_return): Don't warn about returning a
reference-type variable as a reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15876 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoOne more thinko.
law [Wed, 8 Oct 1997 05:23:19 +0000 (05:23 +0000)]
One more thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15875 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix thinko in last change.
law [Wed, 8 Oct 1997 05:18:17 +0000 (05:18 +0000)]
Fix thinko in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15874 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * method.c (build_static_name): Fix typo.
jason [Wed, 8 Oct 1997 04:26:17 +0000 (04:26 +0000)]
* method.c (build_static_name): Fix typo.

1997-10-07  Brendan Kehoe  <brendan@lisa.cygnus.com>

* decl.c (duplicate_decls): Make sure DECL_LANG_SPECIFIC is set on
OLDDECL before we try to do DECL_USE_TEMPLATE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15873 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Makefile.in (CGFLAGS): Don't force -g0.
law [Wed, 8 Oct 1997 00:20:24 +0000 (00:20 +0000)]
    * Makefile.in (CGFLAGS): Don't force -g0.
        * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15872 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoUndo last incorrect change.
law [Tue, 7 Oct 1997 23:21:42 +0000 (23:21 +0000)]
Undo last incorrect change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15871 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRemove include of <std>
law [Tue, 7 Oct 1997 22:41:18 +0000 (22:41 +0000)]
Remove include of <std>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15870 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (JOINER): Define to '_' if no '$' or '.' characters
law [Tue, 7 Oct 1997 22:38:40 +0000 (22:38 +0000)]
* cp-tree.h (JOINER): Define to '_' if no '$' or '.' characters
are allowed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15869 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * aclocal.m4: Substitute INSTALL.
law [Tue, 7 Oct 1997 22:26:56 +0000 (22:26 +0000)]
    * aclocal.m4: Substitute INSTALL.
        * configure: Re-built.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15868 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoHandle std.h -> std rename.
law [Tue, 7 Oct 1997 22:20:35 +0000 (22:20 +0000)]
Handle std.h -> std rename.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15867 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * integrate.c (save_for_inline_copying): Avoid undefined pointer
law [Tue, 7 Oct 1997 21:43:02 +0000 (21:43 +0000)]
    * integrate.c (save_for_inline_copying): Avoid undefined pointer
        operations.
        (expand_inline_function): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15866 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * dwarf2out.c (output_call_frame_info): Reinstate last change
law [Tue, 7 Oct 1997 21:35:54 +0000 (21:35 +0000)]
    * dwarf2out.c (output_call_frame_info): Reinstate last change
        using flag_debug_asm check instead of flag_verbose_asm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15865 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRemove incorrect change from Manfred Hollstein.
wilson [Tue, 7 Oct 1997 19:58:36 +0000 (19:58 +0000)]
Remove incorrect change from Manfred Hollstein.
* dwarf2out.c (output_call_frame_info): Remove last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15864 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * frame.c (__frame_state_for): Execute the FDE insns until the
jason [Tue, 7 Oct 1997 18:42:54 +0000 (18:42 +0000)]
   * frame.c (__frame_state_for): Execute the FDE insns until the
        current pc value is strictly bigger than the target pc value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15863 138bc75d-0d04-0410-961f-82ee72b054a4