+2009-06-13 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/alpha/alpha.c (alpha_build_builtin_va_list): Pass location to
+ build_decl.
+ * config/s390/s390.c (s390_build_builtin_va_list): Same.
+ (s390_gimplify_va_arg): Pass location to create_artificial_label.
+ * config/spu/spu-protos.h: Add location to
+ spu_resolve_overloaded_builtin.
+ * config/spu/spu.c (spu_build_builtin_va_list): Pass location to
+ spu_build_builtin_va_list.
+ * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Add location
+ argument. Pass location to build_function_call_vec.
+ * config/sh/sh.c (sh_build_builtin_va_list): Pass location to
+ build_decl.
+ (emit_fpu_switch): Same.
+ (sh_gimplify_va_arg_expr): Pass location to create_artificial_label.
+ * config/xtensa/xtensa.c (xtensa_build_builtin_va_list): Pass location
+ to build_decl and create_artificial_label.
+ (xtensa_gimplify_va_arg_expr): Same.
+ * config/stormy16/stormy16.c (xstormy16_build_builtin_va_list): Same.
+ (xstormy16_gimplify_va_arg_expr): Same.
+ * config/iq2000/iq2000.c (iq2000_expand_prologue): Same.
+ * config/arm/arm.c (arm_build_builtin_va_list): Same.
+ * config/mips/mips.c (mips_build_builtin_va_list): Same.
+ (mips16_build_function_stub): Same.
+ (mips16_build_call_stub): Same.
+
+2009-06-13 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/40327
+ * arm/constraints.md (Pa, Pb): New constraints.
+ * arm/arm.md (thumb1_addsi3): Support more complex additions. Add a
+ split pattern to deal with them.
+
+2009-06-13 Joerg Sonnenberger <joerg@britannica.bec.de>
+
+ * doc/invoke.texi: Add missing option -Wp,OPTION in list,
+ fix index entry for -Xpreprocessor.
+
+2009-06-12 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
+ Add location argument to build_decl call.
+ * config/rs6000/rs6000.c (rs6000_build_builtin_va_list): Same.
+ (rs6000_init_builtins): Same.
+ (spe_init_builtins): Same.
+ (rs6000_gimplify_va_arg): Add location argument to
+ create_artificial_label call.
+
+2009-06-12 Steven Bosscher <steven@gcc.gnu.org>
+
+ * timevar.def (TV_COMBINE_STACK_ADJUST): New timevar.
+ * combine-stack-adj.c (pass_stack_adjustments): Use it.
+ * Makefile.in: Fix GGC dependency for gcse.o.
+
+2009-06-12 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-pretty-print.c (dump_generic_node): Dump column numbers.
+ * gimple-pretty-print.c (dump_gimple_stmt): Same.
+ * gimplify.c (gimplify_modify_expr): Set location for GIMPLE_ASSIGNs
+ created.
+ * c-parser.c (c_parser_binary_expression): Use current column while
+ building binary operations.
+ * common.opt (fshow-column): Enable by default.
+ * tree-vrp.c (check_array_ref): Use warning_at.
+ (check_array_bounds): Use location from call back if expr has no
+ location.
+ * tree.h: Add location argument to maybe_fold_*.
+ * tree-ssa-ccp.c (ccp_fold): Pass location to maybe_fold_*.
+ (maybe_fold_offset_to_array_ref): Add location argument and use it.
+ (maybe_fold_offset_to_component_ref): Same.
+ (maybe_fold_offset_to_reference): Same.
+ (maybe_fold_offset_to_address): Same.
+ (maybe_fold_stmt_indirect): Same.
+ (maybe_fold_stmt_addition): Same.
+ (fold_stmt_r): Pass location to maybe_fold_*.
+ (fold_gimple_assign): Same.
+ * c-tree.h: Add location argument to finish_decl,
+ default_function_array_conversion, store_init_value.
+ * c-decl.c (define_label): Use error_at.
+ (c_make_fname_decl): Pass location to finish_decl.
+ (finish_decl): New location argument.
+ (build_compound_literal): Pass location to store_init_value.
+ (grokdeclarator): Pass location to finish_decl.
+ (grokfield): Same.
+ * c-typeck.c (array_to_pointer_conversion): New location argument.
+ (function_to_pointer_conversion): Same.
+ (default_function_array_conversion): Same.
+ (parser_build_unary_op): Pass location to overflow_warning.
+ (parser_build_binary_op): Same. Use warning_at.
+ (build_unary_op): Pass location to array_to_pointer_conversion.
+ (build_c_cast): Pass location to digest_init.
+ (build_modify_expr): New location argument.
+ (convert_for_assignment): Same.
+ (store_init_value): Same.
+ (digest_init): Same.
+ (output_init_element): Pass location to digest_init and
+ array_to_pointer_conversion.
+ (c_finish_return): Pass location to convert_for_assignment.
+ * gimplify.c (gimplify_conversion): Pass location to
+ maybe_fold_offset_to_address.
+ * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Pass location
+ to maybe_fold_stmt_addition.
+ * c-omp.c (c_finish_omp_atomic): Pass new location to
+ build_modify_expr.
+ (c_finish_omp_for): Same.
+ * c-common.c (overflow_warning): New argument.
+ * c-common.h: New argument to build_modify_expr, overflow_warning.
+ * c-parser.c (c_parser_declaration_or_fndef): Pass location to
+ finish_decl.
+ (c_parser_initializer): Pass location to
+ default_function_array_conversion.
+ (c_parser_initelt): Same.
+ (c_parser_initval): Same.
+ (c_parser_asm_operands): Same.
+ (c_parser_expr_no_commas): Same. Pass location to build_modify_expr.
+ (c_parser_conditional_expression): Same.
+ (c_parser_binary_expression): Add location info to stack. Use it.
+ (c_parser_unary_expression): Pass location to
+ default_function_array_conversion, parser_build_unary_op,
+ build_indirect_ref, c_parser_postfix_expression_after_primary.
+ (c_parser_postfix_expression_after_primary): New location argument.
+ Use it.
+ (c_parser_expression_conv): Pass location to
+ default_function_array_conversion.
+ (c_parser_expr_list): Same.
+ (c_parser_omp_atomic): Same.
+ (c_parser_omp_for_loop): Same.
+ * c-tree.h: (struct c_declarator): Add comment to id_loc.
+ (build_array_declarator): New argument.
+ * c-decl.c (build_array_declarator): Add location argument.
+ (grokdeclarator): Set id_loc for cdk_array.
+ * c-parser.c (c_parser_direct_declarator_inner): Pass location to
+ build_array_declarator.
+ * tree.c (build_omp_clause): Add location argument.
+ * tree.h (OMP_CLAUSE_HAS_LOCATION): New macro.
+ (OMP_CLAUSE_LOCATION): New macro.
+ (struct tree_omp_clause): Add location field.
+ (build_omp_clause): Add argument.
+ * testsuite/gcc.dg/gomp/for-1.c: Fix column.
+ * cp/pt.c (tsubst_omp_for_iterator): Pass location to
+ build_omp_clause.
+ * cp/parser.c (cp_parser_omp_var_list_no_open): Same.
+ (cp_parser_omp_clause_collapse): Same.
+ (cp_parser_omp_clause_default): Same.
+ (cp_parser_omp_clause_if): Same.
+ (cp_parser_omp_clause_nowait): Same.
+ (cp_parser_omp_clause_num_threads): Same.
+ (cp_parser_omp_clause_ordered): Same.
+ (cp_parser_omp_clause_schedule): Same.
+ (cp_parser_omp_clause_untied): Same.
+ (cp_parser_omp_for_loop): Same.
+ (cp_parser_omp_parallel): Pass location to c_split_parallel_clauses.
+ * c-tree.h (c_start_case): Add location argument.
+ (c_process_expr_stmt): Same.
+ (c_finish_goto_*): Same.
+ * tree-parloops.c (initialize_reductions): Pass location to
+ build_omp_clause.
+ (create_parallel_loop): Same.
+ * fortran/trans-openmp.c (gfc_trans_omp_variable_list): Same.
+ (gfc_trans_omp_reduction_list): Same.
+ (gfc_trans_omp_clauses): Same.
+ (gfc_trans_omp_do): Same.
+ * c-typeck.c (c_finish_goto_label): Same.
+ (c_finish_goto_ptr): New location argument.
+ (c_start_case): Same.
+ (emit_side_effect_warnings): Same.
+ (c_process_expr_stmt): Same.
+ (c_finish_stmt_expr): Same.
+ (c_finish_omp_clauses): Use error_at instead of error.
+ * gimplify.c (gimplify_adjust_omp_clauses_1): Pass location to
+ build_omp_clause.
+ * c-omp.c (c_split_parallel_clauses): New location argument.
+ * tree-nested.c (convert_nonlocal_reference_stmt): Pass location
+ to build_omp_clause.
+ (convert_local_reference_stmt): Same.
+ (convert_gimple_call): Same.
+ * c-common.h (c_split_parallel_clauses): New argument.
+ * c-parser.c (c_parser_statement_after_labels): Pass location to
+ c_finish_goto_label.
+ (c_parser_switch_statement): Pass location to c_start_case.
+ (c_parser_for_statement): Pass location to c_finish_expr_stmt,
+ and c_process_expr_stmt.
+ (c_parser_omp_variable_list): Add location argument.
+ (c_parser_omp_clause_collapse): Pass location to
+ build_omp_clause.
+ (c_parser_omp_clause_default): Same.
+ (c_parser_omp_clause_if): Same.
+ (c_parser_omp_clause_num_threads): Same.
+ (-c_parser_omp_clause_ordered): Same.
+ (c_parser_omp_clause_reduction): Pass location to
+ c_parser_omp_variable_list.
+ (c_parser_omp_clause_schedule): Pass location to build_omp_clause.
+ (c_parser_omp_clause_untied): Same.
+ (c_parser_omp_for_loop): Pass location to c_process_expr_stmt.
+ (c_parser_omp_parallel): Pass location to
+ c_split_parallel_clauses.
+
+ * c-tree.h (check_for_loop_decls, undeclared_variable,
+ build_component_ref, build_array_ref, build_external_ref,
+ c_expr_sizeof_expr, c_expr_sizeof_type, parser_build_unary_op,
+ build_conditional_expr, build_compound_expr, c_cast_expr,
+ build_c_cast, build_asm_expr, c_end_compound_stmt, c_finish_stmt_expr,
+ c_finish_return, c_finish_omp_parallel, c_finish_omp_task): New
+ argument.
+ * c-semantics.c (build_stmt): Same.
+ (build_case_label): Same.
+ * c-decl.c (c_finish_incomplete_decl): Pass location on down.
+ (undeclared_variable): New argument.
+ (make_label): Same.
+ (lookup_label): Pass location on down.
+ (define_label): Same.
+ (finish_decl): Same.
+ (build_compound_literal): Same.
+ (finish_struct): Same.
+ (finish_function): Do not set location here.
+ (check_for_loop_decls): New argument.
+ * tree.c (save_expr): Set location.
+ (build_empty_stmt): New argument.
+ * tree.h (build_empty_stmt): New argument to build_empty_stmt.
+ (CAN_HAVE_LOCATION_P): Make sure we have a non empty node.
+ * builtins.c (gimplify_va_arg_expr): Use locations.
+ (expand_builtin_sync_operation): Same.
+ * c-typeck.c (build_component_ref): New argument.
+ (build_array_ref): Same.
+ (build_external_ref): Same.
+ (c_expr_sizeof_expr): Same.
+ (c_expr_sizeof_type): Same.
+ (parser_build_unary_op): Same.
+ (build_conditional_expr): Same.
+ (build_compound_expr): Pass location on down.
+ (build_compound_expr): New argument.
+ (build_c_cast): Same.
+ (c_cast_expr): Same.
+ (build_asm_expr): Same.
+ (c_finish_return): Same.
+ (c_process_expr_stmt): Pass location on down.
+ (c_finish_stmt_expr): New argument.
+ (push_clenaup): Same.
+ (c_finish_omp_parallel): Same.
+ (c_finish_omp_task): Same.
+ * gimplify.c (gimplify_call_expr): Pass location on down.
+ * c-omp.c (c_finish_omp_master): New argument.
+ (c_finish_omp_critical): Same.
+ (c_finish_omp_ordered): Same.
+ (c_finish_omp_barrier): Same.
+ (-c_finish_omp_taskwait): Same.
+ (c_finish_omp_atomic): Same.
+ (c_finish_omp_flush): Same.
+ * tree-inline.c (copy_tree_body_r): Pass location on down.
+ (inline_forbidden_p): Remove use of input_location.
+ * c-gimplify.c (c_build_bind_expr): New argument.
+ * c-common.c (c_common_truthvalue_conversion): Pass location on down.
+ (c_sizeof_or_alignof_type): New argument.
+ (c_alignof_expr): Same.
+ (build_va_arg): Same.
+ (c_add_case_label): Same.
+ * c-common.h (c_sizeof_or_alignof_type, c_alignof_expr,
+ c_sizeof, c_alignof, build_va_arg, build_stmt, build_case_label,
+ c_build_bind_expr, objc_build_selector_expr, objc_build_throw_stmt,
+ c_finish_omp_master, c_finish_omp_critical, c_finish_omp_ordered,
+ c_finish_omp_barrier, c_finish_omp_atomic, c_finish_omp_flush,
+ c_finish_omp_taskwait, c_finish_omp_for, c_split_parallel_clauses):
+ New argument.
+ * stub-objc.c (objc_build_selector_expr): Same.
+ (objc_build_throw_stmt): Same.
+ * c-parser.c (c_parser_declaration_or_fndef): Pass location on down.
+ (c_parser_initelt): Same.
+ (c_parser_compound_statement): Same.
+ (c_parser_compound_statement_nostart): Same.
+ (c_parser_label): Same.
+ (c_parser_statement_after_labels): Same.
+ (c_parser_if_body): Same.
+ (c_parser_else_body): Same.
+ (c_parser_if_statement): Same.
+ (c_parser_switch_statement): Same.
+ (c_parser_while_statement): Same.
+ (c_parser_do_statement): Same.
+ (c_parser_for_statement): Same.
+ (c_parser_asm_statement): Same.
+ (c_parser_conditional_expression): Same.
+ (c_parser_binary_expression): Same.
+ (c_parser_cast_expression): Same.
+ (c_parser_unary_expression): Same.
+ (c_parser_sizeof_expression): Same.
+ (c_parser_alignof_expression): Same.
+ (c_parser_postfix_expression): Same.
+ (c_parser_expression): Same.
+ (c_parser_objc_receiver): Same.
+ (c_parser_omp_variable_list): Same.
+ (c_parser_omp_structured_block): Same.
+ (c_parser_omp_atomic): New argument.
+ (c_parser_omp_barrier): Same.
+ (c_parser_omp_critical): Same.
+ (c_parser_omp_flush): Pass location on down.
+ (c_parser_omp_for_loop): New argument.
+ (c_parser_omp_for): Same.
+ (c_parser_omp_master): Same.
+ (c_parser_omp_ordered): Same.
+ (c_parser_omp_sections_scope): Same.
+ (c_parser_omp_sections): Same.
+ (c_parser_omp_parallel): Same.
+ (c_parser_omp_single): Same.
+ (c_parser_omp_task): Same.
+ (c_parser_omp_taskwait): Pass location on down.
+ (c_parser_omp_construct): Same.
+ (c_parser_omp_threadprivate): Same.
+ * dwarf2asm.c, targhooks.c, optabs.c, tree.c, tree.h, target.h,
+ builtins.c, omp-low.c, cgraphunit.c, tree-call-cdce.c,
+ tree-ssa-alias.c, gimple-low.c, c-tree.h, expr.c, tree-parloops.c,
+ c-decl.c, tree-eh.c, langhooks.c, function.c, stor-layout.c,
+ c-typeck.c, gimplify.c, c-pragma.c, expmed.c, except.c, coverage.c,
+ emit-rtl.c, cfgexpand.c, tree-mudflap.c, varasm.c, tree-nested.c,
+ rtl.h, tree-inline.c, tree-profile.c, c-common.c, c-common.h,
+ tree-switch-conversion.c, tree-cfg.c, ipa-struct-reorg.c, c-parser.c,
+ config/i386/i386.c, stmt.c:
+ Add location argument to the following function definitions and/or
+ function calls: build_decl, objcp_start_struct, objcp_finish_struct,
+ start_struct, finish_struct, PUSH_FIELD, create_artificial_label,
+ cp_make_fname_decl, pushtag, implicitly_declare, c_make_fname_decl,
+ build_compound_literal, parser_xref_tag, resolve_overloaded_builtin,
+ do_case, c_finish_bc_stmt, build_compound_literal,
+ build_function_call.
+ * c-decl.c (build_compound_literal): Add location argument.
+ Make all diagnostic calls use location.
+ (start_struct): Same.
+ (finish_struct): Same.
+ (start_enum): Same.
+ (build_enumerator): Same.
+ (start_function): Same.
+ (grokdeclarator): Make all diagnostic calls use location.
+ (store_parm_decls_oldstyle): Same.
+ * c-typeck.c (build_function_call): Add location argument.
+ Make all diagnostic calls use location.
+ (do_case): Same.
+ (c_finish_bc_stmt): Same.
+ * tree-nested.c (get_trampoline_type): Add argument.
+ Pass location to build_decl.
+ (lookup_tramp_for_decl): Pass location to get_trampoline_type.
+ * rtl.h (RTL_LOCATION): New.
+ * c-common.c (c_add_case_label): Add location argument.
+ Make all diagnostic calls use location.
+ * c-common.h: Add location argument to make_fname_decl, do_case,
+ c_add_case_label, build_function_call, resolve_overloaded_builtin.
+ * c-parser.c (c_parser_enum_specifier): Rename ident_loc to enum_loc.
+ Set it appropriately for every case. Pass enum_loc to start_enum
+ call. Pass value_loc first to build_enumerator. Pass enum_loc to
+ parser_xref_tag.
+ (c_parser_struct_or_union_specifier): Save location. Use it for
+ start_struct, finish_struct, and parser_xref_tag.
+
+2009-06-12 Ian Lance Taylor <iant@google.com>
+
+ * fold-const.c (fold_unary): Rename local variable and to
+ and_expr.
+
+ * c-opts.c (c_common_handle_option): For -Wc++-compat set
+ cpp_opts->warn_cxx_operator_names.
+
+2009-06-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ PR tree-opt/38865
+ * tree-ssa-sccvn.c (visit_reference_op_load): If vn_reference_lookup
+ is returns NULL and OP is a VCE, look through the VCE.
+
+2009-06-12 Ian Lance Taylor <iant@google.com>
+
+ PR bootstrap/40430
+ * collect2.c (main): Use CONST_CAST2 in code inside #if
+ LINK_ELIMINATE_DUPLICATE_LDIRECTORIES.
+
+2009-06-12 Joey Ye <joey.ye@intel.com>
+
+ PR middle-end/39146
+ * cfgexpand.c (get_decl_align_unit): Update
+ max_used_stack_slot_alignment with align instead of
+ stack_alignment_needed.
+
+ * function.c (assign_stack_local_1): Update
+ max_used_stack_slot_alignment with alignment_in_bits instead
+ of stack_alignment_needed.
+ (locate_and_pad_parm): Don't update max_used_stack_slot_alignment
+ here.
+
+2009-06-12 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2out.c (last_var_location_insn): New variable.
+ (dwarf2out_end_epilogue): Clear last_var_location_insn.
+ (dwarf2out_var_location): Don't record anything after last real
+ insn. Only change labels if there were any real instructions
+ in between last note and this one, or if changed sections.
+
+2009-06-11 Richard Henderson <rth@redhat.com>
+
+ * alpha.c (alpha_expand_prologue): Add a REF_CFA_REGISTER
+ note when storing the frame pointer in a register.
+ (FRP): Don't redefine to nothing for epilogue.
+ (alpha_expand_epilogue): Mark register and sp restores.
+ (unicosmk_gen_dsib): Don't mark weird frame pointer adjust.
+
+ * config/alpha/alpha.c (alpha_emit_setcc): Fix test for
+ when gen_lowpart is needed.
+
+2009-06-11 Richard Henderson <rth@redhat.com>
+
+ * dwarf2out.c (def_cfa_1): Likewise for DW_CFA_cfa_offset.
+
+ * dwarf2out.c (need_data_align_sf_opcode): New.
+ (div_data_align): Move earlier.
+ (def_cfa_1, reg_save): Use it.
+
+2009-06-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386.c (OPTION_MASK_ISA_CRC32_SET): New.
+ (OPTION_MASK_ISA_CRC32_UNSET): Likewise.
+ (ix86_handle_option): Handle OPT_mcrc32.
+ (ix86_target_string): Add -mcrc32.
+ (bdesc_args): Enable crc32 builtins with OPTION_MASK_ISA_CRC32.
+
+ * config/i386/i386.h (TARGET_CRC32): New.
+
+ * config/i386/i386.md (sse4_2_crc32<mode>): Also check
+ TARGET_CRC32.
+ (sse4_2_crc32di): Likewise.
+
+ * config/i386/i386.opt (mcrc32: New.
+
+ * doc/invoke.texi: Document -mcrc32.
+
+2009-06-11 Richard Henderson <rth@redhat.com>
+
+ * common.opt (gdwarf-): Accept a version number.
+ * doc/invoke.texi (gdwarf-): Update docs.
+ * opth-gen.awk: Special case -gdwarf+ to OPT_gdwarfplus.
+ * opts.c (common_handle_option) [OPT_gdwarf_]: Verify dwarf
+ version level, and record it.
+
+ * dwarf2.h (DW_CIE_VERSION): Remove.
+ * dwarf2out.c (DWARF_VERSION): Remove.
+ (add_fde_cfi): Skip DW_CFA_set_loc addition for dwarf3.
+ (output_call_frame_info): Use CIE version 3 for dwarf3,
+ or if the return register column is out of range for version 1.
+ (dwarf_stack_op_name): Add all dwarf3 values.
+ (DEBUG_PUBTYPES_SECTION): New.
+ (size_of_die) [dw_val_class_die_ref]: Handle DW_FORM_ref_addr
+ encoding change for dwarf3.
+ (output_die) [dw_val_class_die_ref]: Likewise.
+ (output_compilation_unit_header): Emit correct version for dwarf3.
+ (output_line_info): Likewise.
+ (output_pubnames): Update for DWARF_VERSION removal.
+ (output_aranges): Likewise.
+ (gen_subprogram_die): Emit DW_OP_call_frame_cfa if emitting dwarf3.
+ (dwarf2out_init): Don't ifdef DEBUG_PUBTYPES_SECTION.
+ (dwarf2out_finish): Likewise.
+
+2009-06-11 David Daney <ddaney@caviumnetworks.com>
+
+ * system.h (gcc_assert, gcc_unreachable): Revert accidental commit
+ in r148403.
+
+2009-06-11 David Daney <ddaney@caviumnetworks.com>
+
+ PR c/39252
+ * doc/extend.texi ( __builtin_unreachable): Document new builtin.
+ * builtins.c (expand_builtin_unreachable): New function.
+ (expand_builtin): Handle BUILT_IN_UNREACHABLE case.
+ * builtins.def (BUILT_IN_UNREACHABLE): Add new builtin.
+ * cfgcleanup.c (try_optimize_cfg): Delete empty blocks with no
+ successors.
+ * cfgrtl.c (rtl_verify_flow_info): Handle empty blocks when
+ searching for missing barriers.
+
+2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * config/darwin.h (LINK_COMMAND_SPEC): Adjust spec to link libcov
+ when -fprofile-generate* was passed.
+ * config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
+
+2009-06-11 Anthony Green <green@moxielogic.com>
+
+ * config/moxie/moxie.md: Define length attribute for all
+ instructions.
+ (rCC): Define.
+ (*b<cond:code>): Support limited branch ranges for new PC-relative
+ branch instructions.
+ * config/moxie/moxie.h (HAS_LONG_UNCOND_BRANCH): Define.
+
+2009-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ * config/i386/i386.c (min_insn_size): Use get_attr_length
+ for normal insns other than TYPE_MULTI, TYPE_OTHER and TYPE_FCMP.
+ For __asm return 0.
+
+ * config/i386/i386.c (ix86_pad_returns): Use emit_jump_insn_before
+ instead of emit_insn_before.
+
+2009-06-10 Ian Lance Taylor <iant@google.com>
+
+ PR bootstrap/40408
+ * graphite.c (add_conditions_to_domain): Change SWITCH_EXPR to
+ GIMPLE_SWITCH.
+
+2009-06-10 Revital Eres <eres@il.ibm.com>
+
+ * passes.c (init_optimization_passes): Reschedule
+ predictive-commoning pass before complete unroll pass.
+
+2009-06-10 Martin Jambor <mjambor@suse.cz>
+
+ * cgraph.c (cgraph_node_can_be_local_p): New function.
+ (cgraph_make_node_local): New function.
+ * cgraph.h (cgraph_node_can_be_local_p): Declare.
+ (cgraph_make_node_local): Declare.
+
+2009-06-10 Nathan Froyd <froydnj@codesourcery.com>
+
+ * tree.h (tree_base): Add packed_flag and user_align fields.
+ Decrease size of spare field.
+ (TYPE_USER_ALIGN): Use user_align from tree_base.
+ (DECL_USER_ALIGN): Likewise.
+ (TYPE_PACKED): Use packed_flag from tree_base.
+ (DECL_PACKED): Likewise.
+ (tree_type): Delete packed_flag and user_align fields. Widen
+ precision field. Widen mode field and shuffle fields to align
+ mode on an 8-bit boundary.
+ (tree_decl_common): Delete decl_flag_1 and user_align fields.
+ Renumber decl_flag_* fields. Fix comments. Widen
+ decl_common_unused field.
+ (DECL_HAS_VALUE_EXPR_P): Adjust for renumbering of decl_flag_*
+ fields.
+ (DECL_EXTERNAL): Likewise.
+ (DECL_BIT_FIELD): Likewise.
+ (DECL_NONADDRESSABLE_P): Likewise.
+ (TYPE_DECL_SUPRESS_DEBUG): Likewise.
+ * config/arm/arm-modes.def (XImode): Make it an INT_MODE.
+
+2009-06-10 Ian Lance Taylor <iant@google.com>
+
+ * vec.h (DEF_VEC_ALLOC_I): Use DEF_VEC_NONALLOC_FUNCS_I.
+ (DEF_VEC_ALLOC_P): Use DEF_VEC_NONALLOC_FUNCS_P.
+ (DEF_VEC_ALLOC_O): Use DEF_VEC_NONALLOC_FUNCS_O.
+ (DEF_VEC_ALLOC_FUNC_P): Only define VEC_OP (T,A,alloc).
+ (DEF_VEC_NONALLOC_FUNCS_P): New macro, broken out of old
+ DEF_VEC_ALLOC_FUNC_P.
+ (DEF_VEC_ALLOC_FUNC_O): Only define VEC_OP (T,A,alloc).
+ (DEF_VEC_NONALLOC_FUNCS_O): New macro, broken out of old
+ DEF_VEC_ALLOC_FUNC_O.
+ (DEF_VEC_ALLOC_FUNC_I): Only define VEC_OP (T,A,alloc).
+ (DEF_VEC_NONALLOC_FUNCS_I): New macro, broken out of old
+ DEF_VEC_ALLOC_FUNC_I.
+ (vec_stack_p_reserve, vec_stack_p_reserve_exact): Declare.
+ (vec_stack_p_reserve_exact_1): Declare.
+ (vec_stack_o_reserve, vec_stack_o_reserve_exact): Declare.
+ (vec_stack_free): Declare.
+ (VEC_stack_alloc): Define.
+ (DEF_VEC_ALLOC_P_STACK, DEF_VEC_ALLOC_FUNC_P_STACK): Define.
+ (DEF_VEC_ALLOC_O_STACK, DEF_VEC_ALLOC_FUNC_O_STACK): Define.
+ (DEF_VEC_ALLOC_I_STACK, DEF_VEC_ALLOC_FUNC_I_STACK): Define.
+ * vec.c (void_p): New type. Call DEF_VEC_P and DEF_VEC_ALLOC_P
+ for void_p.
+ (stack_vecs): New static variable.
+ (vec_stack_p_reserve_exact_1): New function.
+ (vec_stack_o_reserve_1): New static function.
+ (vec_stack_p_reserve, vec_stack_p_reserve_exact): New functions.
+ (vec_stack_o_reserve, vec_stack_o_reserve_exact): New functions.
+ (vec_stack_free): New function.
+ * df-scan.c (df_ref): Use DEF_VEC_P and DEF_VEC_ALLOC_P_STACK.
+ (VEC_df_ref_stack_alloc): Define.
+ (df_mw_hardreg_ptr): New type. Use DEF_VEC_P and
+ DEF_VEC_ALLOC_P_STACK.
+ (VEC_df_mw_hardreg_ptr_stack_alloc): Define.
+ (struct df_collection_rec): Change _vec fields to VEC. Remove
+ _use fields.
+ (df_free_collection_rec): Adjust for new fields.
+ (df_insn_rescan): Use new df_collection_rec fields.
+ (df_notes_rescan, df_canonize_collection_rec): Likewise.
+ (df_ref_create_structure, df_ref_record): Likewise.
+ (df_get_conditional_uses, df_get_call_refs): Likewise.
+ (df_insn_refs_collect, df_bb_refs_collect): Likewise.
+ (df_bb_refs_record, df_record_entry_block_defs): Likewise.
+ (df_record_exit_block_uses, df_bb_verify): Likewise.
+ (df_swap_refs): Change ref_vec parameter to VEC. Change all
+ callers.
+ (df_sort_and_compress_refs): Change ref_vec parameter to VEC.
+ Remove count parameter. Change return type to void. Change all
+ callers.
+ (df_sort_and_compress_mws): Change mw_vec parameter to VEC.
+ Remove count parameter. Change return type to void. Change all
+ callers.
+ (df_install_refs): Change old_vec parameter to VEC. Remove count
+ parameter. Change all callers.
+ (df_install_mws): Change old_vec parameter to VEC. Remove count
+ parameter. Change all callers.
+ (df_refs_verify): Change new_rec parameter to VEC. Change call
+ callers.
+ (df_mws_verify): Likewise.
+
+2009-06-10 Alexandre Oliva <aoliva@redhat.com>
+
+ * gcc.c (compare_files): Cast munmap argumento to caddr_t.
+
+2009-06-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/extend.texi: Add description for __builtin_ia32_crc32di.
+
+2009-06-10 Anthony Green <green@moxielogic.com>
+
+ * config/moxie/crti.asm: New file.
+ * config/moxie/crtn.asm: New file.
+ * config/moxie/moxie.c: New file.
+ * config/moxie/moxie.h: New file.
+ * config/moxie/sfp-machine.h: New file.
+ * config/moxie/moxie-protos.h: New file.
+ * config/moxie/t-moxie: Created.
+ * config/moxie/t-moxie-softfp: Created.
+ * config/moxie/moxie.md: Created.
+ * config/moxie/constraints.md: Created.
+ * config.gcc: Add moxie support.
+ * doc/md.texi (Machine Constraints): Add moxie constraints.
+ * doc/contrib.texi (Contributors): Mention moxie port.
+ * doc/install.texi (Specific): Mention the moxie port.
+
+2009-06-09 Ian Lance Taylor <iant@google.com>
+
+ * system.h (HAVE_DESIGNATED_INITIALIZERS): Don't define if
+ compiling with C++.
+ * optabs.c (optab_table): Only use designated initializers if
+ HAVE_DESIGNATED_INITIALIZERS is defined.
+ (convert_optab_table): Likewise.
+ (init_optabs): Always call init_insn_codes if
+ HAVE_DESIGNATED_INITIALIZERS is not defined.
+
+2009-06-09 Ian Lance Taylor <iant@google.com>
+
+ * targhooks.c (default_builtin_vectorized_function): Change fn
+ parameter to unsigned int.
+ (default_builtin_vectorized_conversion): Change code parameter to
+ unsigned int.
+ (default_builtin_reciprocal): Change fn parameter to unsigned int.
+ * targhooks.h: Update declarations.
+ * config/rs6000/rs6000.c (rs6000_builtin_conversion): Change code
+ parameter to unsigned int.
+
+ * c-typeck.c (comptypes_check_enum_int): New static function.
+ (comptypes_internal): Add enum_and_int_p parameter. Change all
+ callers.
+ (comp_target_types): Add location parameter. Change all callers.
+ (tagged_types_tu_compatible_p): Add enum_and_int_p parameter.
+ Change all callers.
+ (function_types_compatible_p, type_lists_compatible_p): Likewise.
+ (build_conditional_expr): Add colon_loc parameter. Change all
+ callers.
+ (convert_for_assignment): Add location parameter. Change all
+ callers.
+ * c-parser.c (c_parser_conditional_expression): Pass location of
+ colon to build_conditional_expr.
+ * c-tree.h (build_conditional_expr): Update declaration.
+
+2009-06-09 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite.c: Revert previous patch.
+
+2009-06-09 Sebastian Pop <sebastian.pop@amd.com>
+
+ PR bootstrap/40103
+ * graphite.c: Remove pragma GCC diagnostic warning "-Wc++-compat".
+
+2009-06-09 Ghassan Shobaki <ghassan.shobaki@amd.com>
+
+ * tree-ssa-loop-prefetch.c
+ (loop_prefetch_arrays): Fixed a portability problem in printf format
+ string.
+
+2009-06-09 Martin Jambor <mjambor@suse.cz>
+
+ PR tree-optimization/40351
+ * tree-sra.c (propagate_subacesses_accross_link): Check that a refrence
+ to a potential artifical subaccess can be constructed.
+
+2009-06-08 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * config/sh/sh-protos.h (sh_optimization_options): Declare.
+ (sh_override_options): Likewise.
+ * config/sh/sh.c: Include params.h.
+ (sh_optimization_options): New.
+ (sh_override_options): Likewise.
+ * config/sh/sh.c (OPTIMIZATION_OPTIONS): Use sh_optimization_options.
+ (OVERRIDE_OPTIONS): Use sh_override_options.
+
+2009-06-08 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2out.c (emit_cfa_remember): New variable.
+ (add_fde_cfi): If emit_cfa_remember, recurse to add
+ DW_CFA_remember_state first.
+ (dwarf2out_begin_epilogue): Don't add_fde_cfi DW_CFA_remember_state,
+ instead just set emit_cfa_remember.
+
+2009-06-08 Jan Hubicka <jh@suse.cz>
+
+ PR debug/40126
+ * dwarf2out.c (dwarf2out_abstract_function): Free decl_loc_table.
+
+2009-06-08 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/39834
+ * cgraphunit.c (save_inline_function_body): Do not copy transform hooks
+ for saved inline bodies.
+ * ipa-passes.c (do_per_function): Do not add the hoks multiple times
+ for given function.
+
+2009-06-08 Adam Nemet <anemet@caviumnetworks.com>
+
+ * jump.c (returnjump_p): Handle delayed branches. Add missing
+ function comment.
+
+2009-06-08 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/40102
+ * cgraph.c (cgraph_create_edge_including_clones): Also asume that the
+ original node might've been modified.
+ * tree-inline.c (copy_bb): Do not assume that all clones are the same.
+
+2009-06-08 Jakub Jelinek <jakub@redhat.com>
+
+ * tree-object-size.c (addr_object_size): Add OSI argument.
+ Handle also INDIRECT_REF with SSA_NAME inside of it as base address.
+ (compute_builtin_object_size, expr_object_size): Adjust callers.
+ (plus_stmt_object_size): Call addr_object_size instead of
+ compute_builtin_object_size.
+
+2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com>
+ Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
+
+ * tree-ssa-loop-prefetch.c
+ (gather_memory_references): Introduced a counter for the number of
+ memory references.
+ (anything_to_prefetch_p): Introduced a counter for the number of
+ prefetches.
+ (is_loop_prefetching_profitable): New function with a cost model
+ for prefetching.
+ (loop_prefetch_arrays): Use the new cost model to determine if
+ prefetching is profitable.
+ * params.def (MIN_INSN_TO_PREFETCH_RATIO,
+ PREFETCH_MIN_INSN_TO_MEM_RATIO): New parameters.
+ * params.h (MIN_INSN_TO_PREFETCH_RATIO,
+ PREFETCH_MIN_INSN_TO_MEM_RATIO): New parameters.
+ * doc/invoke.texi (MIN_INSN_TO_PREFETCH_RATIO,
+ PREFETCH_MIN_INSN_TO_MEM_RATIO): New parameters.
+
+2009-06-08 Michael Matz <matz@suse.de>
+
+ PR debug/40012
+ * cfgexpand.c (set_rtl): Store place also in DECL_RTL, if all
+ partitions use the same.
+ (expand_one_var): Deal with DECL_RTL sometimes begin set also
+ for basevars of SSA_NAMEs.
+ (expand_used_vars): Reset TREE_USED for basevars of SSA_NAMEs,
+ to not expand them twice.
+ (gimple_expand_cfg): Clear DECL_RTL for those decls that have
+ multiple places.
+
+2009-06-08 Alexandre Oliva <aoliva@redhat.com>
+
+ * common.opt (fcompare-debug=, fcompare-debug-second): New.
+ (fdump-final-insns=, gtoggle): New.
+ * doc/invoke.texi: Document them.
+ * final.c (rest_of_clean_state): Dump final insn stream.
+ * gcc.c (invoke_as): Hook in -fcompare-debug.
+ (static_spec_functions): Add compare-debug-dump-opt,
+ compare-debug-self-opt and compare-debug-auxbase-opt.
+ (compare_debug, compare_debug_second, compare_debug_opt): New.
+ (switches_debug_check, n_switches_debug_check): New.
+ (debug_auxbase_opt, debug_check_temp_file): New.
+ (process_command): Handle -fno-compare-debug, -fcompare-debug and
+ -fcompare-debug=*.
+ (do_self_spec): Handle arguments after switches.
+ (do_spec_1): Add .gk extension to temp file basenames for compare.
+ (check_live_switch): Take SWITCH_IGNORE into account, and earlier.
+ (cc1_options): Use it instead of normal auxbase computation for
+ the second compare-debug compilation.
+ (compare_files): New.
+ (main): Set up and implement compare debug mode.
+ (compare_debug_dump_opt_spec_function): New.
+ (compare_debug_self_opt_spec_function): New.
+ (compare_debug_auxbase_opt_spec_function): New.
+ * toplev.c (process_options): Handle flag_gtoggle,
+ flag_dump_final_insns.
+ * coverage.c (coverage_begin_output): Don't overwrite .gcno file
+ during -fcompare-debug-second compilation.
+
+2009-06-07 Ian Lance Taylor <iant@google.com>
+
+ * dwarf2.h (enum dwarf_location_atom): Add
+ INTERNAL_DW_OP_tls_addr.
+ * dwarf2out.c (INTERNAL_DW_OP_tls_addr): Don't #define.
+
+ * c-common.c (c_do_switch_warnings): Don't exit early for -Wswitch
+ with no default node. Change warning with %H to warning_at.
+ Don't clear warn_switch around case checking.
+ * doc/invoke.texi (Warning Options): Clarify distinction between
+ -Wswitch and -Wswitch-enum.
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * tree-pass.h (TODO_update_ssa_any): Document internal use only.
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * gbl-ctors.h: Add header guard.
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * tree-flow.h (make_value_handle, set_value_handle, sort_vuses,
+ sort_vuses_heap, vn_lookup_or_add, vn_lookup_or_add_with_stmt,
+ vn_lookup_or_add_with_vuses, vn_add, vn_add_with_vuses,
+ vn_lookup_with_stmt, vn_lookup, vn_lookup_with_vuses): Remove
+ prototypes for removed functions.
+ (expressions_equal_p): Move to ...
+ * tree-ssa-sccvn.h: ... here and ...
+ * matrix-reorg.c: ... adjust includes.
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * ipa-struct-reorg.c (do_reorg_1): Fix whitespace in dump output.
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * c-decl.c (finish_decl): Use bool for variable was_incomplete.
+ (finish_function): Remove erroneous whitespace.
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * tree-cfg.c (gimple_merge_blocks): Commentary typo fix.
+ (verify_stmts): Print statement who's gimple_bb is set to a wrong BB
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * errors.c (internal_error): Commentary typo fix.
+ * gimple-iterator.c (gsi_insert_seq_on_edge): Ditto.
+ * tree-ssa-pre.c: Ditto.
+
+2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of
+ them is supposed to hold actual statements.
+
+2009-06-06 Ian Lance Taylor <iant@google.com>
+
+ * doc/extend.texi (Attribute Syntax): Document that C++ labels on
+ empty statements can now have attributes.
+
+2009-06-05 Shujing Zhao <pearly.zhao@oracle.com>
+
+ * config/mips/mips.c: Use REG_P and CONST_INT_P where applicable.
+ * config/mips/mips.md: Ditto.
+
+2009-06-05 Nathan Froyd <froydnj@codesourcery.com>
+
+ * config/rs6000/eabi.asm (__eabi_convert): Don't define if
+ _RELOCATABLE.
+ (__eabi_uconvert): Likewise.
+
+2009-06-05 Nathan Froyd <froydnj@codesourcery.com>
+
+ * config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and
+ CFI_* definitions with IN_GCC.
+
+2009-06-05 David Edelsohn <edelsohn@gnu.org>
+
+ * xcoffout.h (xcoffout_source_line): Update prototype.
+
+2009-06-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * builtins.c (do_mpc_ckconv, do_mpc_arg1): Use
+ mpc_realref/mpc_imagref instead of MPC_RE/MPC_IM.
+
+2009-06-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/40340
+ * tree-ssa-live.c (remove_unused_scope_block_p): Don't prune
+ inlined_function_outer_scope_p blocks for artificial inlines
+ even at -g0/-g1.
+ * tree.c (tree_nonartificial_location): Rewrite using
+ block_nonartificial_location.
+
+2009-06-05 Revital Eres <eres@il.ibm.com>
+ Leehod Baruch <leehod@il.ibm.com>
+
+ * expr.c (expand_assignment): Expand MISALIGNED_INDIRECT_REF.
+ (expand_expr_real_1): Remove comment.
+ * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
+ Vectorize misaligned access when the target supports it.
+ (vect_supportable_dr_alignment): Check for unaligned access
+ support.
+ * tree-vect-stmts.c (vectorizable_store): Generate misaligned store
+ and remove asset.
+
2009-06-05 Julian Brown <julian@codesourcery.com>
* config/arm/ieee754-df.S (cmpdf2): Avoid writing below SP.
* dwarf2out.c (dwarf2out_begin_function): Mark discriminator
as possibly unused.
-2009-06-04 Jakub Jelinek <jakub@redhat.com>
+2009-06-05 Jakub Jelinek <jakub@redhat.com>
* config/s390/s390.c (global_not_special_regno_p): New static inline.
(save_gprs): Don't tell unwinder when a global register is saved.