OSDN Git Service

* config/i386/i386.md (fmodxf3): Change sequence of move instructions.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 78a136d..33ff0cf 100644 (file)
@@ -1,7 +1,250 @@
+2008-06-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (fmodxf3): Change sequence of move instructions.
+       (fmod<mode>3): Ditto.
+       (remainderxf3): Ditto.
+       (remainder<mode>3): Ditto.
+
+2008-06-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/36533
+       * emit-rtl.c (set_reg_attrs_from_value): Do nothing if
+       REG is a hard register.
+
+       PR tree-optimization/36508
+       * tree-ssa-pre.c (compute_antic): Allow num_iterations up to
+       499, don't check it at all in release compilers.
+
+2008-06-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*fop_<mode>_1_i387): Use SSE_FLOAT_MODE_P
+       together with SSE_TARGET_MATH to disable insn pattern.
+       (*fop_<MODEF:mode>_2_i387): Ditto.
+       (*fop_<MODEF:mode>_3_i387): Ditto.
+
+2008-06-22  Andy Hutchinson  <hutchinsonandy@aim.com>
+
+       * config/avr/avr.h (SUPPORTS_INIT_PRIORITY): Define.
+       
+2008-06-22  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
+
+       PR middle-end/34906
+       * gimplify.c (gimplify_asm_expr): Check the return code of
+       parse_output_constraint call, set function return and is_inout
+       value if it failed.
+
+2008-06-22  Ian Lance Taylor  <iant@google.com>
+
+       * c-lex.c (narrowest_unsigned_type): Change itk to int.
+       (narrowest_signed_type): Likewise.
+       * c-typeck.c (c_common_type): Change local variable mclass to enum
+       mode_class, twice.
+       (parser_build_binary_op): Compare the TREE_CODE_CLASS with
+       tcc_comparison, not the tree code itself.
+       * c-common.c (def_fn_type): Pass int, not an enum, to va_arg.
+       (c_expand_expr): Cast modifier to enum expand_modifier.
+       * c-common.h (C_RID_CODE): Add casts.
+       (C_SET_RID_CODE): Define.
+       * c-parser.c (c_parse_init): Use C_SET_RID_CODE.
+       (c_lex_one_token): Add cast to avoid warning.
+       (c_parser_objc_type_name): Rename local typename to type_name.
+       (check_no_duplicate_clause): Change code parameter to enum
+       omp_clause_code.
+       (c_parser_omp_var_list_parens): Change kind parameter to enum
+       omp_clause_code.
+       (c_parser_omp_flush): Pass OMP_CLAUSE_ERROR, not 0, to
+       c_parser_omp_list_var_parens.
+       (c_parser_omp_threadprivate): Likewise.
+       * cp/lex.c (init_reswords): Use C_SET_RID_CODE.
+       * cp/parser.c (cp_lexer_get_preprocessor_token): Likewise.
+       * c-format.c (NO_FMT): Define.
+       (printf_length_specs): Use NO_FMT.
+       (asm_fprintf_length_specs): Likewise.
+       (gcc_diag_length_specs): Likewise.
+       (scanf_length_specs): Likewise.
+       (strfmon_length_specs): Likewise.
+       (gcc_gfc_length_specs): Likewise.
+       (printf_flag_specs): Change 0 to STD_C89.
+       (asm_fprintf_flag_specs): Likewise.
+       (gcc_diag_flag_specs): Likewise.
+       (gcc_cxxdiag_flag_specs): Likewise.
+       (scanf_flag_specs): Likewise.
+       (strftime_flag_specs): Likewise.
+       (strfmon_flag_specs): Likewise.
+       (print_char_table): Likewise.
+       (asm_fprintf_char_table): Likewise.
+       (gcc_diag_char_table): Likewise.
+       (gcc_tdiag_char_table): Likewise.
+       (gcc_cdiag_char_table): Likewise.
+       (gcc_cxxdiag_char_table): Likewise.
+       (gcc_gfc_char_table): Likewise.
+       (scan_char_table): Likewise.
+       (time_char_table): Likewis.
+       (monetary_char_table): Likewise.
+       * c-format.h (BADLEN): Likewise.
+
+2008-06-21  Ian Lance Taylor  <iant@google.com>
+
+       * tree.h (enum tree_code): Include all-tree.def, not tree.def.
+       Define END_OF_BASE_TREE_CODES around inclusion.
+       * tree.c (tree_code_type): New global array.
+       (tree_code_length, tree_code_name): Likewise.
+       * Makefile.in (TREE_H): Add all-tree.def, c-common.def, and
+       $(lang_tree_files).
+       (all-tree.def, s-alltree): New targets.
+       (gencheck.h, s-gencheck): Remove.
+       (tree.o): Depend upon all-tree.def.
+       (build/gencheck.o): Remove gencheck.h dependency.
+       (mostlyclean): Don't remove gencheck.h.
+       * c-common.h (enum c_tree_code): Remove.
+       * c-lang.c (tree_code_type): Remove.
+       (tree_code_length, tree_code_name): Remove.
+       * gencheck.c (tree_codes): Include all-tree.def, rather than
+       tree.def, c-common.def, and gencheck.h.  Undefined DEFTREECODE
+       after it is used.
+       * tree-browser.c (tb_tree_codes): Include all-tree.def, rather
+       than tree.def.
+       * cp/cp-tree.h (enum cplus_tree_code): Remove.
+       (operator_name_info): Size to MAX_TREE_CODES.
+       (assignment_operator_name_info): Likewise.
+       * cp/cp-lang.c (tree_code_type): Remove.
+       (tree_code_length, tree_code_name): Remove.
+       * cp/lex.c (operator_name_info): Size to MAX_TREE_CODES.
+       (assignment_operator_name_info): Likewise.
+       * cp/decl.c (grok_op_properties): Change LAST_CPLUS_TREE_CODE to
+       MAX_TREE_CODES.
+       * cp/mangle.c (write_expression): Likewise.
+       * cp/Make-lang.in (CXX_TREE_H): Remove cp/cp-tree.def.
+       * fortran/f95-lang.c (tree_code_type): Remove.
+       (tree_code_length, tree_code_name): Remove.
+       * java/java-tree.h (enum java_tree_code): Remove.
+       * java/lang.c (tree_code_type): Remove.
+       (tree_code_length, tree_code_name): Remove.
+       * java/Make-lang.in (JAVA_TREE_H): Remove java/java-tree.def.
+       * objc/objc-act.h (enum objc_tree_code): Remove.
+       * objc/objc-lang.c (tree_code_type): Remove.
+       (tree_code_length, tree_code_name): Remove.
+       * objcp/objcp-lang.c (tree_code_type): Remove.
+       (tree_code_length, tree_code_name): Remove.
+       * ada/ada-tree.h (enum gnat_tree_code): Remove.
+       * ada/Make-lang.in (ADA_TREE_H): Remove ada/ada-tre.def.
+       * ada/misc.c (tree_code_type): Remove.
+       (tree_code_length, tree_code_name): Remove.
+
+2008-06-21  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * tree-ssa-pre.c (fini_antic): Bitmap_sets have to be freed before
+       the grand_bitmap_obstack.
+
+2008-06-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * ggc.h (GGC_RESIZEVAR): New, reorder macros.
+       * tracer.c (tail_duplicate): Fix for -Wc++-compat.
+       * tree-affine.c (aff_combination_expand, free_name_expansion):
+       Likewise.
+       * tree-cfg.c (replace_by_duplicate_decl, replace_ssa_name,
+       move_stmt_r, new_label_mapper): Likewise.
+       * tree-complex.c (cvc_lookup): Likewise.
+       * tree-dfa.c (create_function_ann): Likewise.
+       * tree-dump.c (dump_register): Likewise.
+       * tree-if-conv.c (tree_if_conversion, add_to_predicate_list,
+       find_phi_replacement_condition): Likewise.
+       * tree-inline.c (copy_phis_for_bb, estimate_num_insns_1,
+       tree_function_versioning): Likewise.
+       * tree-into-ssa.c (cmp_dfsnum): Likewise.
+       * tree-iterator.c (tsi_link_before, tsi_link_after): Likewise.
+       * tree-nested.c (lookup_field_for_decl, lookup_tramp_for_decl,
+       get_nonlocal_debug_decl, convert_nonlocal_reference,
+       convert_nonlocal_omp_clauses, get_local_debug_decl,
+       convert_local_reference, convert_local_omp_clauses,
+       convert_nl_goto_reference, convert_nl_goto_receiver,
+       convert_tramp_reference, convert_call_expr): Likewise.
+       * tree-outof-ssa.c (contains_tree_r): Likewise.
+       * tree-parloops.c (reduction_phi, initialize_reductions,
+       eliminate_local_variables_1, add_field_for_reduction,
+       add_field_for_name, create_phi_for_local_result,
+       create_call_for_reduction_1, create_loads_for_reductions,
+       create_stores_for_reduction, create_loads_and_stores_for_name):
+       Likewise.
+       * tree-phinodes.c (allocate_phi_node): Likewise.
+       * tree-predcom.c (order_drefs, execute_pred_commoning_cbck): Likewise.
+       * tree-sra.c (sra_elt_hash, sra_elt_eq, lookup_element): Likewise.
+       * tree-ssa-alias.c (get_mem_sym_stats_for): Likewise.
+       * tree-ssa-coalesce.c (compare_pairs): Likewise.
+       * tree-ssa-loop-im.c (mem_ref_in_stmt, memref_hash, memref_eq,
+       memref_free, gather_mem_refs_stmt, vtoe_hash, vtoe_eq, vtoe_free,
+       record_vop_access, get_vop_accesses, get_vop_stores): Likewise.
+       * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Likewise. 
+       * tree-ssa-sccvn.c (VN_INFO_GET, free_phi, free_reference,
+       vn_nary_op_insert): Likewise.
+       * tree-ssa.c (redirect_edge_var_map_add,
+       redirect_edge_var_map_clear, redirect_edge_var_map_dup): Likewise.
+       * tree-vectorizer.c (vectorize_loops): Likewise.
+       * tree.c (make_node_stat, copy_node_stat, build_int_cst_wide,
+       build_fixed, build_real, make_tree_binfo_stat, make_tree_vec_stat,
+       tree_cons_stat, build1_stat, build_variant_type_copy,
+       decl_init_priority_lookup, decl_fini_priority_lookup,
+       decl_priority_info, decl_restrict_base_lookup,
+       decl_restrict_base_insert, decl_debug_expr_lookup,
+       decl_debug_expr_insert, decl_value_expr_lookup,
+       decl_value_expr_insert, type_hash_eq, type_hash_lookup,
+       type_hash_add, get_file_function_name, tree_check_failed,
+       tree_not_check_failed, tree_range_check_failed,
+       omp_clause_range_check_failed, build_omp_clause,
+       build_vl_exp_stat): Likewise.
+       * value-prof.c (gimple_histogram_value,
+       gimple_duplicate_stmt_histograms): Likewise.
+       * var-tracking.c (attrs_list_insert, attrs_list_copy,
+       unshare_variable, variable_union_info_cmp_pos, variable_union,
+       dataflow_set_different_1, dataflow_set_different_2,
+       vt_find_locations, variable_was_changed, set_variable_part,
+       emit_notes_for_differences_1, emit_notes_for_differences_2): Likewise.
+       * varasm.c (prefix_name, emutls_decl, section_entry_eq,
+       section_entry_hash, object_block_entry_eq,
+       object_block_entry_hash, create_block_symbol,
+       initialize_cold_section_name, default_function_rodata_section,
+       strip_reg_name, set_user_assembler_name, const_desc_eq,
+       build_constant_desc, output_constant_def, lookup_constant_def,
+       const_desc_rtx_hash, const_desc_rtx_eq, const_rtx_hash_1,
+       create_constant_pool, force_const_mem, compute_reloc_for_rtx_1,
+       default_internal_label): Likewise.
+       * varray.c (varray_init, varray_grow): Likewise.
+       * vec.c (vec_gc_o_reserve_1, vec_heap_o_reserve_1): Likewise.
+
+2008-06-20  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*jcc_fused_1): Handle all valid compare
+       operators for "test" insn.  Macroize insn using SWI mode macro.
+       (*jcc_fused_2): Ditto.
+       (*jcc_fused_3): Macroize insn using SWI mode macro.
+       (*jcc_fused_4): Ditto.
+
+2008-06-20  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * tree-ssa-pre.c: Fix typo in comment.
+       (init_antic, fini_antic): Add explicit funtions for
+       initializing and deinitializing ANTIC and AVAIL sets.
+       (create_expression_by_pieces): Fix typo in comment.
+       Remove redundant set of new_stuff and use NULL_TREE instead of NULL.
+       (execute_pre): Eventually dump details about ANTIC_IN.
+
+2008-06-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * collect2.c (main, add_to_list): Fix for -Wc++-compat.
+       * gcc.c (translate_options, init_spec, store_arg, read_specs,
+       add_to_obstack, file_at_path, find_a_file, execute,
+       add_preprocessor_option, add_assembler_option, add_linker_option,
+       process_command, insert_wrapper, do_option_spec, do_self_spec,
+       spec_path, do_spec_1, is_directory, main, used_arg,
+       getenv_spec_function): Likewise.
+       * tlink.c (symbol_hash_lookup, file_hash_lookup,
+       demangled_hash_lookup, symbol_push, file_push, frob_extension):
+       Likewise.
+
 2008-06-19  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * doc/rtl.texi: Updated subreg section.
-       
+
 2008-06-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/36523