1. 30 May, 2002 23 commits
  2. 29 May, 2002 17 commits
    • netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. · a5b49bbc
      * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
      (CPP_PREDEFINES): Make sure this is undefined.
      (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
      (CPP_SUBTARGET_SPEC): Don't provide different versions for
      default-32 and default-64.  Just always use %(netbsd_cpp_spec).
      (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
      cpp_subtarget_spec64.  Add netbsd_cpp_spec.
      * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
      (CPP_PREDEFINES): Make sure this is undefined.
      (SUBTARGET_EXTRA_SPECS): Define.
      (CPP_SPEC): Use %(netbsd_cpp_spec).
      
      From-SVN: r54030
      Jason Thorpe committed
    • flow.c (propagate_one_insn): Do not remove a dead insn if it contains a REG_RETVAL note. · b862c2aa
              * flow.c (propagate_one_insn): Do not remove a dead insn if it
              contains a REG_RETVAL note.
      
      From-SVN: r54028
      Jeff Law committed
    • haifa-sched (sched_analyze): Remove another useless clearing of SCHED_GROUP_P I missed yesterday. · d10791ba
              * haifa-sched (sched_analyze): Remove another useless clearing
              of SCHED_GROUP_P I missed yesterday.
      
      From-SVN: r54027
      Jeff Law committed
    • pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c. · 54374491
              * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
              * pa.c (pa_asm_output_mi_thunk): New function.
              * pa-protos.h (pa_asm_output_mi_thunk): Declare.
      
      From-SVN: r54026
      Jeff Law committed
    • avr.c (avr_base_arch_macro, [...]): New. · 92c392e6
      
      	* config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
      	(avr_asm_only_p): Make non-static.
      	(enum avr_arch): Remove.
      	(avr_arch_types): New.
      	(avr_mcu_types): Update.
      	(avr_override_options): Use avr_arch_types table instead of switch.
      	* avr.h (CPP_PREDEFINES): Die.
      	(avr_base_arch_macro, avr_extra_arch_macro): New.
      	(TARGET_CPU_CPP_BUILTINS): New.
      	(CPP_SPEC, EXTRA_SPECS): Simplify.
      	(CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
      	CPP_AVR5_SPEC): Die.
      
      Co-Authored-By: Marek Michalkiewicz <marekm@amelek.gda.pl>
      
      From-SVN: r54023
      Neil Booth committed
    • netbsd.h (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_AOUT. · 4528173e
      * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
      NETBSD_OS_CPP_BUILTINS_AOUT.
      (SUBTARGET_EXTRA_SPECS): Define.
      (CPP_SPEC): Use %(netbsd_cpp_spec).
      
      From-SVN: r54022
      Jason Thorpe committed
    • i386.c (ix86_output_function_epilogue): New. · bd09bdeb
              * config/i386/i386.c (ix86_output_function_epilogue): New.
              (TARGET_ASM_FUNCTION_EPILOGUE): New.
              (pic_label_name): Remove.
              (pic_labels_used): New.
              (ix86_asm_file_end): Emit one pc load stub for each register used.
              (output_set_got): Generate deep pc load to any register.
              (ix86_select_alt_pic_regnum): New.
              (ix86_save_reg): Don't save pic register if we can find a valid
              call-clobbered replacement.
              (ix86_expand_prologue): If we found a valid replacement, renumber
              pic_offset_table_rtx.
              * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
              pic_offset_table_rtx after reload.
              (REAL_PIC_OFFSET_TABLE_REGNUM): New.
              * config/i386/i386.md (set_got): Make insn, not expander.
              (set_got_nopic, set_got_deep, set_got_nodeep): Remove.
      
      From-SVN: r54021
      Richard Henderson committed
    • i386.c (ix86_compute_frame_layout): Do add bottom alignment for alloca. · 002ff5bc
              * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
              alignment for alloca.
      
      	* gcc.c-torture/execute/alloca-1.c: New.
      
      From-SVN: r54018
      Richard Henderson committed
    • i386.c (output_pic_addr_const): Lowercase rip. · edfe8595
              * config/i386/i386.c (output_pic_addr_const): Lowercase rip.
              (print_operand_address): Only add rip for symbolic addresses
              for which we do not have another relocation type.
      
      From-SVN: r54017
      Richard Henderson committed
    • netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. · cd7714ee
      * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
      (EXTRA_SPECS): Add netbsd_cpp_spec.
      (CPP_SPEC): Use %(netbsd_cpp_spec).
      (CPP_PREDEFINES): Remove.
      * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
      (EXTRA_SPECS): Define.
      (CPP_SPEC): Use %(netbsd_cpp_spec).
      (CPP_PREDEFINES): Remove.
      
      From-SVN: r54016
      Jason Thorpe committed
    • Revert this patch: · e7206fbc
      -       * haifa-sched.c (schedule_block): Do not count USE and CLOBBER
      -       insns against the issue rate.
      -
      -       * sched-deps.c (sched_create_groups_for_libcalls): New function.
      -       (sched_analyze): Use it.
      
      From-SVN: r54015
      Jeff Law committed
    • re PR preprocessor/6844 (Seg fault when trying to preprocess a file with lots of #define's) · 8dc901de
      	PR preprocessor/6844
      	* cppmacro.c (cpp_macro_definition): Reserve space for terminating
      	NUL.
      
      From-SVN: r54014
      Neil Booth committed
    • configure.host [...]: Set can_unwind_signal=yes. · e793a714
      * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
      * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
      Set SIGNAL_HANDLER=include/s390-linux.h.
      * configure: Regenerate.
      * include/s390-linux.h: New file.
      
      From-SVN: r54012
      Ulrich Weigand committed
    • linux.h (SUBTARGET_CPP_SPEC): Add support for mips5/mips32/mips64 and _MIPS_ISA_MIPSXX. · 2274b31a
      2002-05-29  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
      	mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
      
      From-SVN: r54011
      Eric Christopher committed
    • fr30.md: Remove previous restriction on splits. · 5c7666c1
      * config/fr30/fr30.md: Remove previous restriction on splits.
        Enforce conformance through gen_lowpart and cont_int_operand.
      * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
        as the assembler does not support ".bss".
      
      From-SVN: r54010
      Nick Clifton committed
    • netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define. · 45beef47
      * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
      (CPP_PREDEFINES): Remove.
      (SUBTARGET_EXTRA_SPECS): Define.
      (CPP_SPEC): Use %(netbsd_cpp_spec).
      * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
      (CPP_PREDEFINES): Remove.
      (SUBTARGET_EXTRA_SPECS): Define.
      (CPP_SPEC): Use %(netbsd_cpp_spec).
      * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
      (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
      (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
      Add netbsd_cpp_spec.
      (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
      
      From-SVN: r54009
      Jason Thorpe committed
    • cppexp.c (cpp_num): Move to cpplib.h. · cd7ab83f
      2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
      	    Zack Weinberg <zack@codesourcery.com>
      
      	* cppexp.c (cpp_num): Move to cpplib.h.
      	(CPP_ERROR): Remove.
      	(interpret_float_suffix, interpret_int_suffix): New.
      	(struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
      	(cpp_classify_number, cpp_interpret_integer): New.
      	(interpret_number): Remove.
      	(eval_token): Update to use new routines.
      	* cpphash.h (cpp_num_part): Move to cpplib.h.
      	* cppinit.c (cpp_post_options): Set warn_long_long.
      	* cpplib.h (struct cpp_options): Add warn_long_long.
      	(cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
      	CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
      	CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
      	CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
      	cpp_interpret_integer): New.
      testsuite:
      	* gcc.dg/cpp/c++98-pedantic.c, gcc.dg/cpp/c89-pedantic.c,
      	gcc.dg/cpp/c94-pedantic.c, gcc.dg/cpp/gnuc89-pedantic.c,
      	gcc.dg/cpp/if-1.c: Update for modified diagnostics.
      
      Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
      
      From-SVN: r54007
      Neil Booth committed