OSDN Git Service

* config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 742bc19..cdd80e7 100644 (file)
@@ -1,3 +1,182 @@
+2002-06-07  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32
+       from and add t-sh64 to ${tmake_file}.
+       (sh64*-*-netbsd*): Add t-sh64 to ${tmake_file}.
+       * config/sh/t-netbsd-sh5 (LIB1ASMFUNCS): Remove.
+       * config/sh/t-netbsd-sh5-32: Remove.
+       * config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Use
+       MULTILIB_ENDIAN.
+       (MULTILIB_DIRNAMES): Define.
+
+Thu Jun  6 23:14:46 CEST 2002  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (and promoting splitters): Disable QI to SImode promoting
+       when doing so changes immediate to be 32bit.
+
+       * rtl.h (emit_*_scope): Declare.
+       * emit-rtl.c (emit_*_scope): New global functions.
+       (try_split): Copy scope.
+       * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
+       noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
+       noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
+       noce_process_if_block, find_cond_trap): Copy scopes.
+       * recog.c (peephole2_optimize): likewise.
+
+2002-06-06  Jeffrey Law  <law@redhat.com>
+
+       * h8300.h (OK_FOR_U): Fix thinko exposed by flag checking.
+
+Thu Jun  6 21:06:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'".
+
+2002-06-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Makefile.in (TEXI_GCCINSTALL_FILES): Define.
+       ($(docdir)/gccinstall.info): New target.
+       (info): Depend on it.
+       (gccinstall.dvi): New target.
+       (dvi): Depend on it.
+       * doc/.cvsignore: Ignore new info files.
+       * doc/install.texi (@setfilename): Reflect new info filename.
+
+Thu Jun  6 15:57:23 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P
+       on an UNSPEC.
+
+Thu Jun  6 07:17:43 2002  Nicola Pero  <n.pero@mi.flashnet.it>
+
+       PR objc/6834
+       * objc/objc-lang.c (LANG_HOOKS_GET_ALIAS_SET): Define to be
+       c_common_get_alias_set.
+       (LANG_HOOKS_SAFE_FROM_P): Define to be c_safe_from_p.   
+
+2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): New
+       functions.
+       * rtl.h (get_first_nonnote_insn, get_last_nonnote_insn): Declare.
+       * avr/avr.c (avr_output_function_epilogue): Use above to determine
+       function size.
+       * pa/pa.c (pa_output_function_prologue): Likewise.
+
+2002-06-05  David S. Miller  <davem@redhat.com>
+
+       * integrate.c (subst_constants): Handle 'B' RTL format.
+
+2002-06-05  Eric Christopher  <echristo@redhat.com>
+
+       * varasm.c (make_decl_rtl): Fix comment for removed
+       halfpic.c.
+
+2002-06-05  Eric Christopher  <echristo@redhat.com>
+
+       * Makefile.in: Remove missed halfpic bits.
+
+2002-06-05  Eric Christopher  <echristo@redhat.com>
+
+       * toplev.c: Remove half-pic.
+       * config/mips/mips.c: Ditto.
+       * config/mips/mips.h: Ditto. Remove unused defines.
+       * config/mips/openbsd.h: Update comment to reflect above.
+       * config/mips/mips.md: Remove half-pic constraints.
+       * halfpic.h: Delete.
+       * halfpic.c: Ditto.
+
+2002-06-05  Jeffrey Law  <law@redhat.com>
+
+        * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
+        rejects (mem (lo_sum (reg) (unspec))), but will allow
+        (mem (lo_sum (reg) (symbol_ref)) for PA2.0.
+
+2002-06-05  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpphash.h (_cpp_create_definition): Update prototype.
+       (_cpp_push_text_context, _cpp_create_trad_definition): New.
+       ( cpp_lex_identifier_trad): New.
+       (_cpp_set_trad_context): New.
+       * cppinit.c (cpp_finish_options): Don't conditionalize builtins.
+       * cpplib.c (SEEN_EOL): Update.
+       (lex_macro_node): Update for -traditional.
+       (cpp_push_buffer, _cpp_pop_buffer): Similarly.
+       * cppmacro.c (_cpp_create_definition): Split into
+       create_iso_definition() and _cpp_create_trad_definition().
+       (warn_of_redefinition): Update prototype; handle traditional
+       macros.
+       (_cpp_push_text_context): New.
+       * cpptrad.c (skip_whitespace, push_replacement_text): New.
+       (lex_identifier): Call ht_lookup with correct start.
+       (_cpp_lex_identifier_tradm _cpp_create_trad_definition,
+       _cpp_set_trad_context): New.
+       (scan_out_logical_line): Update to handle changing contexts.
+
+Wed Jun  5 20:42:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * config.gcc (sh-*-elf*,  sh64*-*-elf*): Unify.
+       (shl*-*-elf*): Add.
+       * config/sh/t-be (MULTILIB_ENDIAN): Set.
+       * config/sh/t-le (MULTILIB_ENDIAN): Likewise.
+       * t-sh (MULTILIB_ENDIAN): Set.
+       (MULTILIB_OPTIONS): Use it.
+       * t-sh64 (MULTILIB_OPTIONS): Likewise.
+       (MULTILIB_DIRNAMES): Likewise.
+
+2002-06-05  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * toplev.h (report_error_function): Remove.
+
+       * diagnostic.h (location_t): New datatype.
+       (text_info): Likewise.
+       (diagnostic_info): Likewise.
+       (output_prefix): New macro.
+       (diagnostic_last_function_changed): Likewise.
+       (diagnostic_set_last_function): Likewise.
+       (diagnostic_last_module_changed): Likewise.
+       (diagnostic_set_last_module): Likewise.
+       (report_diagnostic): Now macro.
+       (diagnostic_set_info): Declare.
+
+       * diagnostic.c (report_problematic_module): Rename to
+       diagnostic_repor_current_module.
+       (set_diagnostic_context): Remove.
+       (count_error): Rename to diagnostic_error_count.
+       (error_function_changed): Remove.
+       (record_last_error_function): Likewise.
+       (error_module_changed): Likewise.
+       (record_last_error_module): Likewise.
+       (context_as_prefix): Rename to diagnostic_build_prefix.
+       (flush_diagnostic_buffer): Rename to diagnostic_flush_buffer.
+       (diagnostic_set_info): New function.
+
+       * objc/objc-act.c: #include diagnostic.h
+       (error_with_ivar): Adjust call to count_error.
+       (warn_with_method): Likewise.
+       * objc/Make-lang.in (objc-act.o): Depend on diagnostic.h
+
+2002-06-05  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (xtensa_build_va_list): Use
+       lang_hooks.types.make_type instead of make_node; set up
+       __va_list_tag type decl.
+       (xtensa_builtin_saveregs): Remove broken use of
+       RTX_UNCHANGING_P and unnecessary use of MEM_IN_STRUCT_P
+       for saved registers; add varargs alias set.
+
+2002-06-05  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+config:
+       * alpha/gnu.h: Undef TARGET_OS_CPP_BUILTINS.
+       * i386/beos-elf.h: Use TARGET_OS_CPP_BUILTINS rather than
+       CPP_PREDEFINES and part of CPP_SPEC.
+       i386/freebsd-aout.h, i386/gas.h, i386/gnu.h, i386/linux-aout.h,
+       i386/linux.h, i386/moss.h, i386/xm-vsta.h: Similarly.
+
+Wed Jun  5 15:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
+
+       * reg-stack.c (reg_to_stack): Do not call find_basic_blocks.
+
 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
 
        * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
@@ -123,7 +302,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
 
        Merge from pch-branch:
-       
+
        * gengtype.h (UNION_OR_STRUCT_P): New macro.
        * gengtype.c (write_gc_structure_fields): Use it.
        (write_gc_root): Use it here too.
@@ -270,7 +449,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        outside ifdefs.
        (incomplete_types): Likewise.
        (decl_scope_table): Likewise.
-       (dwarf2out_init): Don't call ggc_add_tree_varray_root.  
+       (dwarf2out_init): Don't call ggc_add_tree_varray_root.
        * cfglayout.c (scope_to_insns_finalize): Don't use VARRAY_FREE.
        * c-tree.h (struct lang_type): Update for change to length specifier.
        * c-parse.in (yylexstring): Don't use VARRAY_FREE.
@@ -344,7 +523,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        to list of includes.
 
        * gengtype.c (write_gc_marker_routine_for_structure): Name
-       the routines 'gt_ggc_mx_*' instead of 'gt_ggc_m_*'.  
+       the routines 'gt_ggc_mx_*' instead of 'gt_ggc_m_*'.
        (write_gc_types): Arrange for the tests with NULL to be inlined.
        (write_gc_roots): Update uses of procedure pointers.
        * ggc-common.c (gt_ggc_mx_rtx_def): Rename from gt_ggc_m_rtx_def.
@@ -487,7 +666,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        * c-tree.h (struct lang_identifier): Use gengtype.
        (union lang_tree_node): New.
        (c_mark_tree): Delete prototype.
-       * dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy 
+       * dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy
        dwarf2_debug_hooks.
        * gengtype-lex.l (IWORD): Allow 'bool'.
        (ptr_alias): Match.
@@ -572,7 +751,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        * config/d30v/d30v.c (d30v_init_expanders): Likewise.
        * config/arm/arm.c (arm_init_expanders): Likewise.
        * config/alpha/alpha.c (override_options): Likewise.
-       * gengtype.h (enum gc_used_enum): Add GC_MAYBE_POINTED_TO. 
+       * gengtype.h (enum gc_used_enum): Add GC_MAYBE_POINTED_TO.
        * gengtype.c (set_gc_used_type): Handle 'maybe_null' option.
        (write_gc_structure_fields): Don't handle 'really' option.
        Handle 'maybe_null' option.
@@ -893,7 +1072,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        * tree.c: Use gengtype for roots.
        * tree.h: Use gengtype for roots.
        * varasm.c: Use gengtype for roots.
-       
+
        * Makefile.in (GTFILES): Add @all_gtfiles@.
        * configure: Regenerate.
        * configure.in: Construct all_gtfiles from the gtfiles definitions
@@ -939,10 +1118,10 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        * config/arm/arm.c (arm_mark_machine_status): Delete.
        (arm_init_machine_status): Update calling sequence.
        (arm_init_expanders): Use canonical name for arm_mark_machine_status.
-       * config/cris/cris.c (cris_init_machine_status): Update 
+       * config/cris/cris.c (cris_init_machine_status): Update
        calling sequence.
        * config/d30v/d30v.h (struct machine_function): Use gengtype.
-       * config/d30v/d30v.c (d30v_init_machine_status): Update 
+       * config/d30v/d30v.c (d30v_init_machine_status): Update
        calling sequence.
        (d30v_mark_machine_status): Delete.
        * config/i386/i386.c: Include gt-i386.h.
@@ -951,12 +1130,12 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        (ix86_mark_machine_status): Delete.
        (override_options): Use canonical namke for ix86_mark_machine_status.
        * config/ia64/ia64.h (struct machine_function): Use gengtype.
-       * config/ia64/ia64.c (ia64_init_machine_status): Update calling 
+       * config/ia64/ia64.c (ia64_init_machine_status): Update calling
        sequence.
        (ia64_mark_machine_status): Delete.
-       (ia64_override_options): Use canonical name for 
+       (ia64_override_options): Use canonical name for
        ia64_mark_machine_status.
-       * config/mmix/mmix.c (mmix_init_machine_status): Update calling 
+       * config/mmix/mmix.c (mmix_init_machine_status): Update calling
        sequence.
        * config/rs6000/rs6000.c (rs6000_init_machine_status): Likewise.
        * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
@@ -1099,7 +1278,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
        Document that the machine_function structures must be allocated
        using GC.  Update mark_machine_status documentation.
        * function.h: Don't declare free_machine_status.
-       * function.c (free_machine_status): Don't define. 
+       * function.c (free_machine_status): Don't define.
        (free_after_compilation): Don't call free_machine_status.
        (ggc_mark_struct_function): Mark f->machine.  Call
        mark_machine_status only on non-NULL pointers.
@@ -1296,7 +1475,7 @@ Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
 
 2002-06-03  Gabriel Dos Reis  <gdr@codesourcery.com>
 
-       * diagnostic.h (diagnostic_count): Move from output_buffer to 
+       * diagnostic.h (diagnostic_count): Move from output_buffer to
        diagnostic_context.
        (diagnostic_kind_count): Adjust definition.
 
@@ -1463,7 +1642,7 @@ config/h8300:
 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
 
        * diagnostic.h (struct diagnostic_context):  Add new member
-       internal_error. 
+       internal_error.
        (internal_error_function): Remove declaration.
        * diagnostic.c (internal_error_function): Remove definition..
        (internal_error): Adjust use.
@@ -1549,7 +1728,7 @@ Sat Jun  1 23:29:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
 2002-06-01  Daniel Berlin  <dberlin@dberlin.org>
 
        * tree-inline.c (expand_call_inline): Make the statement
-       expression we generate have a COMPOUND_STMT.    
+       expression we generate have a COMPOUND_STMT.
 
 2002-06-01  Roger Sayle  <roger@eyesopen.com>