aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2013-08-05re PR lto/57602 (Runfails for several C/C++ benchmarks from spec2000 for ↵Jan Hubicka4-3/+20
i686 with -flto after r199422) PR lto/57602 * cgraph.c (verify_cgraph_node): Accept local flags from other partitions. * ipa.c (symtab_remove_unreachable_nodes): Do not clear local flag. (function_and_variable_visibility): Likewise. * trans-mem.c (ipa_tm_create_version): TM versions are not local. From-SVN: r201492
2013-08-05graph.c (init_graph_slim_pretty_print): Remove.Gabriel Dos Reis2-22/+14
* graph.c (init_graph_slim_pretty_print): Remove. (print_graph_cfg): Do not call it. Use local pretty printer. (start_graph_dump): Likewise. From-SVN: r201483
2013-08-05gimple-pretty-print.c (buffer): Remove.Gabriel Dos Reis2-23/+27
* gimple-pretty-print.c (buffer): Remove. (initialized): Likewise. (maybe_init_pretty_print): Likewise. (print_gimple_stmt): Do not call it. Use non-static local pretty_printer variable. (print_gimple_expr): Likewise. (print_gimple_seq): Likewise. (gimple_dump_bb): Likewise. From-SVN: r201482
2013-08-05c-pretty-print.c (print_c_tree): Simplify.Gabriel Dos Reis2-16/+12
* c-pretty-print.c (print_c_tree): Simplify. Use non-static local c_pretty_printer variable. From-SVN: r201481
2013-08-05asan.c (asan_pp): Remove.Gabriel Dos Reis2-23/+19
* asan.c (asan_pp): Remove. (asan_pp_initialized): Likewise. (asan_pp_initialize): Likewise. (asan_pp_string): Take a pretty_printer parameter. Adjust callers. (asan_emit_stack_protection): Tidy. Use local pretty printer. (asan_add_global): Likewise. From-SVN: r201480
2013-08-05pretty-print.h (pp_base): Remove.Gabriel Dos Reis19-332/+373
* pretty-print.h (pp_base): Remove. Adjust dependent macros. * diagnostic.h (diagnostic_flush_buffer): Adjust. * pretty-print.c (pp_formatted_text_data): Likewise. (pp_indent): Rename from pp_base_indent. (pp_format): Rename from pp_base_format. (pp_output_formatted_text): Rename from pp_base_output_formatted_text. (pp_format_verbatim): Rename from pp_base_format_verbatim. (pp_flush): Rename from pp_base_flush. (pp_set_line_maximum_length): Rename from pp_base_set_line_maximum_length. (pp_clear_output_area): Rename from pp_base_clear_output_area. (pp_set_prefix): Rename from pp_base_set_prefix. (pp_destroy_prefix): Rename from pp_base_destroy_prefix. (pp_emit_prefix): Rename from pp_base_emit_prefix. (pp_append_text): Rename from pp_base_append_text. (pp_formatted_text): Rename from pp_base_formatted_text. (pp_last_position_in_text): Rename from pp_base_last_position_in_text. (pp_remaining_character_count_for_line): Rename from pp_base_remaining_character_count_for_line. (pp_newline): Rename from pp_base_newline. (pp_character): Rename from pp_base_character. (pp_string): Rename from pp_base_string. (pp_maybe_space): Rename from pp_base_maybe_space. * asan.c (asan_pp_string): Adjust. (asan_emit_stack_protection): Likewise. (asan_add_global): Likewise. * sched-vis.c (str_pattern_slim): Adjust pretty printer function call. * tree-mudflap.c (mf_varname_tree): Likewise. * tree-pretty-print.c (pp_tree_identifier): Rename from pp_base_tree_identifier. * tree-pretty-print.h (pp_tree_identifier): Remove macro definition. Declare as function. c/ * c-objc-common.c (c_initialize_diagnostics): Don't call pp_base. c-family/ * c-pretty-print.h (c_pretty_printer): Derive from pretty_printer. (pp_base): Remove. (pp_c_base): Likewise. Adjust users. * c-pretty-print.c (pp_c_maybe_whitespace): Adjust. (pp_c_whitespace): Do not call pp_base. (pp_c_left_paren): Likewise. (pp_c_right_paren): Likewise. (pp_c_left_brace): Likewise. (pp_c_right_brace): Likewise. (pp_c_left_bracket): Likewise. (pp_c_right_bracket): Likewise. (pp_c_dot): Likewise. (pp_c_ampersand): Likewise. (pp_c_star): Likewise. (pp_c_arrow): Likewise. (pp_c_semicolon): Likewise. (pp_c_complement): Likewise. (pp_c_exclamation): Likewise. (pp_c_direct_declarator): Likewise. (pp_c_ws_string): Likewise. (pp_c_identifier): Likewise. (pp_c_statement): Likewise. (print_c_tree): Likewise. cp/ * cxx-pretty-print.h (pp_c_base): Remove. (cxx_pretty_printer): Derive from c_pretty_printer. Adjust macros using pp_c_base. * cp-objcp-common.c (cxx_initialize_diagnostics): Do not call pp_base. * cxx-pretty-print.c (pp_cxx_nonconsecutive_character): Likewise. (pp_cxx_colon_colon): Likewise. (pp_cxx_separate_with): Likewise. (pp_cxx_storage_class_specifier): Do not call pp_c_base. (pp_cxx_expression_list): Likewise. (pp_cxx_space_for_pointer_operator): Likewise. (pp_cxx_init_declarator): Likewise. (pp_cxx_call_argument_list): Likewise. (pp_cxx_constant): Likewise. (pp_cxx_postfix_expression): Likewise. (pp_cxx_new_expression): Likewise. (pp_cxx_unary_expression): Likewise. (pp_cxx_cast_expression): Likewise. (pp_cxx_conditional_expression): Likewise. (pp_cxx_assignment_expression): Likewise. (pp_cxx_expression): Likewise. (pp_cxx_function_specifier): Likewise. (pp_cxx_decl_specifier_seq): Likewise. (pp_cxx_simple_type_specifier): Likewise. (pp_cxx_type_specifier_seq): Likewise. (pp_cxx_ptr_operator): Likewise. (pp_cxx_parameter_declaration_clause): Likewise. (pp_cxx_direct_declarator): Likewise. (pp_cxx_direct_abstract_declarator): Likewise. (pp_cxx_type_id): Likewise. (pp_cxx_statement): Likewise. (pp_cxx_pretty_printer_init): Tidy. * error.c (init_error): Do not use pp_base. (dump_aggr_type): Likewise. (dump_type_prefix): Likewise. (dump_type_suffix): Likewise. (dump_global_iord): Likewise. (dump_decl): Likewise. (dump_function_decl): Likewise. (dump_ref_qualifier): Likewise. (reinit_cxx_pp): Likewise. (decl_as_dwarf_string): Likewise. (lang_decl_dwarf_name): Likewise. (type_to_string): Likewise. (cv_to_string): Likewise. (cxx_print_error_function): Likewise. (cp_diagnostic_starter): Likewise. (cp_diagnostic_finalizer): Likewise. (cp_print_error_function): Likewise. (print_instantiation_context): Likewise. (cp_printer): Likewise. From-SVN: r201479
2013-08-05Daily bump.GCC Administrator1-1/+1
From-SVN: r201478
2013-08-04re PR c++/58072 ([C++11] Error messages involving user-defined literals are ↵Ed Smith-Rowland4-0/+41
poor (refer to tokens)) gcc/c-family: 2013-08-04 Ed Smith-Rowland <3dw4rd@verizon.net> PR c++/58072 * c-common.c (c_parse_error): Catch user-defined literal tokens and provide useful error strings. gcc/testsuite: 2013-08-04 Ed Smith-Rowland <3dw4rd@verizon.net> PR c++/58072 * g++.dg/cpp0x/pr58072.C: New. From-SVN: r201475
2013-08-04pretty-print.h (pp_bar_bar): New.Gabriel Dos Reis11-71/+109
* pretty-print.h (pp_bar_bar): New. (pp_ampersand_ampersand): Likewise. (pp_less_equal): Likewise. (pp_greater_equal): Likewise. * gimple-pretty-print.c (dump_ternary_rhs): Use specialized pretty printer functions instead of pp_string or operators and punctuators. (dump_gimple_call): Likewise. (dump_gimple_omp_for): Likewise. (dump_gimple_transaction): Likewise. (dump_gimple_phi): Likewise. (pp_gimple_stmt_1): Likewise. * sched-vis.c (print_insn): Likewise. * tree-mudflap.c (mf_varname_tree): Likewise. * tree-pretty-print.c (dump_block_node): Likewise. (dump_generic_node): Likewise. c-family/ * c-ada-spec.c (pp_ada_tree_identifier): Use specialized pretty printer functions instead of pp_string or operators and punctuators. (dump_generic_ada_node): Likewise. * c-pretty-print.c (pp_c_type_specifier): Likewise. (pp_c_relational_expression): Likewise. (pp_c_logical_or_expression): Likewise. cp/ * error.c (dump_type_prefix): Use specialized pretty printer functions instead of pp_string or operators and punctuators. (dump_decl): Likewise. (dump_expr): Likewise. From-SVN: r201474
2013-08-04Daily bump.GCC Administrator1-1/+1
From-SVN: r201473
2013-08-03DR 1286Jason Merrill6-5/+134
DR 1286 * pt.c (get_underlying_template): New. (convert_template_argument, lookup_template_class_1): Use it. From-SVN: r201470
2013-08-03DR 1430 PR c++/51239Jason Merrill4-8/+87
DR 1430 PR c++/51239 * pt.c (pack_expansion_args_count): Rename from any_pack_expanson_args_p. (coerce_template_parms): Reject pack expansion to non-pack template parameter of alias template. From-SVN: r201469
2013-08-03lto-cgraph.c (compute_ltrans_boundary): Add abstract origins into boundaries.Jan Hubicka10-81/+124
* lto-cgraph.c (compute_ltrans_boundary): Add abstract origins into boundaries. * lto-streamer-out.c (tree_is_indexable): Results decls and parm decls are not indexable. (DFS_write_tree_body): Do not follow args and results. (hash_tree): Likewise. (output_functions): Rearrange so struct function is needed only when real body is output; be able to also ouptut abstract functions; output DECL_ARGUMENTS and DECL_RESULT. (lto_output): When not in WPA, ale store abstract functions. (write_symbol): Do not care about RESULT_DECL. (output_symbol_p): Handle correctly sbtract decls. * lto-streamer-in.c (input_function): Rearrange so struct function can be NULL at entry; allow streaming of functions w/o body; store DECL_ARGUMENTS and DECL_RESULT. * ipa.c (symtab_remove_unreachable_nodes): Silence confused sanity check during LTO. * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Skip RESULT_DECl and DECL_ARGUMENTS. * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers): Likewise. * lto.c (lto_materialize_function): Do not push struct function. * lto-partition.c (get_symbol_class): Handle abstracts correctly. (may_need_named_section_p): Even abstract origins may need named section. From-SVN: r201468
2013-08-03pretty-print.h (pp_underscore): New.Gabriel Dos Reis13-231/+301
* pretty-print.h (pp_underscore): New. (pp_comma): Tidy. * gimple-pretty-print.c (dump_unary_rhs): Use specialized pretty printer functions instead of pp_character. (dump_binary_rhs): Likewise. (dump_ternary_rhs): Likewise. (dump_gimple_call_args): Likewise. (pp_points_to_solution): Likewise. (dump_gimple_call): Likewise. (dump_gimple_switch): Likewise. (dump_gimple_cond): Likewise. (dump_gimple_bind): Likewise. (dump_gimple_try): Likewise. (dump_gimple_omp_for): Likewise. (dump_gimple_omp_continue): Likewise. (dump_gimple_omp_single): Likewise. (dump_gimple_omp_sections): Likewise. (dump_gimple_omp_block): Likewise. (dump_gimple_omp_critical): Likewise. (dump_gimple_transaction): Likewise. (dump_gimple_asm): Likewise. (dump_gimple_phi): Likewise. (dump_gimple_omp_parallel): Likewise. (dump_gimple_omp_task): Likewise. (dump_gimple_omp_atomic_load): Likewise. (dump_gimple_omp_atomic_store): Likewise. (dump_gimple_mem_ops): Likewise. (pp_gimple_stmt_1): Likewise. (pp_cfg_jump): Likewise. (dump_implicit_edges): Likewise. (gimple_dump_bb_for_graph): Likewise. * graph.c (draw_cfg_node): Likewise. * langhooks.c (lhd_print_error_function): Likewise. * sched-vis.c (print_exp): Likewise. (print_value): Likewise. (print_pattern): Likewise. (print_insn): Likewise. (rtl_dump_bb_for_graph): Likewise. * tree-pretty-print.c (dump_function_declaration): Likewise. (dump_array_domain): Likewise. (dump_omp_clause): Likewise. (dump_location): Likewise. (dump_generic_node): Likewise. (print_struct_decl): Likewise. * diagnostic.c (diagnostic_show_locus): Use pp_space. c-family/ * c-ada-spec.c (print_ada_macros): Use specialized pretty printer functions instead of pp_character. (pp_ada_tree_identifier): Likewise. (dump_ada_double_name): Likewise. (dump_ada_function_declaration): Likewise. (dump_ada_array_domains): Likewise. (dump_template_types): Likewise. (dump_generic_ada_node): Likewise. (print_ada_declaration): Likewise. (print_ada_struct_decl): Likewise. * c-pretty-print.c (pp_c_integer_constant): Likewise. cp/ * error.c (dump_aggr_type): Use specialized pretty printer functions instead of pp_character. (dump_type_prefix): Likewise. (dump_simple_decl): Likewise. (type_to_string): Likewise. From-SVN: r201467
2013-08-03gimple-ssa-strength-reduction.c (replace_mult_candidate): Update candidate ↵Bill Schmidt4-0/+227
table when replacing a candidate statement. gcc: 2013-08-03 Bill Schmidt <wschmidt@vnet.linux.ibm.com> * gimple-ssa-strength-reduction.c (replace_mult_candidate): Update candidate table when replacing a candidate statement. (replace_rhs_if_not_dup): Likewise. (replace_one_candidate): Likewise. gcc/testsuite: 2013-08-03 Bill Schmidt <wschmidt@vnet.linux.ibm.com> * gcc.dg/torture/pr57993-2.cpp: New. From-SVN: r201466
2013-08-03Add Martin.Jan Hubicka1-0/+1
From-SVN: r201464
2013-08-03cgraphunit.c (add_new_function): Fix logic when adding from late IPA pass.Jan Hubicka3-60/+84
* cgraphunit.c (add_new_function): Fix logic when adding from late IPA pass. (assemble_thunk): Rename to ... (expand_thunk); .. this one; export; get it working with general functions; make produced gimple valid. * cgraph.h (expand_thunk): Declare. From-SVN: r201463
2013-08-03ipa-cp.c (gather_context_independent_values): Use ipa_get_param_move_cost.Jan Hubicka17-80/+153
* ipa-cp.c (gather_context_independent_values): Use ipa_get_param_move_cost. (get_replacement_map): Remove PARAM; move parameter folding into tree-inline.c (create_specialized_node): Update. * ipa-prop.c (ipa_populate_param_decls): Do not look for origins; assert that we have gimple body; update move_cost. (count_formal_params): Assert that we have gimple body. (ipa_dump_param): New function. (ipa_alloc_node_params): Break out from ... (ipa_initialize_node_params): ... here. (ipa_get_vector_of_formal_parms): ICE when used in WPA. (ipa_write_node_info): Stream move costs. (ipa_read_node_info): Read move costs. (ipa_update_after_lto_read): Do not recompute node params. * ipa-prop.h (ipa_param_descriptor): Add move_cost. (ipa_get_param): Check we are not in WPA. (ipa_get_param_move_cost): New. * tree-inline.c (tree_function_versioning): Fold replacement as needed. * ipa-inline-analysis.c (inline_node_duplication_hook): Expect only parm numbers to be present. * gcc.dg/ipa/ipa-1.c: Update. * gcc.dg/ipa/ipa-2.c: Update. * gcc.dg/ipa/ipa-3.c: Update. * gcc.dg/ipa/ipa-4.c: Update. * gcc.dg/ipa/ipa-5.c: Update. * gcc.dg/ipa/ipa-7.c: Update. * gcc.dg/ipa/ipa-8.c: Update. * gcc.dg/ipa/ipcp-1.c: Update. * gcc.dg/ipa/ipcp-2.c: Update. From-SVN: r201462
2013-08-03Daily bump.GCC Administrator1-1/+1
From-SVN: r201461
2013-08-02re PR rtl-optimization/58048 (internal compiler error: Max. number of ↵Vladimir Makarov4-1/+23
generated reload insns per insn is achieved (90)) 2013-08-02 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/58048 * lra-constraints.c (process_alt_operands): Don't check asm operand on register. 2013-08-02 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/58048 * gcc.target/i386/pr58048.c: New. From-SVN: r201454
2013-08-02sparc.c (sparc_emit_membar_for_model): Add the implied StoreLoad barrier for ↵Eric Botcazou2-0/+10
atomic operations if before. * config/sparc/sparc.c (sparc_emit_membar_for_model) <SMM_TSO>: Add the implied StoreLoad barrier for atomic operations if before. From-SVN: r201450
2013-08-02go-gcc.cc (immutable_struct_set_init): Always call resolve_unique_section.Ian Lance Taylor2-4/+10
* go-gcc.cc (immutable_struct_set_init): Always call resolve_unique_section. From-SVN: r201446
2013-08-02compiler: Always put descriptor wrappers in their own section.Ian Lance Taylor1-0/+6
This lets the linker GC them. From-SVN: r201442
2013-08-02cgraph.c (cgraph_function_body_availability): Do not check cgrpah flags.Jan Hubicka5-2/+146
* cgraph.c (cgraph_function_body_availability): Do not check cgrpah flags. * cgraph.h (symtab_for_node_and_aliases, symtab_nonoverwritable_alias, symtab_node_availability): Declare. * ipa.c (can_replace_by_local_alias): New. (function_and_variable_visibility): Use it. * symtab.c (symtab_for_node_and_aliases, symtab_nonoverwritable_alias_1, symtab_nonoverwritable_alias): New. Co-Authored-By: Martin Liska <marxin.liska@gmail.com> From-SVN: r201439
2013-08-02re PR rtl-optimization/57963 (LRA S/390: esa mode failure memcpy-chk)Vladimir Makarov2-8/+48
2013-08-02 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/57963 * lra-constraints.c (reverse_equiv_p, contains_reloaded_insn_p): New. (lra_constraints): Use them. From-SVN: r201438
2013-08-02types.md (define_attr "type"): Add "load_acq" and "store_rel".Sofiane Naci3-2/+13
* config/arm/types.md (define_attr "type"): Add "load_acq" and "store_rel". * config/arm/cortex-a53.md (cortex_a53_load1): Update for attribute changes. (cortex_a53_store1): Likewise. From-SVN: r201436
2013-08-02neon-for-64bits-2.c: Delete.Kyrylo Tkachov2-57/+4
2013-08-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.target/arm/neon-for-64bits-2.c: Delete. From-SVN: r201435
2013-08-02ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are not ↵Jan Hubicka2-0/+6
needed. * ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are not needed. From-SVN: r201431
2013-08-02cp-tree.h (finish_stmt): Do not declare.Paolo Carlini5-25/+12
2013-08-02 Paolo Carlini <paolo.carlini@oracle.com> * cp-tree.h (finish_stmt): Do not declare. * decl.c (finish_stmt): Do not define. * parser.c (cp_parser_expression_statement, cp_parser_declaration_statement, cp_parser_transaction_cancel): Don't call finish_stmt. * semantics.c (finish_expr_stmt, finish_if_stmt, finish_while_stmt, finish_do_stmt, finish_return_stmt, finish_for_stmt, finish_switch_stmt, finish_compound_stmt, finish_transaction_stmt): Likewise. From-SVN: r201427
2013-08-02Daily bump.GCC Administrator1-1/+1
From-SVN: r201423
2013-08-01i386.h (MAYBE_NON_Q_CLASS_P): New.Uros Bizjak3-29/+37
* config/i386/i386.h (MAYBE_NON_Q_CLASS_P): New. * config/i386/i386.c (ix86_secondary_reload): Use INTEGER_CLASS_P and MAYBE_NON_Q_CLASS_P where appropriate. From-SVN: r201415
2013-08-01re PR c++/54537 (undiagnosed using-declaration conflicting with used function)Fabien Chêne7-11/+43
gcc/cp/ PR c++/54537 * cp-tree.h: Check OVL_USED with OVERLOAD_CHECK. * name-lookup.c (do_nonmember_using_decl): Make sure we have an OVERLOAD before calling OVL_USED. Call diagnose_name_conflict instead of issuing an error without mentioning the conflicting declaration. libstdc++-v3/ PR c++/54537 * include/tr1/cmath: Remove pow(double,double) overload, remove a duplicated comment about DR 550. Add a comment to explain the issue. * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New. gcc/testsuite/ PR c++/54537 * g++.dg/overload/using3.C: New. * g++.dg/overload/using2.C: Adjust. * g++.dg/lookup/using9.C: Likewise. Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com> From-SVN: r201414
2013-08-01cgraph.h (release_function_body): Declare.Jan Hubicka3-0/+21
* cgraph.h (release_function_body): Declare. * tree.c (free_lang_data_in_decl): Free, parameters and return values of unused delcarations. From-SVN: r201413
2013-08-01arm.md (minmax_arithsi_non_canon): Emit canonical RTL form when subtracting ↵Kyrylo Tkachov2-2/+10
a constant. 2013-08-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.md (minmax_arithsi_non_canon): Emit canonical RTL form when subtracting a constant. From-SVN: r201412
2013-08-01arm.md (peepholes for eq (reg1) (reg2/imm)): Generate canonical plus rtx ↵Kyrylo Tkachov5-5/+42
with negated immediate instead of minus where... [gcc] 2013-08-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.md (peepholes for eq (reg1) (reg2/imm)): Generate canonical plus rtx with negated immediate instead of minus where appropriate. * config/arm/arm.c (thumb2_reorg): Handle ADCS <Rd>, <Rn> case. [gcc/testsuite] * gcc.target/arm/pr46972-2.c: New test. From-SVN: r201411
2013-08-01cgraph.c (cgraph_release_function_body): Use used_as_abstract_origin.Jan Hubicka9-22/+60
* cgraph.c (cgraph_release_function_body): Use used_as_abstract_origin. (cgraph_release_function_body): Likewise. (cgraph_can_remove_if_no_direct_calls_p): Likewise. * cgraph.h (cgrpah_node): Rename abstract_and_needed to used_as_abstract_origin. * tree-inline-transfrom.c (can_remove_node_now_p_1): Do not remove symbols used as abstract origins. * cgraphunit.c (analyze_functions): Update. * ipa.c (symtab_remove_unreachable_nodes): Recompute used_as_abstract_origin. * tree-inline.c (tree_function_versioning): Update used_as_abstract_origin; be ready for DECL_RESULT and DECL_ARGUMENTS to be NULL. * lto-symtab.c (lto_symtab_merge_symbols): Merge duplicated nodes for abstract functions. * cgraph.h (symtab_real_symbol_p): Abstract declarations are not real symbols. From-SVN: r201408
2013-08-01vect-iv-5.c: Make xfail conditional with !arm_neon_ok.Vidya Praveen2-1/+5
* gcc.dg/vect/vect-iv-5.c: Make xfail conditional with !arm_neon_ok. From-SVN: r201406
2013-08-01* profile.c (compute_value_histograms): Fix thinko.Jan Hubicka2-1/+5
From-SVN: r201401
2013-08-01config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs.Sofiane Naci4-1/+16
* config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs. Add aarch-common-protos.h to extra_headers. (aarch64*-*-*): Add arm/aarch-common-protos.h to tm_p_file. * config/aarch64/aarch64.md: Include "../arm/cortex-a53.md" * config/aarch64/t-aarch64 (aarch-common.o): Define. From-SVN: r201400
2013-08-01aarch64.md (define_attr "type"): Delete.Sofiane Naci3-65/+258
* config/aarch64/aarch64.md (define_attr "type"): Delete. Include "../arm/types.md". Define "type" attribute for all patterns. * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>): Update for attribute changes. From-SVN: r201399
2013-08-01Daily bump.GCC Administrator1-1/+1
From-SVN: r201397
2013-07-31predicates.md (fusion_gpr_addis): New predicates to support power8 load fusion.Michael Meissner9-1/+571
[gcc] 2013-07-31 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/predicates.md (fusion_gpr_addis): New predicates to support power8 load fusion. (fusion_gpr_mem_load): Likewise. * config/rs6000/rs6000-modes.def (PTImode): Update a comment. * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): New declarations for power8 load fusion. (emit_fusion_gpr_load): Likewise. * config/rs6000/rs6000.c (rs6000_option_override_internal): If tuning for power8, turn on fusion mode by default. Turn on sign extending fusion mode if normal fusion mode is on, and we are at -O2 or -O3. (fusion_gpr_load_p): New function, return true if we can fuse an addis instruction with a dependent load to a GPR. (emit_fusion_gpr_load): Emit the instructions for power8 load fusion to GPRs. * config/rs6000/vsx.md (VSX_M2): New iterator for fusion peepholes. (VSX load fusion peepholes): New peepholes to fuse together an addi instruction with a VSX load instruction. * config/rs6000/rs6000.md (GPR load fusion peepholes): New peepholes to fuse an addis instruction with a load to a GPR base register. If we are supporting sign extending fusions, convert sign extending loads to zero extending loads and add an explicit sign extension. [gcc/testsuite] 2013-07-31 Michael Meissner <meissner@linux.vnet.ibm.com> * gcc.target/powerpc/fusion.c: New file, test power8 fusion support. From-SVN: r201385
2013-07-31mips.exp (mips-dg-options): Test for mabicalls rather than ↵Richard Sandiford2-1/+7
addressing!=absolute when... gcc/testsuite/ * gcc.target/mips/mips.exp (mips-dg-options): Test for mabicalls rather than addressing!=absolute when deciding how to handle MIPS16 when the test forces an ABI. From-SVN: r201380
2013-07-31parser.c (cp_parser_sizeof_pack): Check cp_parser_identifier return value ↵Paolo Carlini2-0/+7
for error_mark_node. 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com> * parser.c (cp_parser_sizeof_pack): Check cp_parser_identifier return value for error_mark_node. From-SVN: r201379
2013-07-31config.gcc (arm*-*-*): Add aarch-common.o to extra_objs.Sofiane Naci7-255/+358
* config.gcc (arm*-*-*): Add aarch-common.o to extra_objs. Add aarch-common-protos.h to extra_headers. (arm*-*-*): Add arm/aarch-common-protos.h to tm_p_file. * config/arm/arm.c (arm_early_load_addr_dep): Move from here to ... (arm_early_store_addr_dep): Likewise. (arm_no_early_alu_shift_dep: Likewise. (arm_no_early_alu_shift_value_dep: Likewise. (arm_no_early_mul_dep: Likewise. (arm_no_early_store_addr_dep: Likewise. (arm_mac_accumulator_is_mul_result: Likewise. (arm_mac_accumulator_is_result: Likewise. * config/arm/aarch-common.c: ... here. New file. * config/arm/arm-protos.h (arm_early_load_addr_dep): Move from here to ... (arm_early_store_addr_dep): Likewise. (arm_no_early_alu_shift_dep: Likewise. (arm_no_early_alu_shift_value_dep: Likewise. (arm_no_early_mul_dep: Likewise. (arm_no_early_store_addr_dep: Likewise. (arm_mac_accumulator_is_mul_result: Likewise. (arm_mac_accumulator_is_result: Likewise. * config/arm/aarch-common-protos.h: ... here. New file. * config/arm/t-arm (aarch-common.o): Define. From-SVN: r201376
2013-07-31arm.md: Include new file "types.md".Sofiane Naci2-333/+356
* config/arm/arm.md: Include new file "types.md". (define_attr "type"): Move from here to ... (define_attr "mul32"): Likewise. (define_attr "mul64"): Likewise. * config/arm/types.md: ... here. New file. From-SVN: r201375
2013-07-31config.gcc (*-*-rtems*): Use __cxa_atexit by default.Sebastian Huber3-0/+9
2013-07-31 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.gcc (*-*-rtems*): Use __cxa_atexit by default. * config/rs6000/rtems.h (TARGET_LIBGCC_SDATA_SECTION): Define. From-SVN: r201370
2013-07-31* ChangeLog: Fix my email address.Jan-Benedict Glaw1-1/+1
From-SVN: r201365
2013-07-31gen-pass-instances.awk: Fix offset of substr().Jan-Benedict Glaw2-1/+5
2013-07-31 Jan-Benedict Glaw <jbglaw@owl.de> * gen-pass-instances.awk: Fix offset of substr(). From-SVN: r201364
2013-07-31Introduce gen-pass-instances.awk and pass-instances.defDavid Malcolm4-3/+85
Introduce a new gen-pass-instances.awk script, and use it at build time to make a pass-instances.def from passes.def. gcc/ * Makefile.in (pass-instances.def): New. (passes.o): Replace dependency on passes.def with one on pass-instances.def * gen-pass-instances.awk: New. * passes.c (pass_manager::pass_manager): Use pass-instances.def rather than passes.def, updating local definition of NEXT_PASS macro to add an extra NUM parameter (currently unused). From-SVN: r201359