ChangeLog entries since last run on 2003-03-27T18:23:57Z: --- /Users/regress/tbox/changelog_mail/gcc/gcc/ChangeLog Thu Mar 27 10:24:19 2003 +++ gcc/gcc/ChangeLog Thu Mar 27 17:52:19 2003 @@ -1,3 +1,37 @@ +2003-03-27 Janis Johnson + + * libgcov.c: Provide only dummy functions if libc is not available. + +2003-03-27 Richard Henderson + + * real.h (struct real_value): Add signalling. + (EXP_BITS): Decrement. + * real.c (get_canonical_qnan): Don't set MSB-1. + (get_canonical_snan): Likewise. Set signalling. + (real_identical): Compare signalling. + (round_for_format): Remove force-one-bit on code. + (real_nan): Likewise. Set signalling. + (encode_ieee_single): Add force-one-bit code; honor signalling. + (encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise. + (decode_ieee_single): Set signalling. + (decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise. + +2003-03-27 Olivier Hainque + + PR ada/9953 + * ada/Makefile.in (gnatlib configuration for HPUX): Split + the general section for HPUX into specific sections for + HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX + 11 case. + +2003-03-27 Glen Nakamura + + PR opt/10087 + * loop.c (loop_givs_reduce): Skip bivs with duplicate locations + while incrementing giv. + (record_biv): Check for duplicate biv locations and + set (struct induction *) v->same if found. + 2003-03-27 David Mosberger * unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind --- /Users/regress/tbox/changelog_mail/gcc/gcc/testsuite/ChangeLog Thu Mar 27 10:24:25 2003 +++ gcc/gcc/testsuite/ChangeLog Thu Mar 27 17:52:23 2003 @@ -1,3 +1,27 @@ +2003-03-27 Mark Mitchell + + * lib/gcov.exp (run-gcov): Add branches and calls options, rather + than reading .x files. + * g++.dg/gcov/gcov-1.C: Use run-gcov options, not .x files. + * g77.dg/gcov/gcov-1.f: Likewise. + * gcc.misc-tests/gcov-4b.c: Likewise. + * gcc.misc-tests/gcov-5b.c: Likewise. + * gcc.misc-tests/gcov-6.c: Likewise. + * gcc.misc-tests/gcov-7.c: Likewise. + * gcc.misc-tests/gcov-8.c: Likewise. + * g++.dg/gcov/gcov-1.x: Remove. + * g77.dg/gcov/gcov-1.x: Likewise. + * gcc.misc-tests/gcov-4b.x: Likewise. + * gcc.misc-tests/gcov-5b.x: Likewise. + * gcc.misc-tests/gcov-6.x: Likewise. + * gcc.misc-tests/gcov-7.x: Likewise. + * gcc.misc-tests/gcov-8.x: Likewise. + +2003-03-27 Glen Nakamura + + PR opt/10087 + * gcc.dg/20030324-1.c: New test. + 2003-03-27 Nathan Sidwell PR c++/10224 ChangeLog entries between 2003-03-27T18:23:57Z and the last time everything passed, on 2003-03-03T21:26:39Z: --- /Users/regress/tbox/changelog_pass/gcc/ChangeLog Mon Mar 3 13:26:59 2003 +++ gcc/ChangeLog Mon Mar 17 08:56:40 2003 @@ -1,3 +1,66 @@ +2003-03-17 Olivier Hainque + + * MAINTAINERS (Write After Approval): Add myself. + +2003-03-14 Nathanael Nerode + + * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down. + * Makefile.in: Regenerate. + +2003-03-14 Michael Chastain + + * Makefile.in: Regenerate with correct Makefile.def. + +2003-03-12 Nathanael Nerode + + * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused + Make macro. + * Makefile.in: Regenerate. + * configure.in: Clean up gxx_include_dir logic. + * configure: Regenerate. + +2003-03-12 Ansgar Esztermann + + * MAINTAINERS (Write After Approval): Add myself. + +2003-03-10 Ben Elliston + + * MAINTAINERS: Update my mail address. + +2003-03-09 Franz Sirl + + * configure.in (gxx_include_dir): Fix typo. + * configure: Regenerated. + +2003-03-04 Nathanael Nerode + + * Makefile.tpl: Reindent. + * Makefile.in: Regenerate. + * configure.in: Reindent. Don't set unused variables. + * configure: Regenerate. + +2003-03-04 Daniel Jacobowitz + + * configure.in: Include $(build_tooldir)/sys-include in + FLAGS_FOR_TARGET. + * configure: Regenerated. + +2003-03-04 Nathanael Nerode + + * Makefile.tpl: Always pass down RANLIB. + * Makefile.in: Regenerate. + + * Makefile.tpl: Don't set unused enable_shared, enable_threads macros. + * Makefile.in: Regenerate. + * configure.in: Remove unused logic relating to --enable-shared + and --enable-threads. Remove bogus comments. Remove redundant + noconfigdirs. + * configure: Regenerate. + + * configure.in: Replace ${libstdcxx_version} by its value. + Remove reference to mh-dgux. + * configure: Regenerate. + 2003-03-03 Kevin Buettner * MAINTAINERS (Write After Approval): Add myself. --- /Users/regress/tbox/changelog_pass/gcc/gcc/ChangeLog Mon Mar 3 13:27:03 2003 +++ gcc/gcc/ChangeLog Thu Mar 27 10:24:19 2003 @@ -1,21217 +1,9251 @@ -Mon Mar 3 20:45:25 2003 J"orn Rennecke +2003-03-27 David Mosberger - * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and - subtarget_asm_isa_spec. - (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define. - (ASM_SPEC): Define as SH_ASM_SPEC. - (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h. - Use subtarget_asm_relax_spec and subtarget_asm_isa_spec. - * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC. - (SUBTARGET_ASM_ISA_SPEC): Undef / define. + * unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind + v0.9 API change: replace read of UNW_REG_HANDLER with + unw_get_proc_info(). + (_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA + with unw_get_proc_info(). + (_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with + unw_get_proc_info(). - * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops - and align_jumps if not set. - Force align_jumps to be at least 2. - When relaxing, force align_functions to be at least the maximum of - align_loops, align_jumps and 4. - * sh.c (find_barrier, barrier_align): Honour align_jumps_log. - (sh_loop_align): Honour align_loops_log. +2003-03-27 Vladimir Makarov - * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN - to check for indirect_jump_scratch. - (indirect_jump_scratch): Add second set. - * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN - when looking for indirect_jump_scratch. - Extract scratch register taking new structure of indirect_jump_scratch - into account. - (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch. + * config/rs6000/8540.md: Use presence_set instead of absence_set. -Mon Mar 3 19:07:21 CET 2003 Jan Hubicka +2003-03-26 Richard Henderson - * calls.c (rtx_for_function_call): Take the address as an argument - (expand_call): Do not modify the expression. + * c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P. - * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not - optimizing. +2003-03-26 Roger Sayle -2003-03-03 Kazu Hirata + PR bootstrap/10051, PR bootstrap/10169. + * mips-tfile.c (init_file): Don't provide a static initializer. + (initialize_init_file): Initialize the contents of init_file. + (add_file): Call initialize_init_file if not already initialized. - * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to - TARGET_H8300H and TARGET_H8300S. +2003-03-26 Ulrich Weigand -2003-03-03 Kazu Hirata + * config/s390/s390.c (s390_optimize_prolog): Do not save/restore + registers used for global asm variables. + (s390_frame_info, s390_arg_frame_offset): Likewise. + (s390_emit_prologue, s390_emit_epilogue): Likewise. - * config/h8300/h8300.md (a peephole2): New. +2003-03-26 Vladimir Makarov -2003-03-03 Kazu Hirata + * config/rs6000/8540.md: New file. - * config/h8300/h8300.md (*extzv_8_8): Use shorter code when - operands[0] and operands[1] are different. + * config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md, + power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to + reservations for imul. + + * config/rs6000/rs6000.md: Include 8540.md. Change + delayed_compare onto mult_compare for insns generating + multiplication. + (mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv): + New type attribute values. + + * config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type + fpsimple instead of fp. + (*divsf3_gpr): Use type vecfdiv instead of fp. + (spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple + instead of vecfloat. + (spe_evfsdive): Use type vecfdiv instead of vecfloat. + (spe_brinc): Use type brinc instead of veccomplex. + (spe_evaddw, spe_evaddiw): Use type vecsimple instead of + veccomplex. + (spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex. + (*movv2si_internal, *movv1di_internal, *movv4hi_internal, + *movv2sf_internal): Define type attribute values for all + alternatives. + (cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead + of fpcompare. + (tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple + instead of fpcompare. + +2003-03-26 David Edelsohn + + * config/rs6000/power4.md: Allow delay between dispatch and + function units for simple instructions. Correct store units. + Allow branch to occupy as many dispatch slots as necessary. + +2003-03-26 Jakub Jelinek + + * config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment. + (ia64_expand_compare_and_swap): Use always DImode ar.ccv, + zero extend old to it. + * config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv + operand. -2003-03-03 Kazu Hirata +2003-03-26 Eric Botcazou - * reload1.c (reload_cse_move2add): Remove variable success. + PR target/7784 + * reload.c (find_reloads_address): Handle + (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for + all base registers. -2003-03-02 Kaveh R. Ghazi +2003-03-25 Marcelo Abreu - * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid - warnings. + PR other/10203 + * version.c: Reference the GCC web site in the URL. -2003-03-02 Richard Henderson +2003-03-26 Alan Modra - * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test. - * config.in, configure: Rebuild. - * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum. - * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the - paired ldtoffx and ldxmov annotations. - (load_symptr_internal1): Remove. - (load_symptr_high, load_symptr_low): New. + * c-incpath.c (add_standard_paths): Add both "translated" and + non-translated header paths. -2003-03-02 Neil Booth +2003-03-25 Loren James Rittle - * c-incpath.c (add_path): Fix sysp assignment. + * doc/install.texi (*-*-freebsd*): Update with known status. -2003-03-02 Kurt Garloff +2003-03-21 Jason Merrill - * params.def: Introduce parameter max-inline-insns-rtl for - a separate limit for the RTL inliner. - * params.h: Likewise. - * integrate.c (function_cannot_inline_p): Use it. - * toplev.c (decode_f_option): Set multiple parameters - controlling inlining with -finline-limit. - * params.def: Fix orthographic and typographic errors. - * doc/invoke.texi: Document parameters controlling inlining - and the way -finline-limit sets multiple of them. + PR optimization/10171 + * unroll.c (unroll_loop): Don't delete the jump at the end unless + we also delete a jump at the beginning. - * tree.h (struct tree_decl): Introduce inlined_function_flag, - recording whether the function became eligible for inlining - by a compiler flag rather than the declaration. - Provide DID_INLINE_FUNC macro to access it. - * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC. - * cp/decl.c (grokfndecl): Likewise. - * toplev.c (rest_of_compilation): Likewise. - * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC. - * print-tree.c (print_node): Report it. - * params.def: Introduce new max-inline-insns-auto limit. - * params.h: Likewise. - * tree-inline.c (inlinable_function_p): Apply it to functions - with DID_INLINE_FUNC set. - * toplev.c (decode_f_option): Initialize it from -finline-limit - value. - * doc/invoke.texi: Document new parameter. +2003-03-25 Stephane Carrez -2003-03-02 Geoffrey Keating + * doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12 + contributor. - * fix-header.c (read_scan_file): Don't reference simplify_path. +Tue Mar 25 20:35:51 CET 2003 Jan Hubicka -2003-03-02 Stephane Carrez + * i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic + constants are not expensive. - * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable - min/max instructions by default as may result in reload errors. +Mon Mar 24 20:03:03 CET 2003 Jan Hubicka -2003-03-02 Stephane Carrez + PR opt/10056 + * cfglayout.c (fixup_reorder_chain): Fix dealing with the conditional + jump jumping to the next instruction. + * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. - * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to - avoid reload problems; define split for it. +2003-03-25 Gerald Pfeifer -2003-03-02 Stephane Carrez + * doc/passes.texi (Passes): Properly document that we do not + perform jump2 any longer; remove command-line option -dJ. - * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function. - * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare. - * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register. - * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for - rotatert and rotate. - ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns. - ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert. - ("*rotrhi3_addr"): New split for shift insns on address register. - ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split. - * config/m68hc11/larith.asm (___rotlhi3): New asm function. - (___rotrhi3): Likewise. - * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them. +2003-03-25 Eric Botcazou -2003-03-02 Neil Booth + PR optimization/8746 + * config/i386/i386.md (and promoting splitters): Disable HImode to + SImode promoting when the sign bit matters and is not preserved, or + when TARGET_FAST_PREFIX is true. Disable promoting when optimizing + for size. - * toplev.c (aux_base_name): Moved from toplev.h. - (filename): Constify. - (lang_dependent_init): Don't duplicate name. - (process_options): Set aux_base_name here, not... - (do_compile): ...here. Change protoype. - (toplev_main): Move some code from do_compile. - * toplev.h: Remove aux_base_name. +2003-03-24 Kazu Hirata -2003-03-02 Kazu Hirata + * config/h8300/h8300.md (a peephole2): Extend to support loads + in QImode and HImode. - * config/h8300/h8300-protos.h: Add a prototype for - iorxor_operator. - * config/h8300/h8300.c (print_operand): Handle 'c'. - (iorxor_operator): New. - * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator. - * config/h8300/h8300.md (*iorhi3_zext): Remove. - (*iorsi3_zexthi): Likewise. - (*iorsi3_zextsi): Likewise. - (*xorhi3_zextqi): Likewise. - (*xorsi3_zexthi): Likewise. - (*xorsi3_zextsi): Likewise. - (*ixorhi3_zext): New. - (*ixorsi3_zext_qi): Likewise. - (*ixorsi3_zext_hi): Likewise. +2003-03-24 Stephane Carrez -2003-03-02 Neil Booth + * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and + _return_far + (MULTILIB_OPTIONS): Don't multilib on -mlong-calls. + (MULTILIB_EXCEPTIONS): Likewise. + * config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11 + by calling some board support routine. + ("call_value"): Likewise. + ("*return_void"): Likewise for return. + ("*return_16bit"): Likewise. + ("*return_32bit"): Likewise. + * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far + for 68HC11 too. + (DWARF2_ADDR_SIZE): Use 4 so that addresses can + * config/m68hc11/m68hc11.c (m68hc11_override_options): Accept + -mlong-calls for 68HC11. + * config/m68hc11/larith.asm (declare_near): New macro. + (__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it. + (___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise. + (___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise. + (___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise. + (__mulhi32): Likewise. + (ret): Update macro for 68HC11. + (__far_trampoline): Implement for 68HC11. + (__call_a16, __call_a32, __return_void, __return_16): New support + routines for 68HC11 memory bank switching calling support. + (__return_32): Likewise. + +2003-03-24 Neil Booth + + * toplev.c (independent_decode_option): Don't skip a 'Y' prefix. + +2003-03-24 Janis Johnson + + * doc/install.texi (Testing): Mention test result links from build + status pages. + +2003-03-24 Mark Mitchell + + * function.c (put_var_into_stack): Change bool parameter to int. + (gen_mem_addressof): Likewise. + * rtl.h (gen_mem_addressof): Likewise. + * tree.h (put_var_into_stack): Likewise. + * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to + gen_mem_addressof or put_var_into_stack. + * config/c4x/c4x.c (c4x_expand_builtin): Likewise. + * config/ia64/ia64.c (spill_tfmode_operand): Likewise. - * c-incpath.c (remove_component_p, simplify_path): Move back to - cppfiles.c. - (remove_duplicates): Use cpp_simplify_path. - * c-incpath.h (simplify_path): Remove. - * c-lex.c: Don't include c-incpath.h. - (init_c_lex): Remove simplify_path. - * cppfiles.c (remove_component_p, cpp_simplify_path): Restore. - (find_or_create_entry, validate_pch): Revert. +2003-03-24 Kazu Hirata -2003-03-02 Ashif Harji + * config/h8300/h8300.md (a peephole2): New. - * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke - an external cpp during compilation. - (option_map): Likewise. - * objc/lang-specs.h (default_compilers): Similarly. - * doc/invoke.texi: Document -no-integrated-cpp flag. +2003-03-24 Jakub Jelinek -2003-03-02 Kazu Hirata + * dojump.c (do_jump): Handle UNSAVE_EXPR specially. - * config/h8300/h8300.md (zero_extendqisi2): Change to an - expander. - (*zero_extendqisi2_h8300): New. - (*zero_extendqisi2_h8300hs): New. - (two splitters): New. +2003-03-24 Gerald Pfeifer -2003-03-02 Kaveh R. Ghazi + * doc/contrib.texi (Contributors): Update Janis Johnson. - * fp-bit.h (float_to_usi): Fix condition wrapping prototype. +2003-03-23 Eric Botcazou -2003-03-01 Kazu Hirata + PR target/10072 + * combine.c (simplify_if_then_else): Check that the mode + has MODE_INT class before applying the (OP Z (mult COND C2)) + transformation. - * config/h8300/h8300.md (a peephole2): Remove dead code. +2003-03-23 Eric Botcazou -2003-03-01 Roger Sayle + PR optimization/9414 + * config/sparc/sparc.md (widening peepholes): Use + widen_memory_access instead of change_address. - PR c++/9367 - * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro. - (BT_FN_INT_CONST_STRING_VALIST_ARG, - BT_FN_INT_STRING_CONST_STRING_VALIST_ARG, - BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG, - BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG, - BT_FN_INT_STRING_CONST_STRING_VAR, - BT_FN_INT_CONST_STRING_CONST_STRING_VAR, - BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types. - * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2, - ATTR_NONNULL_3): Also include the nothrow attribute. - (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf, - vsnprintf, vscanf, vsscanf): Don't define attributes here. - * builtins.def (putchar, puts): Make full C89 built-ins. - (snprintf, sprintf, scanf, sscanf, vprintf, vscanf, - vsscanf, vsnprintf, vsprintf): New built-ins. - * c-common.c (c_common_nodes_and_builtins): Handle new macro - DEF_FUNCTION_TYPE_VAR_3. +2003-03-23 Mark Mitchell - * doc/extend.texi: Document these new built-in functions. + PR c++/7086 + * c-typeck.c (c_mark_addressable): Adjust calls to + put_var_into_stack. + * expr.c (expand_expr): Likewise. + * function.c (put_var_into_stack): Add rescan parameter. Do not + call fixup_var_refs when rescan is false. + (gen_mem_addressof): Likewise. + (assign_parms): Adjust calls to put_var_into_stack. + (setjmp_protect): Likewise. + (setjmp_protect_args): Likewise. + * rtl.h (gen_mem_addressof): Change prototype. + * stmt.c (expand_decl): Adjust calls to put_var_into_stack. + * tree.h (put_var_into_stack): Change prototype. -2003-03-01 Kazu Hirata +2003-03-23 Arpad Beszedes - * config/h8300/h8300.md (a peephole2): New. + PR middle-end/9967 + * builtins.c (expand_builtin_fputs): When optimizing for size, + don't transform fputs into fwrite. -2003-03-01 Richard Earnshaw +2003-03-23 Glen Nakamura - * predict.c (estimate_bb_frequencies): Correctly set - real_values_initialized after initialization. + PR c/8224 + * fold-const.c (extract_muldiv_1): Don't pass through type conversions + when signedness changes for division or modulus. -2003-03-01 Neil Booth +2003-03-24 Alan Modra - * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS, - cppinit.o, cppdefault.o, fix-header): Update. - * c-incpath.c: New file. - * c-incpath.h: New file. - * c-lex.c: Include c-incpath.h. - (init_c_lex): Register path simplifier. - * c-opts.c: Include cppdefault.h and c-incpath.h. - (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc, - std_cxx_inc, quote_chain_split, add_prefixed_path): New. - (COMMAND_LINE_OPTIONS): Add more options from cpplib. - (missing_arg, c_common_decode_option): Handle them. - (c_common_post_options): Register include chains. - (print_help): Update. - * cppdefault.h (struct default include): Update. - Move some macros to ... - * cppdefault.c: ... here. - (cpp_include_defaults): Add extra field add_sysroot. - * cppfiles.c (include_file, search_from, find_or_create_entry, - cpp_included, find_include_file, remap_filename): Update for - renaming of search_path to cpp_path, and of the chain headers. - (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c. - * cpphash.h (struct search_path): Move to cpplib.h. - (struct cpp_buffer, struct cpp_reader): Update. - (_cpp_simplify_pathname): Remove. - * cppinit.c: Don't include prefix.h and cppdefault.h. - (INO_T_EQ, INO_T_COPY, path_include, append_include_chain, - remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs, - init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir, - no_pth, cpp_handle_options): Remove. - (struct pending_option): Remove chain members. - (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS, - cpp_handle_option): Update. - * cpplib.h (struct cpp_path, cpp_set_include_chains): New. - (struct cpp_options): Remove quote_include, bracket_include, - include_prefix, include_prefix_len, verbose, ignore_srcdir, - no_standard_includes, no_standard_cplusplus_includes. - (struct cpp_callbacks): Add simplify_path. - (cpp_handle_options): Remove. - * fix-header.c: Include c-incpath.h. - (read_scan_file): Update to use c-incpath functionality. - * doc/passes.texi: Update. + * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary + globalize_label. -2003-03-01 Kazu Hirata +2003-03-23 Roger Sayle - * config/h8300/h8300.c (bit_operand): Accept MEM only if it - satisfies EXTRA_CONSTRAINT 'U'. + PR c/10178 + * stmt.c (expand_end_case_type): Check for overflow in range when + determining whether to use a bit-test implementation. -2003-03-01 Kazu Hirata +2003-03-23 Richard Henderson - * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch - register. - (*tst_extzv_memqi_1_n): Change to a splitter. - (a peephole2): Update. + * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps + before flow2. + * cfgrtl.c (try_redirect_by_replacing_jump): Similarly. -2003-03-01 Richard Earnshaw +2003-03-23 Richard Henderson - * predict.c (estimate_bb_frequencies): Initialize the sreal - constants once per compilation. + PR opt/10116 + * ifcvt.c (find_if_block): Disallow tablejump insns outgoing + from then_bb or else_bb after flow2. -2003-02-28 Richard Henderson +2003-03-23 Zack Weinberg - * toplev.c (flag_eliminate_unused_debug_types): Enable by default. + * configure.in: Check whether it is necessary to link against + libm to use ldexp. + * configure: Regenerate. + * Makefile.in: Add LDEXP_LIB substitution variable. -2003-02-28 scott snyder +2003-03-23 Kazu Hirata - * flags.h: Add flag_eliminate_unused_debug_types. - * toplev.c: Add flag_eliminate_unused_debug_types. - (f_options): Add -feliminate-unused-debug-types. - * dwarf2out.c (struct file_table): Add emitted member. - (splice_child_die): Fix the parent pointer for the child being - spliced. - (lookup_filename): Maintain file_table.emitted array. Don't - output .file directive here. - (maybe_emit_file): (new) - (init_file_table): Set up file_table.emitted. - (dwarf2out_source_line): Use maybe_emit_file. - (dwarf2out_start_source_file): Use maybe_emit_file. - (dwarf2out_init): Use maybe_emit_file. - (prune_unused_types_walk_attribs): (new) - (prune_unused_types_mark): (new) - (prune_unused_types_walk): (new) - (prune_unused_types_prune): (new) - (prune_unused_types): (new) - (dwarf2out_finish): Call prune_unused_types if - flag_eliminate_unused_debug_types is set. - * doc/invoke.texi (Option Summary): Add - -feliminate-unused-debug-types. - (Debugging Options): Likewise. + * config/h8300/h8300.md: Fix comment typos. -2003-02-28 Geoffrey Keating +2003-03-22 John David Anglin - * doc/invoke.texi: Change .pch to .gch. - * cppfiles.c (open_file_pch): Likewise. - * gcc.c (default_compilers): Likewise. + * pa.c (output_cbranch): Fix typo in comment. -2003-02-28 Aldy Hernandez +2003-03-22 Richard Henderson - * floatlib.c: Remove. + * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution + after reload. -2003-02-28 Jason Merrill +2003-03-22 DJ Delorie , + Bruce Korb - * stor-layout.c (variable_size): Leave a "minus 1" outside the - SAVE_EXPR. + * 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-02-28 David Edelsohn +2003-03-22 Andreas Jaeger - * config/rs6000/power4.md: Add compare bypass. + * config/i386/i386.c (ix86_init_machine_status): Return value. -2003-02-28 Jason Thorpe +2003-03-22 John David Anglin - * config/netbsd.h: Update copyright years. - (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if - -pthread is specified on the command line. + * 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-02-28 Dale Johannesen +2003-03-22 Ulrich Weigand - * loop.c (struct movable): Add insert_temp, shrink savemode. - (scan_loop): Accept invariants that require copying; mark as - insert_temp. - (combine_movables): Don't combine insert_temp movables. - (move_movables): Insert copies for insert_temp movables. - Don't record the info based on regno for insert_temp's. + * 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-02-28 Joel Sherrill +2003-03-22 Kazu Hirata - PR 9638/other - * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the - this constant defaults to 1. + * config/h8300/h8300.c (notice_update_cc): Correctly handle + the case where the set destination is STRICT_LOW_PART. -2003-02-28 Bob Wilson +2003-03-22 Svein E. Seldal - * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file. + * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a + c30 instead of a c40 processor. -2003-02-28 Richard Earnshaw +2003-03-22 Alan Modra - * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any - ARMv5e processor, not just for XScale. Instructions are predicable. - (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e. + * combine.c (simplify_comparison ): Use gen_int_mode. Tidy. -2003-02-28 Nick Clifton +2003-03-21 Zack Weinberg - * config/arm/arm.c (note_invalid_constants): Change parameter type - from bool to int. + * 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-02-28 Kazu Hirata +2003-03-21 Nathanael Nerode - * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the - test of bit 7. - (*tst_extzv_memqi_1_n): Likewise. - (a peephole2): New. + * config.gcc: Remove 'float_format'. -2002-02-28 Richard Sandiford + * 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 , unconditionally. + * config.gcc: Blow away POSIX defines. - * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in - #ifndef __mips16. +2003-03-22 Stephane Carrez -Fri Feb 28 11:09:14 CET 2003 Jan Hubicka + * config/m68hc11/m68hc11.md ("call_value"): Fix trap check. - * combine.c (gen_lowpart_for_combine): Update handling of - subregs_of_mode - * flow.c (life_analysis, mark_used_regs): Likewise. - * regclass.c (subregs_of_mode): Turn into single bitmap. - (cannot_change-mode_set_regs, invalid_mode_change_p): Update - dealing with subregs_of_mode - * regs.h (subregs_of_mode): Update prototype. +2003-03-22 Stephane Carrez -2003-02-28 Josef Zlomek + * 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. - * emit-rtl.c (set_reg_attrs_for_parm): New function. - * rtl.h (set_reg_attrs_for_parm): New exported function. - * function.c (assign_parms): Use set_reg_attrs_for_parm instead of - set_reg_attrs_from_mem. +2003-03-21 Jan Hubicka -2003-02-27 Roger Sayle - Zack Weinberg + * 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. - * gcc.c (do_spec_1): Treat %U like %u for unique associations. +2003-03-21 Jan Hubicka -2003-02-27 Kazu Hirata + 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. - * reload1.c (sext_for_mode): Remove. - (reload_cse_move2add): Use trunc_int_for_mode instead of - sext_for_mode. - (move2add_note_store): Likewise. - Reset register information if we see a set in non-integer - mode. +2003-03-21 Kazu Hirata -2003-02-27 David Edelsohn + * combine.c (make_field_assignment): Fix a warning. - * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu - option. - (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630. - * config/rs6000/aix51.h: Same. - * config/rs6000/aix52.h: Same. - * config/rs6000/power4.md: Additional VMX bypasses. +2003-03-21 Kazu Hirata -2003-02-27 Geert Bosch + * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New. - * toplev.c (print_version): Add indentation for GGC heuristics and - output after printing version information. +2003-03-21 Dale Johannesen -2003-02-27 James E Wilson + * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Increase + priority for R2 on Darwin. + (HARD_REGNO_MODE_OK): Don't accept R31 for DFmode. - * combine.c (simplify_comparison): Require integral mode when - permuting SUBREG with AND. +2003-03-21 Kazu Hirata -2003-02-27 Steve Ellcey + * combine.c (make_field_assignment): Remove unnecessary AND + when storing into zero_extract. - * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove. +2003-03-21 Zack Weinberg -2003-02-27 Nick Clifton + * 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. - * config/arm/arm.md (extendsfdf2): Add pattern accidentally - deleted when cirrus instructions were added. +2003-03-21 DJ Delorie -2003-02-27 Jason Thorpe + * optabs.c (init_integral_libfuncs): Make sure we init at least up + to "long long" size words. - * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable - POSIX thread support by default. +2003-03-21 Ulrich Weigand -2003-02-27 Roger Sayle + * 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. - * config/i386/cygwin.h: Don't include any other files directly. - * config/i386/mingw32.h: Don't include cygwin.h directly. - * config.gcc (cygwin, mingw32, uwin): Instead make these files - explicit in the tm_files variable. +2003-03-21 Volker Reichelt -2003-02-27 Alan Modra + PR doc-bug/9813 + * doc/extend.texi: Move misplaced paragraph about underscores in + variables in macros. - * config/rs6000/rs6000.md: Add TI constant splitter. +2003-03-21 Eric Botcazou + Richard Henderson -2003-02-26 Alexandre Oliva + 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 + + * config/stormy16/stormy16.c (xstormy16_expand_arith): Make + sure we always emit at least one insn. + +2003-03-21 Christopher Faylor + + * 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 + + * 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 + Merge changes from new-regalloc-branch + + From Michael Matz + * 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 + + PR middle-end/6348 + * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE + different from word_mode. + +2003-03-20 Kazu Hirata + + * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the + source operand to those that can be extracted with bld. **** TRUNCATED ****