OSDN Git Service

2003-03-11 Aldy Hernandez <aldyh@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9d2762f..80363e6 100644 (file)
@@ -1,3 +1,195 @@
+2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/rs6000.c (rs6000_stack_info): Remove
+        insn_chain_scanned.  Use insn_chain_scanned_p in machine_function.
+
+        * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
+
+Tue Mar 11 21:19:03 2003  Alexandre Oliva  <aoliva@redhat.com>
+
+       * toplev.c (independent_decode_option): Return success for --help,
+       --target-help and --version.
+
+Tue Mar 11 20:20:14 2003  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
+       Default to -mips3 on -mabi=64.  Don't add -mips* flag if -march is
+       specified.
+       (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
+       DRIVER_SELF_SPECS.
+       (LINK_SPEC): Let endian options affect the linker emulation name.
+
+Tue Mar 11 22:35:39 2003  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.md (reload_inqi): Fix mode for source in second set.
+
+Tue Mar 11 22:48:03 CET 2003  Jan Hubicka  <jh@suse.cz>
+
+       * cselib.c (cselib_invalidate_mem_1): Move too ...
+       (cselib_invalidate_mem): ... here; use new list
+       (dummy_val, first_containing_mem): New static variables.
+       (clear_table): Initialize first_containing_mem.
+       (discard_useless_values):  Compact the containing_mem list.
+       (add_mem_for_addr): Add to the list.
+       * cselib.h (cselib_val): Add next_containing_mem.
+
+2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/rs6000.c (rs6000_override_options): Disable string
+        instructions for e500.
+
+2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Makefile.in: Update.
+       * c-cppbuiltin.c: Include tm_p.h.
+
+2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
+
+        * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
+
+        * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
+        (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
+        (_Unwind_SetGR): Same.
+        (_Unwind_GetGRPtr): New.
+        (_Unwind_SetGRPtr): New.
+        (uw_update_context_1): Use accesor functions instead of accessing
+        context->reg[] directly.
+        (uw_install_context_1): Same.
+        (execute_cfa_program): Same.
+        (__frame_state_for): Same.
+
+        * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
+        the synthetic register offset.
+
+        * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
+
+2003-03-11  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.md: Remove lingering EGCS reference.
+       ("*extopqihi_side_biap"): For HI operation, match
+       cris_additive_operand_extend_operator, not
+       cris_operand_extend_operator.  Adjust condition.
+       ("*extopqihi_side", "*extopqihi"): Ditto.
+       ("*extopqisi_side_biap"): Correct operand numbers in condition.
+       ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
+       ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
+       ("*extophisi_swap"): Ditto.
+       ("*extopqihi_swap_side_biap"): For HI operation, match a simple
+       PLUS, not cris_operand_extend_operator.  Adjust condition and
+       output template.
+       ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
+       * config/cris/cris.h (PREDICATE_CODES): Add
+       cris_additive_operand_extend_operator.
+       * config/cris/cris.c (cris_additive_operand_extend_operator):
+       New predicate.
+
+2003-03-11  Hartmut Penner  <hpenner@de.ibm.com>
+
+       * df.c (read_modify_subreg_p): Change from static to global.
+       * df.h (read_modify_subreg_p): Add prototype.
+       * sched-deps.c (sched_analyze_1): Generate true dependency for
+       strict_low_part, certain subregs and zero/sign_extract. 
+
+2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Makefile.in: Update.
+       * c-common.c: Don't include real.h or except.h.
+       (REGISTER_PREFIX): Remove.
+       (builtin_define_std, builtin_define_with_value,
+       builtin_define_with_int_value, builtin_define_with_hex_fp_value,
+       builtin_define_type_max, builtin_define_type_precision,
+       builtin_define_float_constants): Move to c-cppbuiltin.c.
+       (c_stddef_cpp_builtins): New.
+       * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
+       * c-cppbuiltin.c: New, extracted from c-common.c.
+       (define__GNUC__): New.
+       * cppspec.c (lang_specific_driver): Remove support of -no-gcc.
+       * gcc.c: Remove support of %v1, %v2 and %v3 specs.
+       (cpp_unique_options): Don't support no-gcc.
+       (do_spec_1): Remove support of version specs.
+       * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
+       * doc/passes.texi: Update.
+       * doc/tm.texi: Update.
+
+2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
+
+        * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
+
+2003-03-10  Andrew Pinski  <apinski@apple.com>
+
+       * config/darwin.c (machopic_function_base_name): If dynamic-no-pic
+       is on should not get here.
+       (machopic_indirect_data_reference): If dynamic-no-pic is on just
+       generate high/low parts of the address.
+       (machopic_legitimize_pic_address): Change MACHOPIC_PURE to
+       MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
+       symbol and labels with a new reg.  Dynamic-no-pic does not have a
+       pic_offset_table_rtx.
+       (machopic_select_section): Change references of flag_pic to
+       MACHOPIC_INDIRECT. 
+       (machopic_asm_out_destructor): Likewise.
+       * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
+       reference of flag_pic to MACHOPIC_INDIRECT.
+       (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
+       (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
+       (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
+       (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
+       * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
+       0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
+       * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
+       (TARGET_DYNAMIC_NO_PIC): Define.
+       (SUBTARGET_SWITCHES): Define, have sub-target switches for
+       dynamic-no-pic. 
+       (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
+       rs6000_override_options to here. Dynamic-no-pic overrides
+       pic.
+       (CC1_SPEC): Change from not static then pic to not static and not
+       dynamic-no-pic then pic.
+       * config/rs6000/rs6000.c (rs6000_override_options): Move the
+       check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
+       (rs6000_legitimize_reload_address): Add case for loading floating in
+       dynamic-no-pic.
+       (rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
+       of flag_pic to MACHOPIC_INDIRECT.
+       (secondary_reload_class): Conditional change the reference of
+       flag_pic to MACHOPIC_INDIRECT.
+       (rs6000_output_mi_thunk): Change reference of flag_pic to
+       MACHOPIC_INDIRECT.
+       (output_profile_hook): Likewise.
+       (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
+       * config/rs6000/rs6000.md (movdf_low): Add the case for
+       MACHO_DYNAMIC_NO_PIC_P.
+       (call): Change references for flag_pic in TARGET_MACHO to
+       MACHOPIC_INDIRECT.
+       (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
+       -mdynamic-no-pic is on.  Also move case for -fpic from rs6000.c.
+       * doc/invoke.texi (-mdynamic-no-pic): Document.
+
+2003-03-10  Devang Patel  <dpatel@apple.com>
+       
+       PR c++/9394
+       * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
+       (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
+       * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
+       (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
+       * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
+       (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
+       
+2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>
+
+       PR optimization/7189
+       * toplev.c (rest_of_compilation):  Move
+       check_function_return_warnings up to just after
+       delete_unreachable_blocks.
+
+2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
+       * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
+       Declare.
+       * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
+       for reg rename optimization to avoid using Z and Y registers.
+
 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
 
        * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant