+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.
+
+2002-06-04 Zack Weinberg <zack@codesourcery.com>
+
+ * gengtype-yacc.y: Make sure all rules end with a semicolon.
+
+2002-06-04 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.c (xtensa_init_machine_status): Fix
+ typo in function prototype and include "ggc.h" header.
+
+2002-06-04 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/alpha.c (mode_mask_operand): Simplify without ifdefs.
+ (print_operand) ['U']: Likewise.
+ (alpha_expand_unaligned_store): Correct constants for 32-bit cross.
+ (alpha_expand_unaligned_store_words): Likewise.
+ (alpha_expand_builtin_vector_binop): Fix typo.
+ (enum alpha_builtin, code_for_builtin): Add remaining ext, ins, msk,
+ umulh, and cix insns.
+ (one_arg_builtins): Add cix builtins.
+ (two_arg_builtins): Add ext, ins, msk, umulh builtins.
+ (alpha_expand_builtin): Fix typo in arity.
+ * config/alpha/alpha.md (UNSPEC_CTLZ, UNSPEC_CTPOP): New.
+ (builtin_extbl, builtin_extwl, builtin_extll, builtin_extwh,
+ builtin_extlh, builtin_insbl, builtin_inswl, builtin_insll,
+ builtin_insql, builtin_inswh, builtin_inslh, builtin_insqh,
+ builtin_mskbl, builtin_mskwl, builtin_mskll, builtin_mskql,
+ builtin_mskwh, builtin_msklh, builtin_mskqh, builtin_cttz,
+ builtin_ctlz, builtin_ctpop): New.
+ * doc/extend.texi (Alpha Built-in Functions): Update.
+
+2002-06-04 Geoffrey Keating <geoffk@redhat.com>
+
+ * gengtype.c (write_gc_root): Don't unnecessarily prevent
+ global variable-length arrays being roots.
+
+ * config.gcc (powerpc-*-darwin*): Set config_gtfiles.
+ * configure.in (config_gtfiles): New variable.
+ (all_gtfiles): Initialise from config_gtfiles.
+ * configure: Regenerate.
+
+2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk>
+
+config/i386:
+ * beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h,
+ i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h,
+ mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h,
+ sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h,
+ win32.h (CPP_SPEC): Remove cpp_cpu.
+ * i386.h (TARGET_CPU_CPP_BUILTINS): Use.
+ (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die!
+
+2002-06-04 Janis Johnson <janis187@us.ibm.com>
+
+ * config/ia64/ia64.c (gen_thread_pointer): Fix variable name.
+
+2002-06-04 Jeff Law <law@redhat.com.
+ David Edelsohn <edelsohn@gnu.org>
+ Michael Matz <matz@kde.org>
+
+ * sched-int.h (struct deps): New field libcall_block_tail_insn.
+ * sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
+ * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
+ is set, then mark the current insn as being part of a libcall
+ scheduling group.
+ (sched_analyze): Set and clear libcall_block_tail_insn appropriately.
+
+ * haifa-sched.c (schedule_block): Do not count USE or CLOBBER
+ insns against the issue rate.
+
+Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>
+
+ * cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes.
+ * final.c (final_scan_insn): Likewise.
+ * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use
+ NOTE_EXPECTED_VALUE instead of NOTE_RANGE.
+ * haifa-sched.c (unlink_other_notes): Likeewise.
+ (reemit_notes): Likewise.
+ * print-rtl.c (print_rtx): Likewise.
+ * sched-deps (sched-analyze): Likewise.
+ * rtl.c (note_insn_name): Likewise.
+ * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill.
+ (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE.
+ (RANGE_*): Kill.
+
2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
* varasm.c (mark_constants): Handle RTX format 'B'.
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.
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.
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.
* 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.
* 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.
* 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
* 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.
(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.
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.
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.
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.
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>