X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=2300ba8363c7b373257679cfe655ac406bd6138d;hb=468f253591aa3cdd12f2b3ebe119ef496164c2c2;hp=6a17614101724f84a9770381447246fa77b13d91;hpb=d13344c88bab38138008d750ffd2ba1d41c2fe7f;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6a176141017..2300ba8363c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,729 @@ +2003-09-23 Rainer Orth + + * config.host: Removed superfluous newline. + +2003-09-23 Nathanael Nerode + + * config.gcc: Use ${target}, not $machine. + * configure.in: Don't set $machine. + * configure: Regenerate. + +2003-09-23 Geoffrey Keating + + * config/rs6000/rs6000.c (function_arg_pass_by_reference): Don't + pass zero-size arrays by reference. + (rs6000_va_arg): Likewise. + +2003-09-23 Nathanael Nerode + + * config.gcc: Set use_fixproto=no in each specific *-gnu* + configuration, rather than the generic one. + +2003-09-23 Richard Henderson + + * tree-inline.c (remap_save_expr): Map new save_expr to identity + rather than to error_mark_node. + +2003-09-23 Rainer Orth + + * configure.in (HAVE_GAS_SHF_MERGE): Always define to test result. + Update description. + * configure: Regenerate. + * config.in: Likewise. + * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for + HAVE_GAS_SHF_MERGE value. + * varasm.c (mergeable_string_section): Likewise. + (mergeable_constant_section): Likewise. + +2003-09-23 Rainer Orth + + * except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO + value. + +2003-09-23 Rainer Orth + + * target.h (struct gcc_target): New member external_libcall. + * target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default. + (TARGET_ASM_OUT): Use it. + * doc/tm.texi (TARGET_ASM_EXTERNAL_LIBCALL): Document. + * targhooks.c: Convert to ISO C 90. + (default_external_libcall): New function. + * targhooks.h (default_external_libcall): Declare. + * varasm.c (assemble_external_libcall): Use + targetm.asm_out.external_libcall instead of + ASM_OUTPUT_EXTERNAL_LIBCALL. + * config/mips/mips-protos.h [TARGET_IRIX5 || TARGET_IRIX 6] + (mips_output_external_libcall): Declare. + * config/mips/mips.c (mips_output_external_libcall): Change + definition guard. + Change to match TARGET_ASM_EXTERNAL_LIBCALL. + Only operate for O32 ABI. + * config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Define + instead of ASM_OUTPUT_EXTERNAL_LIBCALL. + * config/mips/iris6.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Don't undef, + superceded by TARGET_ASM_EXTERNAL_LIBCALL. + +2003-09-22 Nathnael Nerode + + * config.gcc: Do per-target disabling of fixproto here in clauses, + not in t- fragments. + * configure.in: Adjust to set STMP_FIXPROTO correctly. + * configure: Regenerate. + * config/arm/t-semi, config/cris/t-cris, config/i386/t-beos, + config/i386/t-cygming, config/i386/t-nto, config/ia64/t-hpux, + t-freebsd, t-linux, t-netbsd, t-openbsd, t-rtems, t-vxworks, + xtensa/t-xtensa: Remove setting of STMP_FIXPROTO. + * config/i370/t-oe, config/i386/t-netware, config/pa/t-bsd, + t-interix, t-linux-aout: Delete files consisting only of + setting of STMP_FIXPROTO. + + * config.host: Allow unknown hosts (not targets). Allow + ns32k-*-netbsdelf* as a host (not a target). Remove redundant + empty clauses. Remove useless obsolete-configuration clause. + Prune unsupported configuration list. Collapse identical + clauses for closely related systems. Rewrite comment for + unsupported hosts list. Reorganize a little. + +2003-09-22 Richard Henderson + + * c-common.c (c_common_signed_or_unsigned_type): Examine mode, + not precision. + +2003-09-22 David Edelsohn + Hartmut Penner + Segher Boessenkool + + * config/rs6000/rs6000.c (altivec_in_gprs_p): Rename to ... + (gpr_or_gpr_p): Test INT_REGNO_P and convert to boolean. + (rs6000_split_altivec_in_gprs): Rename to ... + (rs6000_split_multireg_move): Add support for update addressing. + * config/rs6000/rs6000-protos.h: Same. + * config/rs6000/altivec.md: Same. + * config/rs6000/rs6000.md (movdi_internal32): Use new splitter for + multiple GPRs. + (movti): Remove TARGET_STRING || TARGET_POWERPC64 final condition. + (movti_power): Use new splitter for multiple GPRs. + (movti_string): Same. + (movti_ppc64): Same. + +2003-09-22 Bob Wilson + + * config/xtensa/xtensa-protos.h: Convert to ISO C90. + * config/xtensa/xtensa.c: Convert to ISO C90. Minor formatting fixes. + +2003-09-22 Alexandre Oliva + + * config/mn10300/mn10300.md: Revert 2003-09-17's patch. + (andsi3): Set attr cc to set_zn when using shifts or adds. + +2003-09-22 Bernardo Innocenti + + * doc/contrib.texi: Add Peter Barada, Paul Dale and myself. + +2003-09-22 Bernardo Innocenti + + * config/m68k/m68k.h (MASK_RTD, TARGET_RTD, RETURN_POPS_ARGS): + Resurrect -mrtd option. + +2003-09-21 Andrew Pinski + + PR target/12281 + * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Call + mark_referenced instead of setting TREE_SYMBOL_REFERENCED. + +2003-09-22 Olivier Hainque + + PR target/9786 + * reg-stack.c (convert_regs_1): Purge possible dead eh edges + after potential deletion of trapping insn. Avoids later ICE + from call to fixup_abnormal_edges. + (convert_regs_2): Stack the current block successors before + processing this block, that is, before the potential deletion of + dead edges by convert_regs_1, because these edges have been used + to initialize the predecessors count. + +2003-09-22 Eric Botcazou + + * real.c: Fix several nits in the head comment. + +2003-09-21 Richard Henderson + + * tree.h c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c, + diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c, + print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c, + tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c, + config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Revert. + +2003-09-21 Richard Henderson + + * tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const. + (TREE_FILENAME, TREE_LINENO): Likewise. + (set_tree_locus, copy_tree_locus, set_tree_file_line): New. + (TREE_LOCUS_SET_P): New. + * c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c, + diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c, + print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c, + tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c, + config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match. + +2003-09-21 Nathanael Nerode + + * config/vax/vax-protos.h: Convert to ISO C90. + * config/vax/vax.c: Convert to ISO C90. + +2003-09-21 Graham Stott + + PR target/12353 + * config/i386/i386.md(ffs_no_cmove): Fix operand 2 constraint. + +2003-09-21 Eric Botcazou + + PR target/12301 + * reorg.c (stop_search_p): Return 1 for insns that can + throw internally. + +2003-09-20 Richard Henderson + + * c-format.c (gcc_diag_char_table): Add %J. + (gcc_cdiag_char_table, gcc_cxxdiag_char_table): Likewise. + (check_format_types): Fix wanted_type name lookup. + (init_dynamic_diag_info): Setup %J. + * diagnostic.c (text_specifies_location): Implement %J. + * c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, calls.c, + dwarfout.c, expr.c, function.c, stmt.c, stor-layout.c, toplev.c, + tree-inline.c, tree-optimize.c, varasm.c, config/arm/pe.c, + config/i386/winnt.c, config/ia64/ia64.c, config/mcore/mcore.c, + config/v850/v850.c, objc/objc-act.c: Use %J in diagnostics. + + * tree-inline.c: Include intl.h + (inline_forbidden_p_1): Fix i18n of inline_forbidden_reason. + * Makefile.in (tree-inline.o): Update. + +2003-09-20 Roger Sayle + + * config/i386/i386.c (ix86_expand_carry_flag_compare): Fix + transformation of a>=0 into (unsigned)a<0x80000000. + +2003-09-20 Andrew Pinski + + * config/darwin.c (machopic_select_rtx_section): Fix check for PIC code. + +2003-09-20 Nathanael Nerode + + * Makefile.in: Don't set (unused) DLLTOOL. + + * config/arm/t-linux, config/arm/t-netbsd, config/arm-t-semi: + Remove obsolete references to ENQUIRE. + +2003-09-19 Nathanael Nerode + + * configure.in: Remove --with-elf, which doesn't work. + * configure: Regenerate. + * config.gcc: Remove references to $elf, which does nothing. + + * config/i386/xm-vsta.h: Remove xm-file believed useless. + * config.build (i386-vsta): Remove reference to it. + * config.host (i386-vsta): Remove reference to it. + +2003-09-19 Phil Edwards + + * doc/install.texi: Document the multiple testsuite options. + +2003-09-19 Gerald Pfeifer + + * doc/install.texi (Specific): Add the specific versions of GCC + where support for FreeBSD 1, HP-UX version 9 and older, and AIX + version 3 and older was discontinued. + +2003-09-19 Joel Sherrill + + * config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to + 68881. + +2003-09-19 Bernardo Innocenti + + * config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines + for -m68030, -m68020-60 and -m68020-40. + * config/m68k/m68k.h (TARGET_68030): New target flag. + * config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM, + TARGET_REGPARM): Remove. + * config/m68k/m68k.h: Regroup and renumber target flags. + * config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations. + * config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0. + * config/m68k/m68k.h (FUNCTION_ARG): Likewise. + * config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise. + * config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros. + +2003-09-19 Ralf Corsepius + + * config/m68k/t-rtems (m68k-*-rtems*): New. + * config.gcc: Use config/m68k/t-rtems. + +2003-09-19 Ralf Corsepius + + * config/mips/t-rtems: New. + * config.gcc (mips*-*-rtems*): Use config/mips/t-rtems. + +2003-09-19 Kelley Cook + + * cgraph.c: Fix typo in debugging output. + +2003-09-19 T. Papadopoulo + Eric Botcazou + + PR target/12166 + * config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1. + +2003-09-18 Mike Stump + + * c-ppoutput.c (print): Use fileline typedef for field 'line'. + (print_line, maybe_print_line, cb_define, cb_undef, cb_include, + cb_ident, cb_def_pragma): Use fileline typedef. + * cpphash.h (struct cpp_reader): Likewise for field out.first_line. + +2003-09-18 Danny Smith + + * config/i386/winnt.c (gen_stdcall_suffix): Quit summation of + total parm size if a parm has incomplete type. + (gen_fastcall_suffix): Likewise. + +2003-09-18 Richard Kenner + + * except.c (output_function_exception_table): Adjust last change + to handle TYPE of INTEGER_CST. + +2003-09-18 Mark Mitchell + + PR target/11184 + * builtins.c (expand_builtin_apply): Use convert_memory_address + before returning the value. + + * alias.c (find_base_value): Simplify use of + convert_memory_address. + (find_base_term): Likewise. + * builtins.c (expand_builtin_stejmp_setup): Likewise. + (expand_builtin_longjmp): Likewise. + (expand_builtin_prefetch): Likewise. + (get_memory_rtx): Likewise. + (expand_builtin_return): Likewise. + (expand_builtin_memcpy): Likewise. + (expand_builtin_strncpy): Likewise. + (expand_builtin_memset): Likewise. + (expand_builtin_va_arg): Likewise. + (expand_builtin_va_copy): Likewise. + (expand_builtin_alloca): Likewise. + * calls.c (expand_call): Likewise. + * except.c (expand_builtin_extract_return_addr): Likewise. + (expand_builtin_eh_return): Likewise. + * explow.c (convert_memory_address): Define even when + POINTER_EXTEND_UNSIGNED is not defined. Do nothing if the address + is already in the right mode. + * explow.c (memory_address): Simplify use of convert_memory_address. + (probe_stack_range): Likewise. + * expmed.c (make_tree): Likewise. + * expr.c (emit_block_move_in_libcall): Likewise. + (expand_assignment): Likewise. + (expand_expr): Likewise. + * function.c (assign_parms): Likewise. + (expand_function_end): Likewise. + * integrate.c (copy_rtx_and_substitute): Likewise. + * stmt.c (expand_computed_goto): Likewise. + +2003-09-18 Roger Sayle + + * simplify-rtx.c (simplify_unary_operation): Only transform + (not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE + is -1. RTL "not" is a bit-wise not, "~", not a logical not "!". + +2003-09-18 Zdenek Dvorak + + PR target/11674 + * config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand. + +2003-09-18 Roger Sayle + + * tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, + PARITY_EXPR): Delete unused tree codes. + * c-common.c (c_common_truthvalue_conversion): Delete references + to FFS_EXPR and POPCOUNT_EXPR. + * c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR. + (pp_c_expression): Likewise. + * expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR, + CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR. + * fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR, + CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR. Add support for calls to + BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long + and long long variants. + +2003-09-18 Gabriel Dos Reis + + * c-pretty-print.h (pp_type_specifier_seq): Fix thinko. + * c-pretty-print.c: Fix formatting. + (pp_c_integer_constant): Append type annotation to literals. Tidy. + (pp_c_type_specifier): Tidy. + (pp_c_compound_literal): New function. + (pp_c_initializer): Simplify.. + (pp_c_initializer_list): Likewise. + (pp_c_brace_enclosed_initializer_list): New function. + (pp_c_postfix_expression): Simplify. + +2003-09-17 Alexandre Oliva + + * config/mn10300/mn10300.md (andsi3, iorsi3, xorsi3, + one_complsi2, bit-clear, bit-set, iorqi3): Make them set_zn. + +2003-09-17 Richard Henderson + + * tree-optimize.c (tree_rest_of_compilation): Save and restore + input_location. + +2003-09-17 Daniel Jacobowitz + + * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. + +2003-09-17 Richard Henderson + + * cfg.c (dump_flow_info): Skip register dump if reg_n_info null. + +2003-09-17 Rainer Orth + + * configure.in (gcc_cv_ld_hidden): Don't test gnu_ld_flag. + * configure: Regenerate. + +2003-09-17 Mark Mitchell + + PR debug/12066 + * dbxout.c (dbxout_init): Use a langhook to find builtin types. + * langhooks-def.h (lhd_return_null_tree_v): New function. + (LANG_HOOKS_BUILTIN_TYPE_DECLS): New macro. + (LANG_HOOKS_DECLS): Add it to the intializer. + * langhooks.c (lhd_return_null_tree_v): New function. + * langhooks.h (lang_hooks_for_decls): Add builtin_type_decls. + +2003-09-17 Daniel Jacobowitz + + * configure.in: Quote gcc_config_arguments for configargs.h. + * configure: Regenerated. + * gccbug.in: Don't shell-expand gcc_config_arguments. + +2003-09-17 Gabriel Dos Reis + + PR c++/11357 + * c-pretty-print.c (pp_c_floating_constant): Append + type-annotation to floating constants. + +2003-09-17 Rainer Orth + + * config/mips/iris5.h (TARGET_OS_CPP_BUILTINS): Define _LONGLONG. + Define _ABIO32. + Use it for _MIPS_SIM. + * config/mips/iris6-o32.h (TARGET_OS_CPP_BUILTINS): Removed. + + * config/mips/iris6-o32-as.h (SUBTARGET_ASM_OPTIMIZING_SPEC): + Moved ... + * config/mips/iris5.h (SUBTARGET_ASM_OPTIMIZING_SPEC): ... here, + updating comment. + Fixes PR target/10190. + +2003-09-17 Daniel Jacobowitz + + * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply + to shared libraries. + +2003-09-17 Eric Botcazou + + PR optimization/11646 + * cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the + EDGE_ABNORMAL flag for EH edges. + * toplev.c (rest_of_handle_cse): Delete unreachable blocks + if dead edges were purged. + +2003-09-16 Bernardo Innocenti + + * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Add target predefines. + * config/m68k/m68k-none.h (CPP_CPU_DEFAULT_SPEC): Kill all definitions. + * config/m68k/m68k-none.h (CPP_FPU_SPEC): Remove. + * config/m68k/m68k-none.h (CPP_SPEC): Likewise. + +2003-09-16 Ian Lance Taylor + + * cfgcleanup.c (label_is_jump_target_p): Correct use of table + returned by tablejump_p. + +2003-09-16 Joel Brobecker + + * dwarf2asm.c (dw2_asm_output_nstring): Add comment. + +2003-09-16 Roger Sayle + + PR bootstrap/12269 + * simplify-rtx.c (simplify_gen_relational): Allow the cmp_mode + argument to be VOIDmode, taking the mode of the comparison from + the operands. Only call simplify_relational_operation if we + know the mode of the comparison. Honor FLOAT_STORE_FLAG_VALUE + if comparison has a floating point result. Ensure that the + result is always of the specified mode. + (simplify_replace_rtx): Simplify call to simplify_gen_relational. + (simplify_unary_operation): Ensure the correct mode and cmp_mode + are always passed to simplify_gen_relational. Simplify NOT of + comparison operator in any mode, not just BImode. + (simplify_ternary_operation): Correct tests on the return value + of simplify_relational_operation to use const_true_rtx, not + const1_rtx. Abort if it ever returns a non-constant result. + + * cfgloopanal.c (count_strange_loop_iterations): Use the function + simplify_relational_operation, not simplify_gen_relational, if + we're only interested in constant comparisons and will ignore + non-constant results. + +2003-09-16 Roger Sayle + + * fold-const.c (tree_swap_operands_p): New function to determine + the prefered ordering of operands. + (fold): Numerous clean-ups. Use tree_swap_operands_p when swapping + operands to commutative, comparison or ternary operators. Replace + uses of TREE_SET_CODE with recursive call to fold. Remove duplicate + transformation of A ? B : C into !A ? C : B. + +2003-09-16 Jakub Jelinek + + * config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + * config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + * config/arm/linux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + * config/rs6000/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + * config/rs6000/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + * config/sh/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + * config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + * config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + +2003-09-16 Jason Merrill + Jakub Jelinek + + * c-common.c (handle_warn_unused_result_attribute): New function. + (c_common_attribute_table): Add warn_unused_result. + (c_expand_expr): Issue warning when result of inlined function + with warn_unused_result attribute is ignored. + * calls.c (expand_call): Issue warning when result of function + with warn_unused_result attribute is ignored. + * c-common.h (STMT_EXPR_WARN_UNUSED_RESULT): Define. + * expr.c (expr_wfl_stack): Define. + (expand_expr) : If ignore, + pass const0_rtx as target. Chain locations into expr_wfl_stack. + * tree-inline.c (expand_call_inline): Set STMT_EXPR_WARN_UNUSED_RESULT + bit if inlined function has warn_unused_result attribute. + * input.h (expr_wfl_stack): Declare. + * doc/extend.texi: Document warn_unused_result attribute. + +2003-09-15 Alexandre Oliva + + * cpplib.c (do_pragma): Remove unnecessary cb_line_change. + +2003-09-15 Bob Wilson + + * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add + ATTRIBUTE_UNUSED. + (call_insn_operand): For PIC, don't allow a direct call to a + function in a different section than the current one. + +2003-09-16 Volker Reichelt + + * doc/invoke.texi (Warning Options): Add missing hyphen before + "Wimport". Change "-Wno-endif-labels" to "-Wendif-labels". + Move "-Wold-style-definition" to the C-only section. + Fix the ordering of the warning options. + +2003-09-15 Zdenek Dvorak + Jeff Law + + * gcse.c (remove_reachable_equiv_notes): New. + replace_store_insn): Call it. Update antic list. + (store_killed_in_insn): Take REG_EQUAL notes into account. + (build_store_vectors, delete_store): Add parameter to + replace_store_insn call. + +2003-09-15 Bob Wilson + + * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use + SYMBOL_REF_LOCAL_P. + +2003-09-15 Kazu Hirata + + * expr.h (DEFAULT_FUNCTION_ARG_PADDING): New. + (FUNCTION_ARG_PADDING): Use DEFAULT_FUNCTION_ARG_PADDING. + * config/ia64/ia64.c (ia64_hpux_function_arg_padding): + Likewise. + * config/m68hc11/m68hc11.c (m68hc11_function_arg_padding): + Likewise. + * config/rs6000/rs6000.c (function_arg_padding): Likewise. + * config/sparc/sparc.c (function_arg_padding): Likewise. + +2003-09-15 Vladimir Makarov + + * haifa-sched.c (schedule_block): Use ready_remove_first instead + of choose_ready for non-dfa insn scheduling. + +2003-09-15 Andreas Jaeger + Kaveh R. Ghazi + + * doc/invoke.texi (Warning Options): Describe -Wold-style-definition. + * c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition. + * c-parse.in: Warn about old-style parameter definition. + * c-common.c: Define warn_old_style_defintion. + * c-common.h: Declare it. + * c.opt: Add Wold-style-defintion. + +2003-09-15 Andreas Jaeger + + * config/rs6000/altivec.h: Convert () prototypes to ISO C90. + * config/rs6000/rs6000.c: Likewise. + +2003-09-12 Zdenek Dvorak + + PR optimization/10914 + * expr.h (get_condition, canonicalize_condition): Declaration changed. + * cfgloopanal.c (simple_loop_exit_p): Add parameter to a get_condition + and canonicalize_condition calls. + * gcse.c (fis_get_condition, delete_null_pointer_checks_1, + delete_null_pointer_checks): Ditto. + * ifcvt.c (noce_get_alt_condition, noce_get_condition): Ditto. + * predict.c (estimate_probability, expected_value_to_br_prob): Ditto. + * loop.c (check_dbra_loop, get_condition_for_loop): Ditto. + (canonicalize_condition, get_condition): Allow to return comparisons + of cc mode registers. + * loop-unswitch.c (may_unswitch_on_p, unswitch_single_loop): Allow + cc mode registers comparison in condition. + +2003-09-12 Mark Mitchell + + * coverage.c (create_coverage): Do not call pushlevel/poplevel. + * langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New + function. + * langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it. + +2003-09-14 Kazu Hirata + + * combine.c (simplify_comparison): Convert + (ne (and (lshiftrt (xor X CST) Y) 1) 0) into + (eq (and (lshiftrt X Y) 1) 0). + +2003-09-14 Kazu Hirata + + * alias.c: Follow spelling conventions. + * cpphash.h: Likewise. + * fold-const.c: Likewise. + +2003-09-14 Alexandre Oliva + + * c-ppoutput.c (cb_line_change): Revert 2003-08-04's change. + * c-lex.c (cb_line_change): Skip line changing whenever + c-ppoutput.c would. + +2003-09-14 Steven Bosscher + + * ra.c: Convert to ISO C90 prototypes. + * ra-build.c: Likewise. + * ra-colorize.c: Likewise. + * ra-debug.c: Likewise. + * ra-rewrite.c: Likewise. + +2003-09-14 Richard Sandiford + + * Makefile.in (%.dvi): Remove excess $(docdir). + +2003-09-14 Richard Sandiford + + * function.c (STACK_BYTES): Move definition to head of file. + (assign_parms): Don't pass current_function_pretend_args_size + directly to SETUP_INCOMING_VARARGS. For partial register arguments, + round current_function_pretend_args_size up to STACK_BYTES. Skip any + excess before laying out the argument. + +2003-09-14 Andreas Jaeger + + * objc/objc-act.c: Convert to ISO C90 prototypes. + * objc/objc-act.h: Likewise. + +2003-09-14 Olaf Hering + + * config/rs6000/rs6000.c: Fix typo: Remove extra ')'. + +2003-09-13 Andrew Pinski + + PR target/12021 + * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Remove the asserts + as they already are done in config/m68k/m68k.h. + * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Likewise + + * config/rs6000/rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove. + (machopic_output_stub): Only generate pic base symbols when using pic + and generate them in the form L00000000$spb. + +2003-09-13 Richard Henderson + + * cgraphunit.c (cgraph_assemble_pending_functions): Export. + (cgraph_finalize_function): Revert TREE_ASM_WRITTEN check. + * cgraph.h: Update. + +2003-09-12 Dale Johannesen + + * config/rs6000/rs6000.c: Fix typos in previous. + +2003-09-12 Ziemowit Laski + + * pretty-print.c (pp_construct): Use xcalloc instead of xmalloc + when allocating pp->buffer. + +2003-09-12 Geoffrey Keating + + * config/darwin.c (machopic_select_rtx_section): Use + const_data_section for things that might require relocation. + +2003-09-12 H.J. Lu + + PR bootstrap/12264 + * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree. + +2003-09-12 Bob Wilson + + * config/xtensa/elf.h (ASM_SPEC): Remove no-density option. Reformat. + * config/xtensa/linux.h (ASM_SPEC): Likewise. + * config/xtensa/xtensa.h (TARGET_SWITCHES): Remove -mbig-endian, + -mlittle-endian, -m[no-]density, -m[no-]abs, -m[no-]addx, -m[no-]mac16, + -m[no-]mul16, -m[no-]mul32, -m[no-]nsa, -m[no-]minmax, -m[no-]sext, + -m[no-]booleans, -mhard-float, -msoft-float, -m[no-]hard-float-div, + -m[no-]hard-float-recip, -m[no-]hard-float-sqrt, and + -m[no-]hard-float-rsqrt options. Delete corresponding MASK_* macros + and redefine corresponding TARGET_* macros with constants from the + xtensa-config.h header. + * doc/invoke.texi (Option Summary, Xtensa Options): Remove documention + for the options listed above. + +2003-09-12 Dale Johannesen + + * config/rs6000/rs6000-protos.h: Use C90 prototypes. + * config/rs6000/rs6000-c.c: Ditto. + * config/rs6000/rs6000.c: Ditto. + * config/rs6000/ sysv4.h: Ditto. + +2003-09-12 Chris Lattner + + * loop.c: Move comments describing BIV's and GIV's to top of file + +2003-09-12 Roger Sayle + + PR optimization/8967 + * alias.c (write_dependence_p): Modify to take an additional constp + argument that controls whether the UNCHANGING_RTX_P flags are used. + (anti_dependence, output_dependence): Adjust write_dependence_p + callers to pass this additional argument, to return the same result. + (unchanging_anti_dependence): New variant of anti_dependence that + ignores the UNCHANGING_RTX_P property on memory references. + * rtl.h (unchaning_anti_dependence): Prototype here. + * flow.c (init_propagate_block): Place fake constant mem writes on + the mem_set_list so that dead writes to const variables are deleted. + (insn_dead_p): Change anti_dependence to unchanging_anti_dependence. + (mark_used_regs): Likewise. + 2003-09-12 Richard Sandiford * config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare. @@ -72,7 +798,7 @@ * combine.c (force_to_mode): Set fuller_mask based only on mask, not op_mode. -Thu Sep 11 01:21:05 CEST 2003 Jan Hubicka +2003-09-11 Jan Hubicka * c-objc-common.c (c_cannot_inline_tree_fn): Warn on why function is not inlinable; do not check @@ -145,7 +871,7 @@ Thu Sep 11 01:21:05 CEST 2003 Jan Hubicka (tree_expr_nonnegative_p): Likewise. * real.h (dconst3, dconst10, dconstthird): New. -Tue Sep 9 22:18:48 CEST 2003 Jan Hubicka +2003-09-09 Jan Hubicka * cgraphunit.c (cgraph_finalize_function): Fix handling of extern inline functions. @@ -157,7 +883,7 @@ Tue Sep 9 22:18:48 CEST 2003 Jan Hubicka * builtins.c (fold_builtin_cabs): Protect the complex argument against multiple evaluation when optimizing cabs* into sqrt*. -Tue Sep 9 15:36:28 CEST 2003 Jan Hubicka +2003-09-09 Jan Hubicka * varasm.c (notice_global_symbol): Properly deal with weak symbols. @@ -230,7 +956,7 @@ Tue Sep 9 15:36:28 CEST 2003 Jan Hubicka New. * doc/extend.texi: Document new builtins. -Tue Sep 9 02:18:06 CEST 2003 Jan Hubicka +2003-09-09 Jan Hubicka * cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated finalization. @@ -354,7 +1080,7 @@ Tue Sep 9 02:18:06 CEST 2003 Jan Hubicka * c-pretty-print.c (pp_c_left_brace): Now a function (pp_c_right_brace): Likewise. -Sun Sep 7 14:50:03 CEST 2003 Jan Hubicka +2003-09-07 Jan Hubicka * cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch. @@ -440,7 +1166,7 @@ Sun Sep 7 14:50:03 CEST 2003 Jan Hubicka * expmed.c (expand_divmod ): Use an unsigned multiplication to implement division by constant integer. -Fri Sep 5 07:35:16 CEST 2003 Jan Hubicka +2003-09-05 Jan Hubicka * opts.c (decode_options): Enable unit-at-a-time at -O2. * params.def (max-inline-insns-single): Set to 500 @@ -553,7 +1279,7 @@ Fri Sep 5 07:35:16 CEST 2003 Jan Hubicka (*divdf3): New pattern. (*divsf3): Ditto. -Thu Sep 4 10:43:24 CEST 2003 Jan Hubicka +2003-09-04 Jan Hubicka * toplev.c (wrapup_global_declarations): Fix final pass in unit-at-atime mode. @@ -761,7 +1487,7 @@ Thu Sep 4 10:43:24 CEST 2003 Jan Hubicka * config/sol2.h (NO_IMPLICIT_EXTERN_C): Update comment. -Wed Sep 3 16:55:25 CEST 2003 Jan Hubicka +2003-09-03 Jan Hubicka * Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency. * c-decl.c (finish_function): Kill arguments, always use cgraph path. @@ -1700,7 +2426,7 @@ Wed Sep 3 16:55:25 CEST 2003 Jan Hubicka (finish_struct): If not removing type from incomplete list, update prev. -Wed Aug 20 12:08:55 CEST 2003 Jan Hubicka +2003-08-20 Jan Hubicka PR target/11369 * i386.c (ix86_expand_carry_flag_compare): Validate operand. @@ -3542,7 +4268,7 @@ Wed Aug 20 12:08:55 CEST 2003 Jan Hubicka * fold-const.c (fold): Fold some comparisons of bit operations. -Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka +2003-07-31 Jan Hubicka * cgraph.c (create_edge): Fix typo. * i386.c (pic_symbolic_operand): Reorder tests. @@ -3622,7 +4348,7 @@ Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka (all insns and expanders): Write output control string as brace block where appropriate. Remove \-escapes for doublequote characters. -Thu Jul 31 01:04:19 CEST 2003 Jan Hubicka +2003-07-31 Jan Hubicka * gcse.c (insert_store): Fix typo in previous patch. @@ -3657,7 +4383,7 @@ Thu Jul 31 01:04:19 CEST 2003 Jan Hubicka * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset symbolically. -Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka +2003-07-30 Jan Hubicka * gcse.c (insert_store): Ignore fake edges. @@ -3819,7 +4545,7 @@ Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka * configure: Regenerate. -Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka +2003-07-29 Jan Hubicka PR C++/11131 * tree-inline.c (expand_call_inline): Always call inlinable_function_p @@ -3873,7 +4599,7 @@ Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka -Wdeclaration-after-statement. (Warning Options): Ditto. -Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka +2003-07-28 Jan Hubicka * i386.md (memory attribute) Avoid accessing uninitialized memory for ishift1 type instructions. @@ -4338,7 +5064,7 @@ Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka * config/i386/i386.md (*movsi_or): Likewise. (*movdi_or_rex6): Likewise. -Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka +2003-07-22 Jan Hubicka * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if. @@ -4639,12 +5365,12 @@ Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p to skip the addr_vec. -Fri Jul 18 15:22:28 2003 Alexandre Oliva +2003-07-18 Alexandre Oliva * combine.c (combinable_i3pat): Don't forbid occurrences of i2dest or i1dest in inner_dest if inner_dest is a mem. -Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka +2003-07-18 Jan Hubicka * cgraph.c (cgraph_remove_node): Clear the hash table slot. @@ -5139,7 +5865,7 @@ objc: * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST. (get_object_reference): Likewise. -Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka +2003-07-14 Jan Hubicka * cfglayout.c (locator_file): Break out from .... (insn_file): ... here. @@ -5437,12 +6163,12 @@ Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka * ra.h: Likewise. * protoize.c: Likewise. -Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka +2003-07-12 Jan Hubicka * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix warning. -Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka +2003-07-12 Jan Hubicka Gerald Pfeifer * cgraph.c (cgraph_max_uid): New global variable. @@ -5928,7 +6654,7 @@ Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka * (movsf): Likewise. * (movdi): Likewise. * (movdf): Likewise. - Wed May 24 13:16:09 2000 Alexandre Oliva + 2000-05-24 Alexandre Oliva * config/mn10300/mn10300.c (fp_regs_to_save): New function. (can_use_return_insn, initial_offset): Add fp_regs_to_save. (expand_prologue, expand_epilogue): Save and restore FP regs. @@ -6036,7 +6762,7 @@ Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka * doc/install.texi (Configuration): Document the valgrind option to --enable-checking. -Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka +2003-07-09 Jan Hubicka * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New. @@ -6111,7 +6837,7 @@ Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka * config/i386/i386.md: Remove an old comment about NOTICE_UPDATE_CC. -Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka +2003-07-09 Jan Hubicka * cgraph.c (cgraph_node_name): New function. (dump_cgraph): Use it. @@ -6167,7 +6893,7 @@ Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka Use attr `special' macros in all calls to make_internal_attr. * genautomata.c: Likewise. -Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka +2003-07-09 Jan Hubicka * c-common.c (c_estimate_num_insns_1): New static function. (c_estimate_num_insns): New global function. @@ -6536,7 +7262,7 @@ Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add comment about confused support for XFmode constants. -Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka +2003-07-07 Jan Hubicka * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables. @@ -6830,7 +7556,7 @@ Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka * cppcharset.c: Use the correct return type for the fallback iconv macro. -Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak +2003-07-05 Zdenek Dvorak Blame to Jan Hubicka * cfglayout.c (record_effective_endpoints): Split insns before @@ -7130,7 +7856,7 @@ Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak SPARC_INT_ARG_MAX to determine where to split unnamed complex FP arguments. -Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka +2003-07-03 Jan Hubicka * basic-block.h (create_basic_block, merge_blocks_nomove): Kill. * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move. @@ -7425,7 +8151,7 @@ Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka (exception_receiver): Explicitly set $28. (hazard_nop): New pattern. -Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka +2003-07-02 Jan Hubicka * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl before calling tree_inlinable_function_p. @@ -7474,7 +8200,7 @@ Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka * config/mips/iris6.h: Move explicit includes ... * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here. -Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka +2003-07-02 Jan Hubicka * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node, cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls): @@ -7483,7 +8209,7 @@ Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka (cgraph_varpool_node): Add next_needed; remove aux. * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed. -Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka +2003-07-02 Jan Hubicka * cgraphunit.c (cgraph_finalize_function): Set finalized. (cgraph_finalize_function): Do not examine inlinablility.