+2003-03-22 DJ Delorie <dj at redhat dot com>,
+ Bruce Korb <bkorb at gnu dot org>
+
+ * fixinc/inclhack.def (solaris_mutex_init_1): New; Fix
+ buggy Solaris 2.6 mutex/cond initializers.
+ (solaris_mutex_init): Rename to solaris_mutex_init_2.
+ * fixinc/fixincl.x: Regenerate.
+ * fixinc/tests/base/pthread.h: Update.
+ * fixinc/fixincl.c(initialize): be explicit about the default case
+ and indicate verbose level when being very, very verbose.
+ * fixinc/check.tpl(VERBOSE): provide a means for passing the value in
+
+2003-03-22 Andreas Jaeger <aj@suse.de>
+
+ * config/i386/i386.c (ix86_init_machine_status): Return value.
+
+2003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
+ conditional branch to the following instruction. Use next_real_insn
+ instead of next_active_insn.
+ (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
+ instead of next_active_insn.
+
+2003-03-22 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' instead
+ of 'm' constraint in forced-split alternatives.
+ ("*adddi3_31", "*subdi3_31"): Likewise. Also, pass 0 instead of 1 as
+ VALIDATE_ADDRESS parameter to operand_subword.
+
+2003-03-22 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.c (notice_update_cc): Correctly handle
+ the case where the set destination is STRICT_LOW_PART.
+
+2003-03-22 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
+ c30 instead of a c40 processor.
+
+2003-03-22 Alan Modra <amodra@bigpond.net.au>
+
+ * combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy.
+
+2003-03-21 Zack Weinberg <zack@codesourcery.com>
+
+ * c-common.c: Include intl.h.
+ (shadow_warning): Rewrite to allow better diagnostic translations.
+ * c-common.h: Update prototype of shadow_warning. Declare sw_kind enum.
+ * c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
+ use it throughout.
+ * Makefile.in (c-common.o): Add intl.h.
+
+2003-03-21 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * config.gcc: Remove 'float_format'.
+
+ * fixproto: Define NULL and size_t in generated stdlib.h and
+ unistd.h. Kill unused required_stdlib_h, required_unistd_h.
+ Rearrange file generation loop for readability. Generate time.h,
+ string.h if missing.
+ * tsystem.h: Include <string.h>, <time.h> unconditionally.
+ * config.gcc: Blow away POSIX defines.
+
+2003-03-22 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
+
+2003-03-22 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
+ writing .interrupt command.
+ * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
+ if it's a far or near function.
+ ("call_value"): Likewise.
+ * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
+ near attributes.
+ (m68hc11_handle_fntype_attribute): Accept attributes on methods.
+ (m68hc11_override_options): Ignore -mlong-calls for 68HC11.
+ (m68hc11_initial_elimination_offset): Set current_function_far
+ according to attributes.
+ (expand_prologue): Likewise.
+ (trap_handler_symbol): New global to keep track of trap handlers.
+ (m68hc11_encode_section_info): Mark symbol as far if needed; set
+ trap symbol.
+ (m68hc11_is_far_symbol): New function.
+ (m68hc11_is_trap_symbol): New function.
+ * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
+ (m68hc11_is_trap_symbol): Declare.
+
+Fri Mar 21 23:12:33 CET 2003 Jan Hubicka <jh@suse.cz>
+
+ * i386.c (ix86_compute_frame_layout): Recompute fast prologues
+ only when amount of saved regs changed.
+ (ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
+ * i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.
+
+Fri Mar 21 22:44:33 CET 2003 Jan Hubicka <jh@suse.cz>
+
+ PR inline-asm/7916
+ * function.c (instantiate_virtual_regs_lossage): New function.
+ (instantiate_virtual_regs_1): Use it.
+ (instantiate_virtual_regs): Do not continue in substition when insn has
+ been deleted.
+
+2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
+
+ * combine.c (make_field_assignment): Fix a warning.
+
+2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
+
+2003-03-21 Dale Johannesen <dalej@apple.com>
+
+ * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Increase
+ priority for R2 on Darwin.
+ (HARD_REGNO_MODE_OK): Don't accept R31 for DFmode.
+
+2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
+
+ * combine.c (make_field_assignment): Remove unnecessary AND
+ when storing into zero_extract.
+
+2003-03-21 Zack Weinberg <zack@codesourcery.com>
+
+ * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
+ * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
+ * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
+ in comment.
+
+2003-03-21 DJ Delorie <dj@redhat.com>
+
+ * optabs.c (init_integral_libfuncs): Make sure we init at least up
+ to "long long" size words.
+
+2003-03-21 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/s390/s390.h: Do not include fixdfdi.h on s390x.
+ (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
+ (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
+
+2003-03-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR doc-bug/9813
+ * doc/extend.texi: Move misplaced paragraph about underscores in
+ variables in macros.
+
+2003-03-21 Eric Botcazou <ebotcazou@libertysurf.fr>
+ Richard Henderson <rth@redhat.com>
+
+ PR optimization/8366
+ * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
+ (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
+ PIC+SYMBOLIC_CONST in other modes than Pmode.
+ (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
+ the form PIC+SYMBOLIC_CONST as mode dependent.
+
+2003-03-21 DJ Delorie <dj@redhat.com>
+
+ * config/stormy16/stormy16.c (xstormy16_expand_arith): Make
+ sure we always emit at least one insn.
+
+2003-03-21 Christopher Faylor <cgf@redhat.com>
+
+ * config.gcc (i[34567]86-*-cygwin*): Use new common makefile
+ stub t-cygming. Use common target header cygming.h. Add extra
+ c_target_obj and cxx_target_obj file. Default cygwin to posix
+ threading. Enforce i386 as float format.
+ (i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
+ Remove cygwin.h as target header. Use common target header
+ cygming.h Enforce i386 as float format. Correct typo.
+ * config/i386/cygming.h: New file, containing definitions
+ common to mingw32 and cygwin.
+ * config/i386/cygwin.h: Remove definitions common to cygwin and
+ mingw. Simplify special spec logic. Define "wrappers" around
+ certain include path defines to accommodate -mno-cygwin.
+ Remove some #if 0'ed code.
+ (STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
+ (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
+ (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
+ * config/i386/mingw32.h: Remove definitions common to cygwin and
+ mingw.
+ (EXTRA_OS_CPP_BUILTINS): Adjust.
+ (TARGET_VERSION): Define.
+ * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
+ mingw32.h definitions.
+ (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
+ * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
+ Add compilation rules for cygwin1.o cygwin2.o.
+ * config/i386/cygwin1.c: New file.
+ * config/i386/cygwin2.c: New file.
+ * config/i386/t-cygming: New makefile stub.
+
+2003-03-20 Richard Henderson <rth@redhat.com>
+
+ * fold-const.c (extract_muldiv_1): Revert changing order of
+ operands in case MULT_EXPR of 2003-02-16 patch.
+
+2003-03-20 Daniel Berlin <dberlin@dberlin.org>
+ Merge changes from new-regalloc-branch
+
+ From Michael Matz <matz@suse.de>
+ * df.c (df_ref_record_1): Move init of loc to safe point.
+ Only recurse on interesting things in parallels.
+ Handle CLASS_CANNOT_CHANGE_MODE smarter.
+ (df_uses_record): Ditto.
+
+ * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
+ it's already okay to use memory operands in (IE doesn't require
+ adding another insn or anything).
+
+2003-03-20 Richard Henderson <rth@redhat.com>
+
+ PR middle-end/6348
+ * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
+ different from word_mode.
+
+2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
+ source operand to those that can be extracted with bld.
+
+2003-03-20 Richard Earnshaw <rearnsha@arm.com>
+
+ PR 10066
+ * arm.md (UNSPEC_PIC_BASE): New constant.
+ (pic_add_dot_plus_four): Wrap with unspec.
+ (pic_add_dot_plus_eight): Likewise.
+
+2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (*insv_si_1_n): New.
+ (*insv_si_1_n_lshiftrt): Likewise.
+
+2003-03-20 Roger Sayle <roger@eyesopen.com>
+
+ * fold-const.c (fold_mathfn_compare): New function to simplify
+ comparisons against built-in math functions. Fold comparisons
+ of sqrt against constants.
+ (fold): Call fold_mathfn_compare when appropriate.
+
+2003-03-20 Richard Earnshaw <rearnsha@arm.com>
+
+ * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
+ information.
+
+2003-03-20 Per Bothner <pbothner@apple.com>
+
+ Various cleanups to help compile server.
+
+ * cppinit.c (cpp_create_reader): Take extra hash_table* argument,
+ and pass that to _cpp_init_hashtable.
+ (cpp_read_main_file): Drop hash_table* argument; don't call
+ _cpp_init_hashtable.
+ * cpplib.h: Update declarations to match.
+ * c-opts.c (c_common_init_options): Pass ident_hash to
+ cpp_create_reader.
+ (c_common_post_options): Don't pass ident_hash to cpp_read_main_file.
+ * fix-header.c (read_scan_file): Likewise pass NULL table to
+ cpp_create_reader rather than cpp_read_main_file.
+
+ * cppfiles.c (cpp_rename_file): Generalized and renamed
+ to cpp_change_file.
+ * cpplib.h: Update declaration to match.
+ * c-opts.c (push_command_line_line, finish_options): Change
+ cpp_rename_file calls to cpp_change_file.
+
+ * line-map.c (add_line_map): Allow leaving the outermost file.
+ Allowing entering an outermost-file after the initial time.
+
+ * toplev.c (pop_srcloc): Allow popping from initial file.
+
+2003-03-20 Kazu Hirata <kazu at cs dot umass dot edu>
+
+ * fold-const.c (fold): Fold A - (A & B) into ~B & A.
+
+2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (a peephole2): New.
+
+2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (*addsi3_and_r_1): New.
+ (*addsi3_and_not_r_1): Likewise.
+
+2003-03-19 Loren James Rittle <ljrittle@acm.org>
+
+ * Makefile.in (STRICT2_WARN): Add @WERROR@.
+ (GCC_WARN_CFLAGS): Remove $(WERROR).
+ (fixinc.sh-warn): New.
+ * ada/Make-lang.in (ada-warn): Add $(WERROR).
+ * cp/Make-lang.in (cp-warn): Add $(WERROR).
+ * f/Make-lang.in (f-warn): Add $(WERROR).
+ * java/Make-lang.in (java-warn): Add $(WERROR).
+ * treelang/Make-lang.in (treelang-warn): Add $(WERROR).
+
+2003-03-19 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
+ langhooks-def.h (lhd_tree_dump_dump_tree),
+ langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
+ Change return type from 'int' to 'bool'. Replace 0 and 1 with
+ true and false in return statements.
+
+2003-03-19 Kevin Buettner <kevinb@redhat.com>
+
+ * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define.
+ (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account
+ DWARF_INITIAL_LENGTH_SIZE.
+ (output_compilation_unit_header, output_pubnames, output_aranges)
+ (output_line_info): Output 0xffffffff escape value for 64-bit
+ DWARF extension.
+ * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define.
+
+2003-03-19 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/s390/s390.c (s390_preferred_reload_class): Do not
+ force constants to the pool unless necessary.
+ (s390_decompose_address): Prefer to use pointer as base,
+ not index register.
+ * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
+ Q alternative.
+ ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
+ "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
+ ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
+ "*zero_extendqisi2_31", "*zero_extendqihi2_31",
+ "*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
+
+Wed Mar 19 11:28:45 CET 2003 Jan Hubicka <jh@suse.cz>
+
+ * i386.h (machine_function): New fields use_fast_prologue_epilogue.
+ * i386.c (use_fast_prologue_epilogue): Remove.
+ (ix86_frame): New field save_regs-using_mov;
+ (ix86_compute_frame_layout): Decide on fast prologues;
+ allocate saved registers in red zone.
+ (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters.
+
+2003-03-19 Nick Clifton <nickc@redhat.com>
+
+ * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon.
+
+2003-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR 10062
+ * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
+ * pa-protos.h (output_lbranch): New prototype.
+ * pa.c (compute_frame_size): Change size of the frame marker on the
+ 64-bit ports to 48 bytes.
+ (pa_output_function_prologue): Document why SAVE_SP is set.
+ (hppa_expand_prologue): Save previous stack pointer into frame marker
+ on targets which use the hpux unwind library.
+ (output_cbranch): Use output_lbranch.
+ (output_lbranch): New function to output long unconditional branches.
+ * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
+ (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
+ 64-bit ports.
+ * pa.md (jump): Use output_lbranch.
+ (allocate_stack): New expander for dynamic stack allocation.
+
+2003-03-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame
+ when debugging on XCOFF targets. Delete "abi" temp.
+
+ PR target/10073
+ * combine.c (force_to_mode <NOT>): Use gen_int_mode.
+
+2003-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ * config/s390/s390.c (s390_output_dwarf_dtprel): New.
+ * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto.
+ * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
+
+ * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New.
+ * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto.
+ * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define.
+
+2003-03-18 Geoffrey Keating <geoffk@apple.com>
+
+ * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone
+ the result of machopic_function_base_name.
+ * config/darwin.c (machopic_function_base_name): Use a gc-allocated
+ string rather than a static array.
+
+ * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
+
+ * gengtype.c: Include rtl.h.
+ (enum rtx_code): Don't define.
+ (rtx_format): Make declaration match rtl.h.
+ (rtx_next_new): Rename from rtx_next to avoid conflict. Change all
+ users.
+ (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
+ * Makefile.in (gengtype.o): Update dependencies.
+
+2003-03-18 Andreas Schwab <schwab@suse.de>
+
+ * config/m68k/m68k.md (iordi3): Fix setting low half to -1. From
+ martin@blom.org.
+
2003-03-18 Geoffrey Keating <geoffk@apple.com>
+ * function.c (next_block_index): Mark with GTY.
+
* config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
2003-03-18 Richard Henderson <rth@redhat.com>
(PROFILE_KERNEL): Remove hacks.
* config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
(rs6000_stack_info): No need to save lr if just for profiling when
- TARGET_KERNEL_PROFILE.
- (output_profile_hook): Output nothing when TARGET_KERNEL_PROFILE.
+ TARGET_PROFILE_KERNEL.
+ (output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL.
(output_function_profiler): Localize label generation. Emit code
for kernel profiling.
MEM, try loading the MEM into a register and taking the low-part
of that, to help CSE see the use of the MEM in its true mode.
-2002-03-05 Tom Tromey <tromey@redhat.com>
+2003-03-05 Tom Tromey <tromey@redhat.com>
* config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH):
Define.
-2002-03-05 Nick Clifton <nickc@cambridge.redhat.com>
+2003-03-05 Nick Clifton <nickc@cambridge.redhat.com>
* config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on
operand 2.
("*ineqbranchsi"): Likewise.
-2002-03-05 Andrew Haley <aph@cambridge.redhat.com>
+2003-03-05 Andrew Haley <aph@cambridge.redhat.com>
* config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete
mem_fake_push_rtx. Instead construct a SEQUENCE to show the
register store followed by a stack increment.
-2002-03-05 Chris Moller <cmoller@redhat.com>
+2003-03-05 Chris Moller <cmoller@redhat.com>
* config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term
to inhibit saving CARRY_REGS.
(*tst_extzv_memqi_1_n): Likewise.
(a peephole2): New.
-2002-02-28 Richard Sandiford <rsandifo@redhat.com>
+2003-02-28 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
#ifndef __mips16.
simplify_binary_operation): Deal with vector modes
(simplify_ternary_operation): Deal with no-op VEC_MERGE.
-2002-02-09 Richard Sandiford <rsandifo@redhat.com>
+2003-02-09 Richard Sandiford <rsandifo@redhat.com>
* toplev.c (rest_of_compilation): Recompute register usage after
split_all_insns.
* config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
config/ia64/linux.h
-2002-02-05 Roger Sayle <roger@eyesopen.com>
+2003-02-05 Roger Sayle <roger@eyesopen.com>
* cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
(movups/movupd/movdqu patterns): Force one of operands to not be
memory.
-2002-02-03 Roger Sayle <roger@eyesopen.com>
+2003-02-03 Roger Sayle <roger@eyesopen.com>
* hooks.c (hook_rtx_rtx_identity): Generic hook function that
takes a single rtx and returns it unmodified.
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
comment.
-2002-01-25 Richard Henderson <rth@redhat.com>
+2003-01-25 Richard Henderson <rth@redhat.com>
* config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
-2002-01-25 Kelley Cook <kelleycook@comcast.net>
+2003-01-25 Kelley Cook <kelleycook@comcast.net>
* ggc-simple.c (debug_ggc_tree): Add PTR cast.
2002-02-19 Robert Lipe <robertlipe@usa.net>
* config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
-2002-01-25 Roger Sayle <roger@eyesopen.com>
+2003-01-25 Roger Sayle <roger@eyesopen.com>
* builtins.c (purge_builtin_constant_p): Scan insn stream
sequentially rather than by basic block.
* combine.c (simplify_comparison, case AND): Remove a redundant test.
-2002-01-25 Roger Sayle <roger@eyesopen.com>
+2003-01-25 Roger Sayle <roger@eyesopen.com>
* function.h (struct function): New field calls_constant_p.
(current_function_calls_constant_p): New macro for above.
* integrate.c (expand_inline_function): Set calls_constant_p if
the function being inlined has calls_constant_p set.
-2002-01-25 Roger Sayle <roger@eyesopen.com>
+2003-01-25 Roger Sayle <roger@eyesopen.com>
* cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
optimizing, even if flag_gcse is true.
* builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.
-2002-01-24 Stuart Hastings <stuart@apple.com>
+2003-01-24 Stuart Hastings <stuart@apple.com>
* config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.