OSDN Git Service

2004-09-07 Frank Ch. Eigler <fche@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 37260d7..6e0408f 100644 (file)
@@ -1,5 +1,259 @@
+2004-09-07  Frank Ch. Eigler  <fche@redhat.com>
+
+       * builtins.c (std_gimplify_va_arg_expr): Mark INDIRECT_REF nodes
+       generated from standard va_arg expansion.
+       * tree-mudflap.c (mx_xform_derefs_1): Omit instrumentation from
+       marked nodes.
+       (mf_varname_tree, mf_file_function_line_tree): Add some support
+       for column numbers if compiled with USE_MAPPED_LOCATION.
+
+2004-09-07  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-decl.c (groktypename_in_parm_context): Remove function.
+       * c-tree.h (groktypename_in_parm_context): Remove prototype.
+
+2004-09-07  Ziemowit Laski  <zlaski@apple.com>
+
+       * Makefile.in (c-parse.o): Depend on $(C_COMMON_H).
+       * c-parse.in: Include c-common.h instead of objc-act.h.
+       (ivar_decl_list, ivar_decls, ivar_decl, ivars, ivar_declarator,
+       myparms, myparm): Remove %type declarations.
+       (methodtype, optparms, OBJC_TYPE_QUAL, objc_quals, objc_qual,
+       objc_typename, objc_try_catch_stmt, optellipsis): Add %type
+       declarations.
+       (objc_inherit_code, objc_public_flag): Remove.
+       (typespec_nonreserved_nonattr): Call
+       objc_get_protocol_qualified_type() instead of get_static_reference()
+       and get_protocol_reference().
+       (stmt_nocomp): Call grokparm() on @catch parameter.
+       (objcdef): Move semantic action to objc_finish_implementation().
+       (classdef): Move semantic action to objc_start_class_interface(),
+       objc_continue_interface(), objc_finish_interface(),
+       objc_start_class_implementation(), objc_continue_implementation(),
+       objc_start_category_interface() and
+       objc_start_category_implementation().
+       (protocoldef): Move semantic actions to objc_start_protocol() and
+       objc_finish_interface().
+       (ivar_decl_list): Remove nonterminal.
+       (visibility_spec): Move semantic actions to objc_set_visibility().
+       (ivar_decls): Remove assignment to $$.
+       (ivar_decl): Rephrase in terms of component_decl; call
+       objc_add_instance_variable().
+       (ivars, ivar_declarator): Remove nonterminals.
+       (opt_semi): New nonterminal.
+       (methodtype): Remove semantic actions.
+       (methoddef): Move semantic actions to objc_set_method_type(),
+       objc_start_method_definition() and objc_finish_method_definition().
+       (methodproto): Move semantic actions to objc_set_method_type() and
+       objc_add_method_declaration().
+       (methoddecl): Use objc_typename instead of typename; move semantic
+       actions to objc_build_method_signature().
+       (optarglist, myxdecls, mydecl, myparms, myparm): Remove nonterminals.
+       (optparmlist): Express in terms of optparms and optellipsis.
+       (optparms, optellipsis, objc_qual, objc_quals, objc_typename): New
+       nonterminals.
+       (keyworddecl): Use objc_typename instead of typename.
+       (rid_to_yy): Mark RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_BYREF
+       and RID_ONEWAY as returning OBJC_TYPE_QUAL to yyparse().
+
+2004-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/tm.texi (MD_UNWIND_SUPPORT): Document.
+       (MD_FALLBACK_FRAME_STATE_FOR): Update.
+       * unwind-dw2.c (MD_UNWIND_SUPPORT): #include if defined.
+       (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation.
+       (MD_FROB_UPDATE_CONTEXT): Remove default.
+       (uw_update_context_1): Instead #ifdef invocation.
+       * config/ia64/unwind-ia64.c (MD_UNWIND_SUPPORT): #include if defined.
+       (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation.
+       * config/alpha/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Don't undef.
+       (MD_UNWIND_SUPPORT): Undefine this instead.
+       * config/i386/gnu.h: Likewise.
+       * config/alpha/linux-unwind.h: New file, macro converted to
+       function, extracted from..
+       * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): ..this.
+       (MD_UNWIND_SUPPORT): Define.
+       * config/alpha/vms-unwind.h, config/alpha/vms.h: Likewise.
+       * config/i386/linux-unwind.h, config/i386/linux.h,
+       config/i386/linux64.h: Likewise.
+       * config/ia64/linux-unwind.h, config/ia64/linux.h: Likewise.
+       MD_HANDLE_UNWABI too.
+       * config/mips/linux-unwind.h, config/mips/linux.h: Likewise.
+       * config/pa/linux-unwind.h, config/pa/pa32-linux.h: Likewise.
+       * config/rs6000/darwin-unwind.h, config/rs6000/darwin.h: Likewise.
+       * config/s390/linux-unwind.h, config/s390/linux.h: Likewise.
+       * config/sparc/linux-unwind.h, config/sparc/linux.h,
+       config/sparc/linux64.h: Likewise.
+       * config/sh/linux-unwind.h, config/sh/linux.h: Likewise, but merge
+       SH_FALLBACK_FRAME_FLOAT_STATE into sh_fallback_frame_state.
+       * config/rs6000/linux-unwind.h, config/rs6000/linux.h,
+       config/rs6000/linux64.h: Likewise.  Split out get_sigcontext
+       function.  Use ARG_POINTER_REGNUM for 32-bit temp reg too.
+
+2004-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * cse.c (fold_rtx):  Avoid building of
+       (CONST (MINUS (CONST_INT) (SYMBOL_REF)))
+
+       * tree-ssa-pre.c (grand_bitmap_obstack): New.
+       (value_insert_into_set_bitmap, bitmap_set_new): Use the obstack.
+       (init_pre): Initialize obstack.
+       (fini_pre): Free obstack.
+
+2004-09-07  David Daney  <ddaney@avtrex.com>
+
+       * config.gcc: Added support for --with-divide=[breaks|traps] for
+       mips targets.
+       * config/mips/mips.h (MASK_DIVIDE_BREAKS): New target_flags bit.
+       (TARGET_DIVIDE_TRAPS): New macro.
+       (TARGET_SWITCHES): Added -mdivide-traps and -mdivide-breaks.
+       (OPTION_DEFAULT_SPECS): Added --with-divide= support.
+       * config/mips/mips.c (mips_idiv_insns): Generate proper count on
+       GENERATE_DIVIDE_TRAPS.
+       (mips_output_division): Emit conditional trap if
+       GENERATE_DIVIDE_TRAPS is set.
+       * doc/install.texi: Document --with-divide.
+       * doc/invoke.texi: Document -mdivide-traps and -mdivide-breaks.
+
+2004-09-07  Caroline Tice  <ctice@apple.com>
+
+       * cfgrtl.c (rtl_verify_flow_info_1):  Add new edge flag,
+       EDGE_CROSSING, to flags test case.
+       
+2004-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Deal with '<'
+       class too.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * cfganal.c (flow_depth_first_order_compute, dfs_enumerate_from,
+       cfgbuild.c, inside_basic_block_p, control_flow_insn_p,
+       make_label_edge, make_edges, find_basic_blocks_1): Use gcc_assert
+       or gcc_unreachable.
+       * cfg.c (clear_edges, initialize_bb_rbi, compact_blocks,
+       remove_edge, alloc_aux_for_blocks, free_aux_for_blocks,
+       alloc_aux_for_edges, free_aux_for_edges): Likewise.
+       * cfgcleanup.c (try_forward_edges,
+       merge_blocks_move_predecessor_nojumps,
+       merge_blocks_move_successor_nojumps): Likewise.
+       * cfgexpand.c (expand_gimple_cond_expr,
+       expand_gimple_tailcall): Likewise.
+       * cfghooks.c (duplicate_block): Likewise.
+       * cfglayout.c (record_effective_endpoints,
+       insn_locators_initialize, change_scope, fixup_reorder_chain,
+       verify_insn_chain, fixup_fallthru_exit_predecessor,
+       duplicate_insn_chain, cfg_layout_finalize): Likewise.
+       * cfgloopanal.c (check_irred): Likewise.
+       * cfgloop.c (superloop_at_depth, flow_loops_free,
+       flow_loop_entry_edges_find, flow_loops_find,
+       flow_loop_outside_edge_p, get_loop_body,
+       get_loop_body_in_dom_order, get_loop_body_in_bfs_order,
+       get_loop_exit_edges, num_loop_branches, cancel_loop,
+       verify_loop_structure): Likewise.
+       cfgloopmanip.c (find_path, remove_path, loop_delete_branch_edge,
+       duplicate_loop_to_header_edge, create_preheader,
+       create_loop_notes): Likewise.
+       * cfgrtl.c (delete_insn, try_redirect_by_replacing_jump,
+       edirect_branch_edge, force_nonfallthru_and_redirect,
+       rtl_split_edge, insert_insn_on_edge, commit_one_edge_insertion,
+       commit_edge_insertions, commit_edge_insertions_watch_calls,
+       purge_dead_edges, cfg_layout_redirect_edge_and_branch,
+       cfg_layout_redirect_edge_and_branch_force,
+       cfg_layout_merge_blocks, rtl_flow_call_edges_add): Likewise.
+       * cgraph.c (cgraph_node, cgraph_create_edge, cgraph_remove_edge,
+       cgraph_redirect_edge_callee, cgraph_global_info, cgraph_rtl_info,
+       cgraph_varpool_node): Likewise.
+       * cgraphunit.c (cgraph_finalize_function,
+       cgraph_finalize_compilation_unit, cgraph_mark_functions_to_output,
+       cgraph_expand_function, cgraph_remove_unreachable_nodes,
+       cgraph_clone_inlined_nodes, cgraph_mark_inline_edge,
+       cgraph_mark_inline, cgraph_expand_all_functions,
+       cgraph_build_static_cdtor): Likewise.
+       * combine.c  (do_SUBST, try_combine, subst, combine_simplify_rtx,
+       simplify_logical, distribute_notes, insn_cuid): Likewise.
+       * conflict.c (conflict_graph_add, print_conflict): Likewise.
+       * coverage.c (rtl_coverage_counter_ref, tree_coverage_counter_ref,
+       coverage_checksum_string): Likewise.
+       * cse.c (make_new_qty, make_regs_eqv, insert, invalidate,
+       hash_rtx, exp_equiv_p, cse_basic_block, count_reg_usage,
+       cse_cc_succs, cse_condition_code_reg): Likewise.
+       * cselib.c (entry_and_rtx_equal_p, remove_useless_values,
+       rtx_equal_for_cselib_p, wrap_constant, cselib_hash_rtx,
+       new_cselib_val, cselib_subst_to_values, cselib_invalidate_regno,
+       cselib_record_set): Likewise.
+
+2004-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-loop-ivopts.c (iv_value): Avoid invalid sharing on niter.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * builtins.c (fold_builtin_strchr): Use build_int_cst, not
+       fold_convert.
+       (fold_builtin_strpbrk): Likewise.
+       * expr.c (array_ref_low_bound): Likewise.
+       * tree-scalar-evolution.c (chrec_is_positive, add_to_evolution_1,
+       interpret_rhs_modify_expr, number_of_iterations_in_loop): Likewise.
+       * tree-sra.c (generate_element_zero): Likewise.
+       * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
+       * tree-ssa-loop-ivopts.c (determine_biv_step, idx_find_step,
+       add_old_iv_candidates, add_iv_candidates): Likewise.
+       * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable.
+       * c-common.c (c_type_hash, c_common_nodes_and_builtins,
+       c_expand_expr, boolean_increment, nonnull_check_p,
+       check_function_arguments_recurse, fold_offsetof_1): Likewise.
+       * c-cppbuiltin.c (define__GNUC__, builtin_define_stdint_macros,
+       builtin_define_type_max): Likewise.
+       * c-decl.c (bind, pop_scope, merge_decls, pushdecl_top_level,
+       implicit_decl_warning, builtin_function, build_compound_literal,
+       complete_array_type, grokdeclarator, get_parm_info,
+       start_function, store_parm_decls_oldstyle,
+       c_write_global_declarations): Likewise.
+       * c-format.c (get_constant, decode_format_attr,
+       maybe_read_dollar_number, get_flag_spec, check_format_arg,
+       check_format_types, format_type_warning,
+       find_char_info_specifier_index, init_dynamic_asm_fprintf_info,
+       init_dynamic_diag_info, handle_format_attribute): Likewise.
+       * c-gimplify.c (push_context, pop_context, finish_bc_block): 
+       * c-lex.c (c_lex_with_flags, lex_string): Likewise.
+       * c-objc-common.c (c_tree_printer): Likewise.
+       * c-pch.c (pch_init): Likewise.
+       * c-pragma.c (maybe_apply_pragma_weak): Likewise.
+       * c-pretty-print.c (pp_c_tree_decl_identifier): Likewise.
+       * c-typeck.c (c_incomplete_type_error, composite_type,
+       common_pointer_type, common_type, same_translation_unit_p,
+       tagged_types_tu_compatible_p, finish_init, pop_init_level,
+       set_designator, set_nonincremental_init_from_string,
+       process_init_element, c_finish_if_stmt): Likewise.
+       * caller-save.c (init_caller_save, save_call_clobbered_regs,
+       insert_restore, insert_save, insert_one_insn): Likewise.
+       * calls.c (emit_call_1, compute_argument_block_size,
+       precompute_arguments, expand_call, emit_library_call_value_1,
+       store_one_arg): Likewise.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * configure.ac (enable-checking): Add release option. Reorganize
+       to avoid repetition.
+       * configure: Rebuilt.
+       * doc/install.texi (enable-checking): Amend documentation.
+
+2004-09-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/17313
+       * Makefile.in (specs.ready): Depend on cc1$(exeext).
+
 2004-09-06  James E Wilson  <wilson@specifixinc.com>
 
+       * config/mips/mips.md (movsf_hardfloat, movdf_hardfloat_64bit,
+       movdf_hardfloat_32bit): Split fG into two alternatives.
+       (movv2sf_hardfloat_64bit): Split fYG into two alternatives.
+
        * emit-rtl.c (try_split): Check INSN_P before may_trap_p call.
 
 2004-09-06  Eric Botcazou  <ebotcazou@libertysurf.fr>