1. 16 Nov, 2001 4 commits
    • s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns call. · e790b36a
      	* config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
      	call.
      	* config/i386/i386.md: Likewise.
      
      From-SVN: r47080
      Bryce McKinlay committed
    • expr.c (store_field): Pass tree instead of max size; callers changed. · d43e0b7d
      	* expr.c (store_field): Pass tree instead of max size; callers changed.
      	Change handling of alignment.
      	Only copy to_rtx if is TARGET.
      	(expand_expr_unaligned): Delete; callers now use expand_expr.
      	(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
      	(expand_assignment): Change handling of alignment.
      	Only copy to_rtx if was original.
      	(get_inner_reference): No longer return alginment; callers changed.
      	(expand_expr, case COMPONENT_REF): Change handling of alignment.
      	(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
      	(compare_from_rtx): Delete ALIGN parm; all callers changed.
      	(do_compare_rtx_and_jump): Likewise.
      	* expr.h: Reflect above changes.
      	* tree.h: Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
      	to get_inner_reference.
      	* builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
      	* doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
      	* optabs.c: Likewise.
      	(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
      	(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
      	* expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
      	compare_rtx_and_jump, and emit_cmp_jump_insns.
      	* fold-const.c: Remove PALIGN in calls to get_inner_reference.
      	* function.c (assign_stack_temp_for_type): No longer static.
      	* optabs.h (emit_cmp_insn): Remove ALIGN parm.
      	(prepare_cmp_insn): Delete declaration.
      	* rtl.h (assign_stack_temp_for_type): Add declaration.
      	* config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
      	* config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
      	* config/i386/i386.c,config/mips/mips.c: Likewise.
      	* config/i860/i860.c, config/ia64/ia64.c: Likewise.
      	* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
      	* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
      	* emit-rtl.c (change_address): Fix typo in default alignment.
      	(adjust_address_1): Use mode of NEW, not MODE, when setting size.
      	* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
      	* rtl.h (REGNO_PTR_FRAME_P): New macro.
      
      	* expr.c (store_field): Pass tree instead of max size; callers changed.
      	Change handling of alignment.
      	Only copy to_rtx if is TARGET.
      	(expand_expr_unaligned): Delete; callers now use expand_expr.
      	(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
      	(expand_assignment): Change handling of alignment.
      	Only copy to_rtx if was original.
      	(get_inner_reference): No longer return alginment; callers changed.
      	(expand_expr, case COMPONENT_REF): Change handling of alignment.
      	(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
      	(compare_from_rtx): Delete ALIGN parm; all callers changed.
      	(do_compare_rtx_and_jump): Likewise.
      	* expr.h: Reflect above changes.
      	* tree.h: Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
      	to get_inner_reference.
      	* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
      	* explow.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
      	(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
      	* fold-const.c: Remove PALIGN in calls to get_inner_reference.
      	* function.c (assign_stack_temp_for_type): No longer static.
      	* optabs.h (emit_cmp_insn): Remove ALIGN parm.
      	(prepare_cmp_insn): Delete declaration.
      	* rtl.h (assign_stack_temp_for_type): Add declaration.
      	* config/d30v/d30v.c: Reflect above changes.
      	* config/i860/i860.c, config/ia64/ia64.c: Likewise.
      	* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
      	* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
      	get_inner_reference.
      
      From-SVN: r47078
      Richard Kenner committed
    • darwin.h (SELECT_RTX_SECTION): Force address initializers into 'const' section · 9f1a9740
      	* config/darwin.h (SELECT_RTX_SECTION):  Force address
      	initializers into 'const' section
      	* config/rs6000/rs6000.c (rs6000_emit_cmove):  Fix mode of
      	if_then_else to match result, not operands
      
      From-SVN: r47076
      Dale Johannesen committed
  2. 15 Nov, 2001 9 commits
    • alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P. · a06ef755
      	* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
      	* emit-rtl.c (change_address): Fix typo in default alignment.
      	(adjust_address_1): Use mode of NEW, not MODE, when setting size.
      	* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
      	* rtl.h (REGNO_PTR_FRAME_P): New macro.
      
      	* expr.c (store_field): Pass tree instead of max size; callers changed.
      	Change handling of alignment.
      	Only copy to_rtx if is TARGET.
      	(expand_expr_unaligned): Delete; callers now use expand_expr.
      	(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
      	(expand_assignment): Change handling of alignment.
      	Only copy to_rtx if was original.
      	(get_inner_reference): No longer return alginment; callers changed.
      	(expand_expr, case COMPONENT_REF): Change handling of alignment.
      	(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
      	(compare_from_rtx): Delete ALIGN parm; all callers changed.
      	(do_compare_rtx_and_jump): Likewise.
      	* expr.h: Reflect above changes.
      	* tree.h: Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
      	to get_inner_reference.
      	* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
      	* explow.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
      	(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
      	* fold-const.c: Remove PALIGN in calls to get_inner_reference.
      	* function.c (assign_stack_temp_for_type): No longer static.
      	* optabs.h (emit_cmp_insn): Remove ALIGN parm.
      	(prepare_cmp_insn): Delete declaration.
      	* rtl.h (assign_stack_temp_for_type): Add declaration.
      	* config/d30v/d30v.c: Reflect above changes.
      	* config/i860/i860.c, config/ia64/ia64.c: Likewise.
      	* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
      	* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
      	get_inner_reference.
      
      From-SVN: r47075
      Richard Kenner committed
    • rs6000.h: Fix a comment typo. · 7960cfbb
              * config/rs6000/rs6000.h: Fix a comment typo.
              (RTX_COSTS): Sort processor versions better.
      
      From-SVN: r47073
      Stan Shebs committed
    • * config/h8300/h8300.md: Fix insn length of bit insns. · 8d795882
      From-SVN: r47070
      Kazu Hirata committed
    • dwarf2out.c (dwarf2out_finish): Don't abort because of orphan DIEs if there were… · 18b5b8d6
      dwarf2out.c (dwarf2out_finish): Don't abort because of orphan DIEs if there were errors in the source.
      
              * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
              DIEs if there were errors in the source.
      
              * config/alpha/alpha-interix.h, config/alpha/elf.h,
              config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
              config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
              config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
              config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
              config/elfos.h, config/lynx.h, config/netware.h,
              config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
              config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
              uses to use ASM_LONG.
      
      From-SVN: r47066
      Jason Merrill committed
    • rs6000.md: Use spaces instead of tabs in output templates. · 9bddde52
            * config/rs6000/rs6000.md: Use spaces instead of tabs in output
              templates.
      
      From-SVN: r47059
      Aldy Hernandez committed
    • h8300.c (dosize): Avoid corrupting R3 in interrupt routines. · 768caa28
      	* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
      	routines.
      
      From-SVN: r47057
      Richard Hodson committed
    • config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target makefile frag... · 14455c64
      	* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
      	makefile frag, not host makefile frag.
      	(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
      	(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
      	used.
              (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
      	* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
      	* config/m88k/t-dgux (STMP_FIXPROTO): Define.
      	* config/i386/t-cygwin (STMP_FIXPROTO): Define.
      	* config/i386/t-dgux (STMP_FIXPROTO): Define.
      	* config/x-interix: Don't define STMP_FIXPROTO and
      	FIXPROTO_DEFINES.
      	* config/t-interix: New file, define STMP_FIXPROTO.
      	* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
      	* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
      	* config/t-svr4 (FIXPROTO_DEFINES): Define.
      	* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
      	* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
      	* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
      	* config/m68k/t-hp3200: Renamed from x-hp3200.
      	* config/i370/t-oe: Renamed from x-oe.
      	* config/mips/t-iris: Renamed from x-iris.
      	* config/pa/t-bsd: Renamed from x-pa.
      	* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
      	* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
      	config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
      	config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
      	config/rs6000/x-cygwin: Remove files.
      
      From-SVN: r47052
      Andreas Schwab committed
    • ia64.c (ia64_adjust_cost): Handle SUBREGs. · 8f5a5db8
      	* config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
      
      	* gcc.c-torture/compile/20011114-2.c: New test.
      
      From-SVN: r47049
      Jakub Jelinek committed
    • aix31.h: Fix comment formatting. · 82e41834
      	* config/rs6000/aix31.h: Fix comment formatting.
      	* config/rs6000/beos.h: Likewise.
      	* config/rs6000/darwin.h: Likewise.
      	* config/rs6000/eabi.asm: Likewise.
      	* config/rs6000/linux.h: Likewise.
      	* config/rs6000/linux64.h: Likewise.
      	* config/rs6000/lynx.h: Likewise.
      	* config/rs6000/netbsd.h: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/rs6000/rs6000.h: Likewise.
      	* config/rs6000/rs6000.md: Likewise.
      	* config/rs6000/sol2.h: Likewise.
      	* config/rs6000/tramp.asm: Likewise.
      	* config/rs6000/xcoff.h: Likewise.
      	* config/rs6000/xm-beos.h: Likewise.
      
      From-SVN: r47040
      Kazu Hirata committed
  3. 14 Nov, 2001 4 commits
    • linux.h: Include <linux.h> not "linux.h" to avoid infinite recursion. · 9da85b16
      	* m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
      	recursion.
      
      From-SVN: r47032
      Kaveh R. Ghazi committed
    • config.gcc (sparc64-wrs-vxworks*, [...]): Include various CPU headers via tm_file. · 0f7a7be7
      2001-11-14  David O'Brien  <obrien@FreeBSD.org>
      	* config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
      	sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
      	sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
      	sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
      	sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
      	sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
      	sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
      	Include various CPU headers via tm_file.  a.out based platforms now
      	properly include sparc/aout.h.  sol2.h usage now implies including
      	elfos.h, svr4.h, and sparc/sysv4.h.
      	* config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
      	Also define to '1'.
      	* sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
      	SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
      	DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
      	Remove.  They are a.out specific and belong in sparc/aout.h.
      	* sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
      	ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
      	DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
      	sparc/sparc.h.
      	* sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
      	TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
      	Moved here from sparc/sparc.h.
      	* config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
      	defining.
      	* config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
      	* config/sparc/lynx.h:  Don't include lynx.h.
      	(SELECT_SECTION): Do not undef.
      	* config/sparc/openbsd.h: Don't include sparc/sparc.h.
      	* config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
      	and sparc/sysv4.h.
      	* config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
      	* config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
      	sparc/aout.h now.
      	* config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
      	Don't undef, there is no need.
      	* config/sparc/splet.h (CPP_PREDEFINES): Define.
      	* config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
      	* config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
      	Don't include sparc/sparc.h.
      	* config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
      	SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
      	DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
      	elfos.h and svr4.h.
      	(TARGET_VERSION): Define.
      	* config/sparc/vxsim.h (TARGET_VERSION): Define.
      
      Approved by:  Richard Henderson <rth@redhat.com>
                    Message-ID: <20011114132416.B17112@redhat.com>
      
      From-SVN: r47023
      David O'Brien committed
    • dsp16xx.c: Fix comment formatting. · bf0e974b
      	* config/dsp16xx/dsp16xx.c: Fix comment formatting.
      	* config/dsp16xx/dsp16xx.h: Likewise.
      	* config/dsp16xx/dsp16xx.md: Likewise.
      
      From-SVN: r47015
      Kazu Hirata committed
    • h8300.c (get_shift_alg): Reorganize the code that deals with 7-bit shifts in HImode. · a77b1dbc
      	* config/h8300/h8300.c (get_shift_alg): Reorganize the code
      	that deals with 7-bit shifts in HImode.
      
      From-SVN: r47014
      Kazu Hirata committed
  4. 13 Nov, 2001 2 commits
  5. 12 Nov, 2001 9 commits
    • config.gcc (sparc-tti-*, [...]): Include various CPU headers via tm_file. · 0f658c83
      2001-11-12  David O'Brien  <obrien@FreeBSD.org>
      	* config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
      	sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
      	sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
      	sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
      	sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
      	sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
      	sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
      	sparc64-*-linux*):  Include various CPU headers via tm_file.
      	* config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
      	(SELECT_SECTION): Likewise.
      	(SELECT_RTX_SECTION): Likewise.
      	* config/sparc/sparc_bi.h: New file.
      	* config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
      	* config/sparc/linux-aout.h: Likewise.
      	* config/sparc/linux.h: Don't include sparc/sysv4.h.
      	* config/sparc/linux64.h: Likewise.
      	(SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
      	* config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
      	* config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
      	and dbxcoff.h
      	(ASM_OUTPUT_IDENT): Do not #undef.
      	(SELECT_SECTION): Likewise.
      	(SELECT_RTX_SECTION): Likewise.
      	* config/sparc/liteelf.h: Don't include gofast.h.
      	* config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
      	* config/sparc/lynx.h: Don't include sparc/sparc.h.
      	* config/sparc/pbd.h: Likewise.
      	* config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
      	* config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
      	* config/sparc/rtemself.h: Don't include rtems.h.
      	* config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
      	* config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
      	sparc_bi.h instead.
      	* config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
      	* config/sparc/sol2.h: Include sparc/sparc.h directly.
      	* config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
      	* config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
      	* config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
      	* config/sparc/sp86x-elf.h: Don't include gofast.h.
      	* config/sparc/splet.h: Don't include sparc/aout.h.
      	* config/sparc/sun4o3.h: Don't include sparc/sparc.h.
      	* config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
      	* config/sparc/vxsim.h: Don't include sparc/sysv4.h.
      	* config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
      	* config/sparc/vxsparc64.h: Don't include gofast.h.
      	(SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
      
      Approved by:  David S. Miller <davem@redhat.com>
                    Message-Id: <20011112.151527.70477368.davem@redhat.com>
      
      From-SVN: r46969
      David O'Brien committed
    • mips-protos.h (mips_output_conditional_branch): Const-ify. · 9b55553e
      	* mips-protos.h (mips_output_conditional_branch): Const-ify.
      	* mips.c (mips_output_conditional_branch): Likewise.
      
      From-SVN: r46967
      Kaveh R. Ghazi committed
    • h8300.c (shift_alg_si): Use special code for 15-bit logical shifts and 31-bit logical shifts. · dd69e230
      	* config/h8300/h8300.c (shift_alg_si): Use special code for
      	15-bit logical shifts and 31-bit logical shifts.
      	(get_shift_alg): Generate special code for 15-bit and 31-bit
      	logical shifts.
      
      From-SVN: r46965
      Kazu Hirata committed
    • h8300.c (shift_alg_qi): Use rotations when doing 6-bit logical shifts on H8/S. · e0f19bd0
      	* config/h8300/h8300.c (shift_alg_qi): Use rotations when
      	doing 6-bit logical shifts on H8/S.
      	(shift_alg_qi): Use special code for 21-bit shifts on H8/S.
      	(get_shift_alg): Generate special code for 21-bit shifts on
      	H8/S.
      
      From-SVN: r46961
      Kazu Hirata committed
    • h8300.c (get_shift_alg): Remove a redundant label. · 692b7eb3
      	* config/h8300/h8300.c (get_shift_alg): Remove a redundant
      	label.
      
      From-SVN: r46957
      Kazu Hirata committed
    • freebsd.h: Fix misspelling. · c6890454
      2001-11-12  David O'Brien  <obrien@FreeBSD.org>
      	* config/ia64/freebsd.h: Fix misspelling.
      
      From-SVN: r46953
      David O'Brien committed
    • alpha-interix.h: Fix comment formatting. · 285a5742
      	* config/alpha/alpha-interix.h: Fix comment formatting.
      	* config/alpha/alpha.c: Likewise.
      	* config/alpha/alpha.h: Likewise.
      	* config/alpha/alpha32.h: Likewise.
      	* config/alpha/freebsd.h: Likewise.
      	* config/alpha/unicosmk.h: Likewise.
      	* config/alpha/vms.h: Likewise.
      
      From-SVN: r46949
      Kazu Hirata committed
    • h8300.c (shift_alg_qi): New. · 769828ab
      	* config/h8300/h8300.c (shift_alg_qi): New.
      	(shift_alg_hi): Likewise.
      	(shift_alg_si): Likewise.
      	(get_shift_alg): Change the type of count to unsigned int.
      	Use the tables.
      
      From-SVN: r46937
      Kazu Hirata committed
  6. 11 Nov, 2001 7 commits
    • alpha.c (unicosmk_special_name): Prototype. · 950a3816
      	* alpha.c (unicosmk_special_name): Prototype.
      	(unicosmk_ssib_name): Delete unused variable.
      	* alpha/unicosmk.h (common_section, ssib_section): Prototype.
      	* alpha/vms.h (PREFIX): Undef before defining.
      	* arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
      	* i370/i370.c (mvs_hash_alias): Prototype.  Wrap with macro
      	controlling usage.  Const-ify.
      	(alias_number): Delete unused variable.
      	* m32r/m32r.c (m32r_sched_init): Add missing argument.
      	(m32r_expand_block_move): Fix uninitialized warnings.
      	* mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
      	always true' warnings.
      	* openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
      	* sh/sh.c: Include "integrate.h".
      	(output_far_jump): Fix uninitialized warning.
      	* final.c (shorten_branches): Avoid automatic aggregate
      	initialization.
      	* integrate.c (subst_constants): Likewise.
      
      From-SVN: r46932
      Kaveh R. Ghazi committed
    • h8300.c (shift_alg): Remove SHIFT_MAX. · 0c50ee73
      	* config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
      	(get_shift_alg): Remove redundant code.
      
      From-SVN: r46931
      Kazu Hirata committed
    • milli64.S: Fix comment formatting. · fe19a83d
      	* config/pa/milli64.S: Fix comment formatting.
      	* config/pa/pa-64.h: Likewise.
      	* config/pa/pa-linux.h: Likewise.
      	* config/pa/pa-protos.h: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/pa/pa.h: Likewise.
      	* config/pa/pa32-linux.h: Likewise.
      	* config/pa/pa32-regs.h: Likewise.
      	* config/pa/pa64-hpux.h: Likewise.
      	* config/pa/pa64-regs.h: Likewise.
      	* config/pa/som.h: Likewise.
      
      From-SVN: r46930
      Kazu Hirata committed
    • rs6000.c (rs6000_hash_constant, [...]): Adjust operand number in CONST_DOUBLE. · 592bf28c
      	* config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
      	Adjust operand number in CONST_DOUBLE.
      
      From-SVN: r46927
      Richard Kenner committed
    • unicosmk.h (ASM_OUTPUT_DOUBLE, [...]): Fix format specifier warning. · e59f7d3d
      	* alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
      	format specifier warning.
      	* convex.h (ASM_OUTPUT_BYTE): Likewise.
      	* elfos.h (ALIGN_ASM_OP): Undef before defining.
      	* i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
      	warning.
      	* i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* i386-interix.h (gen_stdcall_suffix): Prototype.
      	* i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
      	* i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
      	ASM_OUTPUT_LONG_DOUBLE): Likewise.
      	* i386/interix.c (gen_stdcall_suffix): Const-ify.
      	* i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
      	ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
      	specifier warnings.
      	* i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
      	ASM_OUTPUT_LONG_DOUBLE): Likewise.
      	* i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
      	ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
      	* m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
      	Likewise.
      	* m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
      	Likewise.
      	* m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
      	* m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
      	ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
      	Likewise.
      	* m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
      	Likewise.
      	* m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
      	Likewise.
      	* m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
      	* m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
      	* m68k/news.h (PRINT_OPERAND): Likewise.
      	* m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
      	ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
      	* m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
      	* m68k/plexus.h (ASM_SPEC): Insert space between macro name and
      	definition.
      	* m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
      	ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
      	* m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
      	* m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
      	ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
      	PRINT_OPERAND): Likewise.
      	* m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
      	Likewise.
      	* mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
      	* mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
      	* mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
      	* mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
      	* mips.c (mips_output_external_libcall): Mark parameter with
      	ATTRIBUTE_UNUSED.
      	(mips_asm_file_start): Move variable into the scope where it's
      	used.
      	* mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
      	* mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
      	* mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
      	* ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* ns32k.c (print_operand): Likewise.
      	* pa.c (print_operand, output_div_insn): Likewise.
      	* pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
      	ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
      	* pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
      	* sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
      	specifier warnings.
      	* sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	* sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	(ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
      	* sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
      	specifier warnings.
      	* svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
      
      	* sdbout.c (sdbout_end_epilogue): Mark parameter with
      	ATTRIBUTE_UNUSED.
      	* varasm.c (assemble_global): Likewise.
      
      From-SVN: r46922
      Kaveh R. Ghazi committed
    • Reapply last patch to convex.md which somehow got lost: · dbefdf4a
      Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
      
      	* config/convex/convex.md (movdf): Use it.
      
      From-SVN: r46920
      Richard Kenner committed
    • final.c (*_MAX_SKIP): Use *_max_skip variables. · 2cca7283
      	* final.c (*_MAX_SKIP): Use *_max_skip variables.
      	* flags.h (align_loops_max_skip, align_jumps_max_skip,
      	align_labels_max_skip): New global variables.
      	* toplev.c (align_loops_max_skip, align_jumps_max_skip,
      	align_labels_max_skip): New global variables.
      	(toplev_main): Set new variables.
      	* i386.c (override_options): Set max_skip values.
      
      From-SVN: r46919
      Jan Hubicka committed
  7. 10 Nov, 2001 5 commits
    • tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF. · 2f0b7af6
      	* doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
      	* final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
      	* config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
      	don't print an @fptr for labels either.
      	(xstormy16_output_addr_vec): Don't print @fptr here.
      	* config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
      
      From-SVN: r46918
      Geoffrey Keating committed
    • rs6000.c (rs6000_reg_names): Remove leading "v" or altivec registers. · 0cd5e3a1
        * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
      	altivec registers.
      
      From-SVN: r46914
      Aldy Hernandez committed
    • config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'. · 57870f8a
      	* config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
      
      	* i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
      	of dgux.c:output_file_start().
      
      	* i386/dgux.c: Delete file.
      
      From-SVN: r46911
      Kaveh R. Ghazi committed
    • alpha.c (decl_in_text_section): New. · 62918bd3
              * config/alpha/alpha.c (decl_in_text_section): New.
              (current_file_function_operand): Use it.
              (alpha_encode_section_info, alpha_end_function): Likewise.
      
      From-SVN: r46910
      Richard Henderson committed
    • config.gcc: Add FreeBSD/IA-64 target. · 243a7070
      2001-11-07  David O'Brien  <obrien@FreeBSD.org>
      	* config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
      	* config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
      	they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
      	so OS specific files and use CPP_PREDEFINES for their needs.
      	* config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
      	target headers to tm_file.
      	* config/ia64/aix.h (TARGET_VERSION): Likewise.
      	* config/ia64/hpux.h (TARGET_VERSION): Likewise.
      	* config/ia64/linux.h (TARGET_VERSION): Likewise.
      	(FUNCTION_PROFILER): Remove.
      	* config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
      	version in config/ia64/linux.h.
      	* config/ia64/freebsd.h: New file.
      	* config/freebsd.h: Tidy up.
      	(_USING_CONFIG_FREEBSD): Define.
      	(FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
      	(FBSD_CPP_SPEC): Define generic FreeBSD spec.
      	(FBSD_STARTFILE_SPEC): Likewise.
      	(FBSD_ENDFILE_SPEC): Likewise.
      	(FBSD_LIB_SPEC): Likewise.
      	(WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
      	(USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
      	set an ELF-improper one.
      
      Approved by:  Richard Henderson <rth@redhat.com>
                    Message-ID: <20011109100352.A6186@redhat.com>
      
      From-SVN: r46909
      David O'Brien committed