X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=4edb41e588ed18589b4270aa4d05b0a07a8f6b70;hp=779868b015f53d74c69027622d44c4ca2dfd41fa;hb=acc511204707c088af1dfaa7427c0626df9712d2;hpb=18272fb7ac6453e34ec1cea13d0959be29e9d02b diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 779868b015f..4edb41e588e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,385 @@ +2006-10-12 Jie Zhang + + * config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of + emit_insn to emit eh_return_internal instruction. + (eh_return_internal): Explicitly set pc. + +2006-10-11 Richard Guenther + + PR tree-optimization/28230 + * tree-vrp.c (vrp_int_const_binop): Move flag_wrapv handling + to the correct place. + +2006-10-11 Richard Guenther + + PR inline-asm/29119 + * gimplify.c (gimplify_asm_expr): Mark the gimplified lvalue + addressable. + +2006-10-10 Brooks Moses + + * configure.ac: Added pdf to "Make-hooks" + * Makefile.in: Added TEXI2PDF definition, and various pdf-file + targets and *.pdf file patterns in cleanup targets. + * configure: Regenerated. + +2006-10-10 Anatoly Sokolov + + * config/avr/predicates.md: New file. + * config/avr/avr.md: Include it. + (REG_SP): New constant. + (peepholes): Use predicates. + (sbrx_branch, sbrx_and_branchhi, sbrx_and_branchsi, branch, rvbranch, + difficult_branch, difficult_rvbranch, cbi, sbi, sbix_branch, + sbix_branch_bit7, sbix_branch_tmp, sbix_branch_tmp_bit7): Ditto. + +2006-10-10 Adam Nemet + + * config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to + avoid alias set 0. + +2006-10-10 Jakub Jelinek + + PR middle-end/29272 + * builtins.c (var_decl_component_p): New function. + (fold_builtin_memset, fold_builtin_memory_op): Restrict + single entry optimization to variables and components thereof. + +2006-10-10 Richard Guenther + + PR rtl-optimization/29323 + * except.c (set_nothrow_function_flags): For functions + that do not bind local bail out early. + +2006-10-10 Ben Elliston + + * doc/invoke.texi (RS/6000 and PowerPC Options): Add -m to the + -mdlmzb option. + +2006-10-09 Richard Henderson + + Revert emutls patch. + +2006-10-09 Richard Guenther + + PR middle-end/29254 + * cgraphunit.c (verify_cgraph_node): Bail out on earlier + errors. + +2006-10-09 Steve Ellcey + + PR target/27880 + * unwind-c.c (PERSONALITY_FUNCTION): Ifdef use of _Unwind_GetIPInfo. + * configure.ac (HAVE_GETIPINFO): Check for _Unwind_GetIPInfo. + * configure: Regenerate. + * config.in: Regenerate. + +2006-10-09 Aldy Hernandez + + * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE. + +2006-10-08 Richard Sandiford + + * config/mips/mips.c (mips_legitimize_tls_address): Implement + all TLS models in the same way as local exec if !TARGET_ABICALLS. + Remove stray newline. + +2006-10-08 Richard Sandiford + + * config/mips/mips.c (mips_classify_symbol): Do not return + SYMBOL_SMALL_DATA if SYMBOL_REF_WEAK. + (mips_in_small_data_p): Tweak comments. + +2006-10-08 Richard Sandiford + + * config/mips/elf.h (HANDLE_PRAGMA_PUSH_POP): Define. + +2006-10-07 Kazu Hirata + + * gimplify.c, sched-int.h: Fix comment typos. + + * sched-int.h: Fix comment typos. + +2006-10-06 Maxim Kuvyrkov + + * sched-int.h (IS_SPECULATION_CHECK_P, IS_SPECULATION_SIMPLE_CHECK_P): + New macros. + * sched-ebb.c (begin_schedule_ready): Use them. + * haifa-sched.c (schedule_insn, move_insn, try_ready, + add_to_speculative_block, create_check_block_twin, speculate_insn, + fix_jump_move, move_block_after_check): Ditto. + * sched-rgn.c (new_ready): Ditto. + +2006-10-06 Maxim Kuvyrkov + + PR rtl-optimization/29128 + * sched-int.h (IS_SPECULATION_BRANCHY_CHECK_P): New macro. + * sched-ebb.c (advance_target_bb): Use it to fix condition to + allow interblock movement of speculation checks. + +2006-10-06 Zdenek Dvorak + + PR middle-end/29256 + * tree-ssa-loop-ivopts.c (determine_base_object): Handle pointers + casted to integer type. + (get_address_cost): Decrease cost of [symbol + index] addressing modes + if they are significantly more expensive than [reg + index] ones. + +2006-10-06 Jakub Jelinek + + PR tree-optimization/29330 + * tree-data-ref.c (free_data_ref): Use DR_FREE_ACCESS_FNS macro. + (initialize_data_dependence_relation): Clear DDR_LOOP_NEST pointer + on newly allocated ddrs. + (find_loop_nest_1, find_loop_nest): Change LOOP_NEST to a pointer + to VEC (loop_p, heap) pointer. + (compute_data_dependences_for_loop): Adjust caller. + (free_dependence_relations): Free DDR_LOOP_NEST. + + * tree-loop-linear.c (linear_transform_loops): Don't forget to + free DEPENDENCE_RELATIONS and DATAREFS. + + PR target/28924 + * builtins.c (expand_builtin_sync_operation, + expand_builtin_compare_and_swap, expand_builtin_lock_test_and_set): + Use convert_to_mode to handle promoted arguments. + +2006-10-06 J"orn Rennecke + + * print-tree.c (print_node_brief, print_node): Print sign of Inf. + +2006-10-06 J"orn Rennecke + + * config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define. + +2006-10-05 Uros Bizjak + + * config/i386/sync.md ("sync_add", "sync_sub", + "sync_ior", "sync_and", "sync_xor"): + Use instead of "r" as operand 1 constraint. + +2006-10-06 Olivier Hainque + + * gimplify.c (gimplify_type_sizes) [POINTER_TYPE, REFERENCE_TYPE]: + Don't recurse on the pointed-to type. + * c-decl.c (grokdeclarator) [cdk_pointer]: If we are in a NORMAL or + DECL context, attach an artificial TYPE_DECL to anonymous pointed-to + types with components of variable size. + +2006-10-06 Danny Smith + + config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp. + +2006-10-06 Jakub Jelinek + + PR tree-optimization/29290 + * tree-loop-linear.c (linear_transform_loops): Bail if loop_nest has + multiple exits. + + PR target/29198 + * config/i386/i386.c (legitimize_pic_address): Reject TLS symbols. + * config/i386/predicates.md (local_symbolic_operand): Likewise. + + PR c/29091 + * varasm.c (output_constant): If TREE_VECTOR_CST_ELTS chain is shorter than + the number of vector elements fill the rest with zeros. + +2006-10-05 Richard Sandiford + + * config/mips/mips.c (mips_pass_by_reference): Do not return false + for EABI if type is NULL. Use a size check based on GET_MODE_SIZE + instead. + +2006-10-05 Bernd Schmidt + + * config/bfin/bfin.md (subsi3): Lose expander, change previously + unnamed pattern into subsi3. Use correct constraints/predicates. + * config/bfin/bfin.h (CONST_OK_FOR_K): Handle "KN7". + * config/bfin/predicates.md (reg_or_neg7bit_operand_p): New. + +2006-10-05 Ira Rosen + + * doc/loop.texi: Add data references analysis description. + +2006-10-04 Brooks Moses + + * doc/gcov.texi: Add formatting to "Invoking gcov" section head. + +2006-10-04 Richard Henderson + Jakub Jelinek + + * Makefile.in (libgcc.mk, LIBGCC_DEPS): Add emutls.c. + * builtin-types.def (BT_WORD): Make unsigned. + (BT_FN_VOID_PTR_WORD_WORD_PTR): New. + * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New. + (BUILT_IN_EMUTLS_REGISTER_COMMON): New. + * c-decl.c (grokdeclarator): Don't error if !have_tls. + * c-parser.c (c_parser_omp_threadprivate): Likewise. + * cgraph.c (decide_is_variable_needed): Look at force_output. + Recurse for emulated tls. + * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Remove + checks redundant with decide_is_variable_needed. + (cgraph_build_static_cdtor): Do cgraph_varpool_assemble_pending_decls. + * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for + emulated tls. + * expr.c (emutls_var_address): New. + (expand_expr_real_1): Expand emulated tls. + (expand_expr_addr_expr_1): Likewise. + * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common. + * output.h (emutls_finish): Declare. + * toplev.c (compile_file): Call it. + * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the + address before wrapping in CONST. + * varasm.c (emutls_htab, emutls_object_type): New. + (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New. + (get_emutls_object_name, get_emutls_object_type): New. + (get_emutls_init_templ_addr, emutls_decl): New. + (emutls_common_1, emutls_finish): New. + (assemble_variable): When emulating tls, swap decls; generate + constructor for the emutls objects. + (do_assemble_alias): When emulating tls, swap decl and target name. + (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT + for emulated tls. + * emutls.c: New file. + * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit + tls_object for real tls. + +2006-10-04 Zack Weinberg + + Fix bug in constraint-check generator, reported by Rask Ingemann + Lambertsen: + * genpreds.c (add_constraint): Don't remove anything from the + expression here. + (write_tm_constrs_h): Detect whether "op" argument is used, and + mark it ARG_UNUSED if it isn't. + (write_insn_const_int_ok_for_constraint): Skip the part of the + expression that would test whether "op" (which is not available + here) is a CONST_INT. + +2006-10-04 Ryan Mansfield + + PR c++/28448 + * doc/invoke.texi (fdiagnostics-show-option): Fix typos. + +2006-10-03 Geoffrey Keating + + * config/i386/darwin-libgcc.10.5.ver: Update to symbol list for + current Leopard versions. + * config/rs6000/darwin-libgcc.10.5.ver: Likewise. + +2006-10-03 Kazu Hirata + + * doc/install.texi: Fix typos. + +2006-10-03 Eric Botcazou + + * builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX. + * doc/tm.texi (Basic Stack Layout): Document FRAME_ADDR_RTX. + * config/sparc/sparc.h (FRAME_ADDR_RTX): Define. + +2006-10-02 Jack Howarth + + * unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first + arg to be struct mach_header_64* instead. + +2006-10-02 Jakub Jelinek + + PR c/29154 + * gimplify.c (gimplify_self_mod_expr): Run inner expression's post + side effects after the outer expression's post side effects. + +2006-10-01 Sandra Loosemore + + * tree.h (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): Fix + comments to reflect actual behavior and relationship between + DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET, and DECL_OFFSET_ALIGN. + + * doc/c-tree.texi (Working with declarations): Fix documentation + of FIELD_DECL likewise. + +2006-10-01 Ryan Mansfield + + PR c/20533 + * doc/extend.texi: Add used variable attribute description. + +2006-09-30 Joseph S. Myers + + PR c/24010 + * c.opt (Woverride-init): New. + * c-opts.c (c_common_post_options): Default warn_override_init to + extra_warnings. + * c-typeck.c (add_pending_init, output_init_element): Warn for + overriding initializers without side effects. + * doc/invoke.texi (-Woverride-init): Document. + (-Wextra): Update. + +2006-09-30 Eric Botcazou + + PR rtl-optimization/28096 + * ifcvt.c (check_cond_move_block): Return FALSE if the source of an + assignment has already been used as a destination earlier in the block. + +2006-09-29 Eric Botcazou + + * builtins.c (expand_builtin_setjmp): Delete. + (expand_builtin) : Mark as unreachable. + : New case. + : Likewise. + : Likewise. + * builtins.def (BUILT_IN_SETJMP_SETUP): New built-in stub. + (BUILT_IN_SETJMP_DISPATCHER): Likewise. + (BUILT_IN_SETJMP_RECEIVER): Likewise. + * gimple-low.c (struct lower_data): New field calls_builtin_setjmp. + (lower_function_body): Initialize it to false. If it is set to true + at the end of the processing, emit the setjmp dispatcher. + (lower_stmt) : Invoke lower_builtin_setjmp if the callee + is __builtin_setjmp and set calls_builtin_setjmp to true as well. + : Fall through to above case if there is a CALL_EXPR + on the rhs of the assignment. + (lower_builtin_setjmp): New function. + * tree.c (build_common_builtin_nodes): Build BUILT_IN_SETJMP_SETUP, + BUILT_IN_SETJMP_DISPATCHER and BUILT_IN_SETJMP_RECEIVER nodes. + * tree-cfg.c (make_exit_edges) : Use specific predicate + to detect calls that can go to non-local labels. Use specific + helper to create the abnormal edges associated with them. + : Likewise. + (make_abnormal_goto_edges): New function extracted from... + (make_goto_expr_edges): ...here. Call it for computed gotos. + (simple_goto_p): Minor tweak. + (tree_can_make_abnormal_goto): New predicate. + (tree_redirect_edge_and_branch): Return zero on all abnormal edges. + (tree_purge_dead_abnormal_call_edges): New function. + * tree-flow.h (tree_can_make_abnormal_goto): Declare. + (tree_purge_dead_abnormal_call_edges): Likewise. + (make_abnormal_goto_edges): Likewise. + * tree-inline.c (expand_call_inline): Simplify statement frobbing. + Purge all dead abnormal edges if the call was in the last statement. + * tree-optimize.c (has_abnormal_outgoing_edge_p): New predicate. + (execute_fixup_cfg): If there are non-local labels in the function, + scan the basic blocks and split them at calls that can go to non-local + labels or add missing abnormal call edges. Write down the CFG in the + dump file. + (pass_fixup_cfg): Remove TODO_dump_func flag. + * unwind-sjlj.c: Poison setjmp. + * doc/install.texi (enable-sjlj-exceptions): Use more general wording. + * doc/tm.texi (DWARF2_UNWIND_INFO): Likewise. + (TARGET_UNWIND_TABLES_DEFAULT): Fix typo. + (DONT_USE_BUILTIN_SETJMP): Document it. + +2006-09-28 Geoffrey Keating + + PR target/28617 + * config/rs6000/rs6000.h [IN_LIBGCC2] (TARGET_POWERPC64): Define + to 1 when __ppc64__ is defined. + * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add ppc64-fp.c and + darwin-64.c. + * config/rs6000/ppc64-fp.c: Also compile when __ppc64__ is defined. + +2006-09-28 Steve Ellcey + + * config/ia64/t-hpux (LIB2FUNCS_EXTRA): Remove unwind-hpux.c. + * config/ia64/unwind-hpux.c: Delete. + 2006-09-28 Eric Botcazou * gimplify.c (gimplify_init_ctor_preeval): Call maybe_with_size_expr @@ -3916,7 +4298,7 @@ range of a REG_DEAD register. 2006-18-05 Joerg Wunsch - Anatoly Sokolov + Anatoly Sokolov * config/avr/avr.c (avr_mcu_types): Add support for attiny261, attiny461, attiny861, attiny25, attiny45, attiny85, attiny24, @@ -4033,7 +4415,7 @@ * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab. 2006-05-19 Daniel Berlin - Kenneth Zadeck + Kenneth Zadeck PR rtl-optimization/26855 @@ -6431,6 +6813,9 @@ 2006-04-04 Matthias Klose * Makefile.in (unprotoize.o): Same dependencies as for protoize.o. + + PR bootstrap/26764 + PR bootstrap/27334 * Makefile.in (s-macro_list): Conform to POSIX rules in single quoted strings.