X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=87d56d45330ee86f4cb93c6ff9c7e714ae1ee523;hb=7093ff41e72f8f89b3fd38766ca755bb1a2b3859;hp=b80e0152e7a8d3e6ad8b02fc86f3228dcbb66cb0;hpb=3868a52f3fd3cecd384c74299a3ac981eb2a9676;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b80e0152e7a..87d56d45330 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,271 @@ +2001-07-18 Tom Tromey + + For PR java/2812: + * configure: Rebuilt. + * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV + instead. + * aclocal.m4 (AM_ICONV): New macro from Bruno Haible. + +Wed Jul 18 18:46:30 CEST 2001 Richard Henderson + Jan Hubicka + + * flow.c (redirect_edge_and_branch): Bail out on complex edges. + (try_optimize_cfg): Do not remove tail recursive labels before sibcall. + * jump.c (mark_jump_label): Do not forward branches. + +Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka + + * cse.c (delete_trivially_dead_insns): Delete the libcall block + when return value is unused. + +Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka + + * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores. + +Wed Jul 18 12:05:29 2001 Nicola Pero + + * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value + on error. We can't blindly return the result of + pthread_mutex_trylock because it returns a positive number on + error, while we must return -1 on error. + (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar + fixes. + Reported by Stephen Brandon . + +2001-07-18 Andreas Jaeger + + * integrate.c (output_inline_function): Correct type of debug_hooks. + +2001-07-18 Toon Moene + + * combine.c (combine_simplify_rtx): DIV can be treated + associatively for floats if unsafe math optimisations are enabled. + +2001-07-17 Richard Henderson + + * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS. + +2001-07-17 Richard Henderson + + * calls.c (prepare_call_address): New parameter SIBCALLP. If true, + don't force the function address into a register. + (expand_call, emit_library_call_value_1): Update callers. + * builtins.c (expand_builtin_apply): Likewise. + * expr.h (prepare_call_address): Update decl. + +2001-07-17 Chandrakala Chavva + + * config.gcc: For *-*-chorusos triplet, get chorus.h file from + config directory. + * config/i386/chorus.h: Move up. + * config/sparc/chorus.h: Likewise. + * config/rs6000/chorus.h: Likewise. + * config/chorus.h: Moved here. + +2001-07-17 Andreas Schwab + + * configure.in (assembler eh_frame optimization): Handle big + endian. + * configure: Regenerated. + +Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka + + * expr.c (epxand_expr): Convert divisions into multiplications by + reciprocals if -ffast-math. + +2001-07-17 Neil Booth + + * dbxout.c (dbxout_really_begin_function): Rename to + dbxout_begin_function. + (dbx_debug_hooks, xcoff_debug_hooks): Update. + (dbxout_begin_function): Remove. + (dbxout_function): Update. + (dbxout_source_line): Update prototype. + * dbxout.h (dbxout_begin_function): Remove. + * debug.c (do_nothing_debug_hooks): Update. + (debug_nothing_tree): Update. + (debug_nothing_charstar_rtx): Remove. + * debug.h (union tree_node): Declare. + (struct rtx_def): Remove. + (gcc_debug_hooks): New hooks begin_prologue, end_prologue, + begin_function. Change source_line prototype. + (debug_nothing_tree): New. + (debug_nothing_charstar_rtx): Delete. + (dwarf2out_begin_prologue): Moved from ... + * tree.h: ... here. + * dwarf2out.c (dwarf2_debug_hooks): Update. + (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2 + debug info, call dwarf2out_source_line. + (dwarf2out_souce_line): Update prototype. + * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue. + Change prototype, make static. + (dwarfout_source_line): Update prototype. + (dwarf_debug_hooks): Update. + * dwarfout.h (dwarfout_begin_function): Remove. + * final.c (final_start_function, final_scan_insn): Use appropriate + debug hooks, update to use notice_source_line. + (output_source_line): Rename notice_source_line. Don't call the + source_line debug hook. + * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue, + make static, update prototype. + (sdbout_mark_begin_function): Rename sdbout_begin_function, update + prototype. + (sdbout_end_prologue): New. + (sdbout_source_line): Update prototype. + (sdbout_debug_hooks): Update. + (sdbout_symbol): Remove unused var. + * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function): + Delete. + * varasm.c: Include debug.h. + (assemble_start_function): Use begin_function debug_hook. + * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function, + update with prototype. + (xcoffout_source_line): Update prototype. + * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function, + update prototype. + (xcoffout_source_line): Update prototype. + +2001-07-17 Richard Henderson + + * c-typeck.c (build_binary_op): Do not shorten unsigned + right shift after sign extension. + +Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka + + * combine.c (combine_simplify_rtx): Attempt to simplify + a*(b/c) as (a*b)/c for floats in unsafe_math mode. + + * simplify-rtx.c (avoid_constatn_pool_reference): New static function. + (simplify_binary_operation, simplify_unary_operation, + simplify_relational_operation): Use it. + + * combine.c (combine_simplify_rtx): Don't do associative law + on divisions; allow associative law on floats. + +2001-07-17 H.J. Lu + Rainer Orth + + * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and + ASM_OUTPUT_WEAK_ALIAS are defined. + * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible. + * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL): + Moved ... + * config/mips/iris5.h: ... here. + (HANDLE_SYSV_PRAGMA): Defined as 1. + * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS. + * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak + symbol. + +2001-07-17 Joseph S. Myers + + * c-parse.in (all_prefix_attributes): New variable. + (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros. + (maybe_resetattrs): New production. + (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl, + maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl, + notype_initdcl, nested_function, notype_nested_function, + component_decl, components, components_notype, + component_declarator, component_notype_declarator, + absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl, + ivars, mydecl, myparm): Update. Avoid prefix attributes just + after a comma being applied to more than one declarator. + * doc/extend.texi (Attribute Syntax): Update. Remove + documentation of bugs that are no longer present. + +2001-07-13 Eric Christopher + + * config/mips/mips.h: Change TUNE_MIPS* options to use + mips_tune. + (EXTRA_SPECS): Add cc1_cpu_spec. + * config/mips/mips.md (muldf3): Fix typo. + +2001-07-16 Richard Henderson + + * config/m68k/m68k.c: Include expr.h and reload.h. + (print_operand_address) [16 bit int]: Cast INTVAL to int for %d. + [general int]: Use HOST_WIDE_INT_PRINT_DEC. + +2001-07-16 Daniel Berlin + Richard Henderson + + * cse.c (set_live_p): Take INSN argument for cc0; update callers. + (insn_live_p): Fix fall off end of function. + (dead_libcall_p): Remove COUNTS argument; update callers. + (delete_trivially_dead_insns): Remove unused variables. + +2001-07-17 Andreas Jaeger + + * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for + x86-64 pic support. + + * lcm.c (optimize_mode_switching): Avoid warning for unused + variable if !NORMAL_MODE. + + * flow.c (try_crossjump_to_edge): Remove unused variable. + +2001-07-16 John David Anglin + + * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3 + atexit declaration in stdlib.h. + +2001-07-16 Richard Begg + + * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h + +Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka + + * basic-block.h (CLEANUP_PRE_SIBCALL): New constant. + * except.c (finish_eh_generation): Update call of cleanup_cfg; + do rebuild_jump_labels instead of jump_optimize + * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise. + * toplev.c (rest_of_compulation): Likewise for -Wreturn_type. + * flow.c (try_optimize_cfg): Remove unneeded code_labels. + + * flow.c: Include timevar.h + (find_basic_block): Push/pop timevar; + (cleanup_cfg): Likewise. + * timevar.def (TV_CFG, TV_CLEANUP_CFG): New. + * Makefile: Add dependencies on timevar.h + + * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes. + (copy_insn_list): Avoid killing of BASIC_BLOCK notes. + + * rtl.h (delete_trivially_dead_insns): Add new parameter. + * toplev.c (rest_of_compilation): Update calls. + * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ... + (delete_trivially_dead_insns): ... here; accept new argument + preserve_basic_blocks; preserve basic blocks if set. + + * reg-stack.c (stack_regs_mentioned): Return 0 if + stack_regs_mentioned_data is not initialized. + (reg_to_stack): Make stack_regs_mentioned survive after the + reg-stack is completted; do not call cleanup_cfg. + * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder; + make cleanup_cfg after bb-reorder to output to debug file. + +2001-07-16 Richard Henderson + + * regclass.c (init_reg_sets): Use only 32 bits per initializer + from int_reg_class_contents. + +2001-07-16 Richard Henderson + + * hard-reg-set.h (regs_invalidated_by_call): Declare. + * regclass.c (regs_invalidated_by_call): Move from cse.c. + (init_reg_sets_1): Move initialization from cse_main. + * cse.c (regs_invalidated_by_call): Move to regclass.c. + (cse_main): Move its initialization also. + * df.c (df_insn_refs_record): Use regs_invalidated_by_call. + * flow.c (propagate_one_insn): Likewise. + * gcse.c (compute_hash_table): Likewise. + (compute_kill_rd, compute_store_table): Likewise. + * sched-deps.c (sched_analyze_1): Likewise. + +Mon Jul 16 18:07:07 2001 J"orn Rennecke + + * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of + gen_rtx_SET. + 2001-07-16 Steve Ellcey * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests @@ -5,8 +273,30 @@ 2001-07-16 Daniel Berlin + * gcse.c: Update comment at top. + Update comment on mem handling. + mem_last_set, mem_first_set, mem_set_in_block: gone. + Declaration of reg_set_info: gone. + (oprs_unchanged_p): Don't use mem_*set_* anymore. They are + pointless with load_killed_in_block_p (they are *more* + conservative then it, not less, and less accurate). + (oprs_not_set_p): Ditto. + (alloc_gcse_mem): Don't allocate mem_set_in_block + (free_gcse_mem): Don't free it, either. + (record_last_mem_set_info): Update comment in front, remove + mem_*set_* stuff. Note the reason we don't handle stores directly + here. + (compute_hash_table): Update comments to reflect reality. Remove + mem_*set_* references. + (reset_opr_set_tables): Remove mem_*set_* references. + (mark_call): Ditto. + (mark_set): Ditto. Also remove double sets of bitmaps for REG's. + (mark_clobber): Ditto (on both parts, we double set here too). + (expr_killed_p): Remove mem_set_in_block test. + (compute_transp): Remove mem_set_in_block test. + * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal - of edge, and removal of phi alternative to dump file. + of edge, and removal of phi alternative to dump file. (ssa_ccp_substitute_constants): Add note about register now being constant, and which uses were replaced in what insns to dump file. @@ -380,12 +670,12 @@ Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka 2001-07-11 Timothy Wall - * config.gcc: Add configuration for AIX5/IA64. - * config/ia64/aix.h: New. AIX5/IA64-specific configuration. - * config/ia64/crt[in].asm: New. Generic static ctor/dtor + * config.gcc: Add configuration for AIX5/IA64. + * config/ia64/aix.h: New. AIX5/IA64-specific configuration. + * config/ia64/crt[in].asm: New. Generic static ctor/dtor support prefix/suffix code. - * config/ia64/t-aix: New. Makefile fragment. - * config/ia64/unwind-aix.c: New. Unwind table entry lookup. + * config/ia64/t-aix: New. Makefile fragment. + * config/ia64/unwind-aix.c: New. Unwind table entry lookup. 2001-07-11 Kazu Hirata @@ -1390,8 +1680,8 @@ Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com) 2001-07-05 H.J. Lu (hjl@gnu.org) - * config/mips/mips.c (mips_parse_cpu): New function to parse - -march=*/-mcpu=*. + * config/mips/mips.c (mips_parse_cpu): New function to parse + -march=*/-mcpu=*. 2001-07-05 Jim Wilson @@ -1477,7 +1767,7 @@ Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com) 2001-07-04 Nathan Sidwell * cppinit.c (remove_dup_dirs): Inform if a system include - directory is being reordered. + directory is being reordered. * doc/invoke.texi (Directory Options): GCC warns if you hide a system include. * doc/cpp.texi (Search Paths): Likewise. @@ -1751,8 +2041,8 @@ Mon Jul 2 15:33:31 2001 Richard Kenner 2001-07-02 Steve Ellcey - * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore. - * config/ia64/lib1funcs.asm: Change macro names to match t-ia64. + * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore. + * config/ia64/lib1funcs.asm: Change macro names to match t-ia64. 2001-07-02 Zack Weinberg