- 02 Oct, 2013 5 commits
-
-
/cp 2013-10-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58565 * semantics.c (potential_constant_expression_1): Handle LABEL_EXPR. /testsuite 2013-10-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58565 * g++.dg/parse/crash64.C: New. From-SVN: r203109
Paolo Carlini committed -
2013-10-02 Renlin Li <renlin.li@arm.com> * config/aarch64/aarch64.c (aarch64_expand_prologue): Use plus_constant. (aarch64_expand_epilogue): Likewise. From-SVN: r203108
Renlin Li committed -
gcc/ * gimple-ssa-strength-reduction.c (legal_cast_p_1): Forward declaration. (backtrace_base_for_ref): Call get_unwidened with 'base_in' if 'base_in' represent a conversion and legal_cast_p_1 holds; set 'base_in' with the returned value from get_unwidened. gcc/testsuite/ * gcc.dg/tree-ssa/slsr-40.c: New test. From-SVN: r203107
Yufeng Zhang committed -
2013-10-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.c (arm_legitimize_reload_address): Explain why plus_constant is not used. From-SVN: r203106
Kyrylo Tkachov committed -
From-SVN: r203101
GCC Administrator committed
-
- 01 Oct, 2013 35 commits
-
-
2013-10-01 Tim Shen <timshen91@gmail.com> * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to "is not correctly implemented". From-SVN: r203097
Tim Shen committed -
2013-10-01 Tim Shen <timshen91@gmail.com> * doc/xml/manual/status_cxx2011.xml: Update regex status. * include/bits/regex.h (match_results<>::begin, match_results<>::cbegin, match_results<>::end, match_results<>::cend): [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2). From-SVN: r203096
Tim Shen committed -
2013-10-01 Wei Mi <wmi@google.com> * config/i386/x86-tune.def (DEF_TUNE): Remove m_CORE_ALL. * config/i386/i386.md: Add define_peephole2 to break partial reg stall for cvtss2sd/cvtsd2ss. From-SVN: r203095
Wei Mi committed -
gcc: * config/arc/simdext.md: Update copyright years. libgcc: * config/arc/ieee-754/arc600-dsp/muldf3.S: Update copyright years * config/arc/ieee-754/arc600-mul64/muldf3.S: Likewise. * config/arc/ieee-754/muldf3.S: Likewise. From-SVN: r203094
Joern Rennecke committed -
* config/arc/arc.c (pass_arc_ifcvt::clone): Update for ctxt_ ->m_ctxt change. From-SVN: r203093
Joern Rennecke committed -
From-SVN: r203092
Joern Rennecke committed -
tree-ssa-threadupdate.c (struct redirection_data): Delete outgoing_edge and intermediate_edge fields. * tree-ssa-threadupdate.c (struct redirection_data): Delete outgoing_edge and intermediate_edge fields. Instead store the path. (redirection_data::hash): Hash on the last edge's destination index. (redirection_data::equal): Check the entire thread path. (lookup_redirectio_data): Corresponding changes. (create_edge_and_update_destination_phis): Likewise. (thread_single_edge): Likewise. From-SVN: r203091
Jeff Law committed -
From-SVN: r203090
Joern Rennecke committed -
* config/arc/arc.c (stdio.h): Don't include directly. (arc_frame_info): Remove GTY marker. (arc_expand_epilogue): Remove [0]: Remove fp_restored_p. Remove if (1) condition. (arc_encode_section_info): Fix comment. Co-Authored-By: Diego Novillo <dnovillo@google.com> From-SVN: r203089
Joern Rennecke committed -
2013-10-01 Tobias Burnus <burnus@net-b.de> PR fortran/58579 * trans-expr.c (gfc_conv_string_tmp): Correctly obtain the byte size of a single character. From-SVN: r203088
Tobias Burnus committed -
2013-10-01 Tobias Burnus <burnus@net-b.de> PR fortran/55469 * io/list_read (parse_repeat, read_integer, read_character, parse_real, read_real, check_type, list_formatted_read_scalar, finish_list_read): Call list_free. From-SVN: r203086
Tobias Burnus committed -
* config/arc/arc.md: Expand adc_0 comment stating the intended purpose and why it isn't ready. Replace commented out call_value_via_label_mixed with a plain comment about bl_s. Co-Authored-By: Diego Novillo <dnovillo@google.com> From-SVN: r203085
Joern Rennecke committed -
* config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise. * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise. * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise. Co-Authored-By: Diego Novillo <dnovillo@google.com> From-SVN: r203083
Joern Rennecke committed -
2013-10-01 François Dumont <fdumont@gcc.gnu.org> * include/parallel/algobase.h (mismatch, equal): Provide parallel version for N3671 overloads. From-SVN: r203082
François Dumont committed -
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com> Diego Novillo <dnovillo@google.com> * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix. Co-Authored-By: Diego Novillo <dnovillo@google.com> From-SVN: r203081
Joern Rennecke committed -
* doc/extend.texi (long_call/medium_call/short_call): Typo fix. (__builtin_arc_aligned): Likewise. Co-Authored-By: Diego Novillo <dnovillo@google.com> From-SVN: r203080
Joern Rennecke committed -
/cp 2013-10-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58563 * parser.c (cp_parser_lookup_name): Check make_typename_type return value for error_mark_node. /testsuite 2013-10-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58563 * g++.dg/cpp0x/pr58563.C: New. From-SVN: r203079
Paolo Carlini committed -
* config/arc/simdext.md (UNSPEC_ARC_SIMD_VLD32WH): Delete. (UNSPEC_ARC_SIMD_VLD32WL): Likewise. (vld32wh_insn, vld32wl_insn): Delete commented-out old versions of these patterns. From-SVN: r203078
Joern Rennecke committed -
2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com> * src/c++11/snprintf_lite.cc: Add missing _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION From-SVN: r203076
Paul Pluzhnikov committed -
* config/arc/arc.c (arc_conditional_register_usage): Use ARC_FIRST_SIMD_VR_REG / ARC_LAST_SIMD_VR_REG. Also set reg_alloc_order for DMA config regs. From-SVN: r203075
Joern Rennecke committed -
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com> Jeremy Bennett <jeremy.bennett@embecosm.com> * doc/install.texi (--with-cpu): Mention ARC. (arc-*-elf32): New paragraph. (arc-linux-uclibc): Likewise. * doc/md.texi (Machine Constraints): Add ARC part. * doc/invoke.texi: (menu): Add ARC Options. (Machine Dependent Options) <ARC Options>: Add synopsis. (node ARC Options): Add. * doc/extend.texi (long_call / short_call attribute): Add ARC. (ARC Built-in Functions): New section defining generic ARC built-in functions. (ARC SIMD Built-in Functions): New section defining SIMD specific built-in functions. (Declaring Attributes of Functions): Extended description of short_call and long_call attributes for ARC and added index entries. Co-Authored-By: Jeremy Bennett <jeremy.bennett@embecosm.com> From-SVN: r203074
Joern Rennecke committed -
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com> Brendan Kehoe <brendan@zen.org> Simon Cook <simon.cook@embecosm.com> * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations. * config/arc: New directory. * longlong.h [__arc__] (umul_ppmm): Remove. [__arc__] (__umulsidi3): Define. [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define. [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise. Co-Authored-By: Brendan Kehoe <brendan@zen.org> Co-Authored-By: Simon Cook <simon.cook@embecosm.com> From-SVN: r203073
Joern Rennecke committed -
2013-10-01 Saurabh Verma <saurabh.verma@codito.com> Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> Joern Rennecke <joern.rennecke@embecosm.com> Muhammad Khurram Riaz <khurram.riaz@arc.com> Brendan Kehoe <brendan@zen.org> Michael Eager <eager@eagercon.com> Simon Cook <simon.cook@embecosm.com> Jeremy Bennett <jeremy.bennett@embecosm.com> * config/arc, common/config/arc: New directories. Co-Authored-By: Brendan Kehoe <brendan@zen.org> Co-Authored-By: Jeremy Bennett <jeremy.bennett@embecosm.com> Co-Authored-By: Joern Rennecke <joern.rennecke@embecosm.com> Co-Authored-By: Michael Eager <eager@eagercon.com> Co-Authored-By: Muhammad Khurram Riaz <khurram.riaz@arc.com> Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> Co-Authored-By: Simon Cook <simon.cook@embecosm.com> From-SVN: r203072
Saurabh Verma committed -
* config.guess: Update to 2013-06-10 version. * config.sub: Update to 2013-10-01 version. From-SVN: r203071
Joern Rennecke committed -
toplevel: 2013-02-25 Simon Cook <simon.cook@embecosm.com> Changes to build configuration to allow big endian ARC ELF toolchain * configure.ac: Also add target-libgloss to noconfigdirs for arceb-*-*. * configure: Regenerate. gcc: 2013-04-03 Joern Rennecke <joern.rennecke@embecosm.com> Brendan Kehoe <brendan@zen.org> Simon Cook <simon.cook@embecosm.com> * config.gcc (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations. libstdc++-v3: 2012-08-16 Joern Rennecke <joern.rennecke@embecosm.com> * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions. * configure: Regenerate. contrib: 2013-09-05 Joern Rennecke <joern.rennecke@embecosm.com> * config-list.mk: Add arc configurations. From-SVN: r203070
Joern Rennecke committed -
* tree-ssa-live.h (coalesce_ssa_name): Move Prototype to... * tree-ssa-coalesce.h: New. Move prototype to here. * tree-outof-ssa.h: Include tree-ssa-coalesce.h. * tree-ssa-coalesce.c: Include tree-outof-ssa.h. (gimple_can_coalesce_p): Move to... * gimple.c (gimple_can_coalesce_p): Here. From-SVN: r203069
Andrew MacLeod committed -
* tree-into-ssa.c (enum need_phi_state): Relocate from tree-flow.h. (dump_decl_set): Move to gimple.c. * gimple.h: Don't include tree-ssa-operands.h. (dump_decl_set): Add prototype. (gimple_vuse_op, gimple_vdef_op, update_stmt, update_stmt_if_modified): Move to gimple-ssa.h. (phi_ssa_name_p, phi_nodes, phi_nodes_ptr, gimple_phi_arg_def, gimple_phi_arg_def_ptr, gimple_phi_arg_edge, gimple_phi_arg_location, gimple_phi_arg_location_from_edge, gimple_phi_arg_set_location, gimple_phi_arg_has_location): Relocate from tree-flow-inline.h * gimple.c (walk_stmt_load_store_ops): Use gimple_phi_arg_def rather than PHI_ARG_DEF. (dump_decl_set): Relocate here. * gimple-ssa.h: New file. (gimple_vuse_op, gimple_vdef_op, update_stmt, update_stmt_if_modified): Relocate from gimple.h. * tree-cfg.c (has_zero_uses_1, single_imm_use_1): Move to... * tree-ssa-operands.c (swap_ssa_operands): Rename from swap_tree_operands and remove non-ssa path. (has_zero_uses_1, single_imm_use_1): Relocate from tree-cfg.c. * tree-ssa-reassoc.c (linearize_expr_tree, repropagate_negates): Use swap_ssa_operands. * tree-vect-loop.c (destroy_loop_vec_info, vect_is_slp_reduction, vect_is_simple_reduction_1): Use swap_ssa_operands. * tree-flow.h: Move various prototypes to tree-phinodes.h. (enum need_phi_state): Move to tree-into-ssa.c. (struct immediate_use_iterator_d, FOR_EACH_IMM_*, BREAK_FROM_IMM_USE_STMT): Move to ssa-iterators.h. (swap_tree_operands): Rename and move prototype to tree-ssa-operands.h. * tree-flow-inline.h (delink_imm_use, link_imm_use_to_list, link_imm_use, set_ssa_use_from_ptr, link_imm_use_stmt, relink_imm_use, relink_imm_use_stmt, end_readonly_imm_use_p, first_readonly_imm_use, next_readonly_imm_use, has_zero_uses, has_single_use, single_imm_use, num_imm_uses): Move to ssa-iterators.h. (get_use_from_ptr, get_def_from_ptr): Move to tree-ssa-operands.h (gimple_phi_arg_imm_use_ptr, phi_arg_index_from_use): Move to tree-phinodes.h. (op_iter_done, op_iter_next_def, op_iter_next_tree, clear_and_done_ssa_iter, op_iter_init, op_iter_init_use, op_iter_init_def, op_iter_init_tree, single_ssa_tree_operand, single_ssa_use_operand, single_ssa_def_operand, zero_ssa_operands, num_ssa_operands, delink_stmt_imm_use, single_phi_def, op_iter_init_phiuse, op_iter_init_phidef, end_imm_use_stmt_p, end_imm_use_stmt_traverse, move_use_after_head, link_use_stmts_after, first_imm_use_stmt, next_imm_use_stmt, first_imm_use_on_stmt, end_imm_use_on_stmt_p, next_imm_use_on_stmt): Move to ssa-iterators.h. (gimple_phi_arg_def, gimple_phi_arg_def_ptr, gimple_phi_arg_edge, gimple_phi_arg_location, gimple_phi_arg_location_from_edge, gimple_phi_arg_set_location, gimple_phi_arg_has_location, phi_nodes, phi_nodes_ptr, phi_ssa_name_p): Move to gimple.h. (set_phi_nodes): Move to tree-phinodes.h. * tree-ssa-operands.h (enum ssa_op_iter_type, struct ssa_operand_iterator_d, SSA_OP*, FOR_EACH_SSA*, SINGLE_SSA*, ZERO_SSA_OPERANDS, NUM_SSA_OPERANDS): Move to ssa-iterators.h. (dump_decl_set): Remove prototype. (get_use_from_ptr, get_def_from_ptr): Relocate from tree-flow.h. * tree-phinodes.h: New file. Move some prototypes from tree-flow.h. (set_phi_nodes): Relocate from tree-flow-inline.h. (gimple_phi_arg_imm_use_ptr, phi_arg_index_from_use): Relocate from tree-flow-inline.h * tree-ssa.h: Add tree-phinodes.h, gimple-ssa.h, ssa-iterators.h to include list. Temporarily add gimple.h to include list. * ssa-iterators.h: New file. (struct immediate_use_iterator_d, FOR_EACH_IMM_*, BREAK_FROM_IMM_USE_STMT): Relocate from tree-flow.h. (enum ssa_op_iter_type, struct ssa_operand_iterator_d, SSA_OP*, FOR_EACH_SSA*, SINGLE_SSA*, ZERO_SSA_OPERANDS, NUM_SSA_OPERANDS): Relocate from tree-ssa-operands.h. (delink_imm_use, link_imm_use_to_list, link_imm_use, set_ssa_use_from_ptr, link_imm_use_stmt, relink_imm_use, relink_imm_use_stmt, end_readonly_imm_use_p, first_readonly_imm_use, next_readonly_imm_use, has_zero_uses, has_single_use, single_imm_use, num_imm_uses, get_use_from_ptr, get_def_from_ptr, phi_arg_index_from_use, op_iter_done, op_iter_next_def, op_iter_next_tree, clear_and_done_ssa_iter, op_iter_init, op_iter_init_use, op_iter_init_def, op_iter_init_tree, single_ssa_tree_operand, single_ssa_use_operand, single_ssa_def_operand, zero_ssa_operands, num_ssa_operands, delink_stmt_imm_use, single_phi_def, op_iter_init_phiuse, op_iter_init_phidef, end_imm_use_stmt_p, end_imm_use_stmt_traverse, move_use_after_head, link_use_stmts_after, first_imm_use_stmt, next_imm_use_stmt, first_imm_use_on_stmt, end_imm_use_on_stmt_p, next_imm_use_on_stmt): Relocate from tree-flow-inline.h. * tree-outof-ssa.h: Change _SSAEXPAND_H macro to GCC_TREE_OUTOF_SSA_H. From-SVN: r203068
Andrew MacLeod committed -
2013-10-01 Tim Shen <timshen91@gmail.com> PR libstdc++/58576 * include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy) (_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch. * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New. From-SVN: r203067
Tim Shen committed -
2013-10-01 Vidya Praveen <vidyapraveen@arm.com> * aarch64-simd.md (aarch64_<ANY_EXTEND:su><ADDSUB:optab>l2<mode>_internal): Rename to ... (aarch64_<ANY_EXTEND:su><ADDSUB:optab>l<mode>_hi_internal): ... this; Insert '\t' to output template. (aarch64_<ANY_EXTEND:su><ADDSUB:optab>l<mode>_lo_internal): New. (aarch64_saddl2<mode>, aarch64_uaddl2<mode>): Modify to call gen_aarch64_<ANY_EXTEND:su><ADDSUB:optab>l<mode>_hi_internal() instead. (aarch64_ssubl2<mode>, aarch64_usubl2<mode>): Ditto. gcc/testsuite/ 2013-10-01 Vidya Praveen <vidyapraveen@arm.com> * gcc.target/aarch64/vect_saddl_1.c: New. From-SVN: r203066
Vidya Praveen committed -
* doc/install.texi (Host/target specific installation notes for GCC): Put @anchor before @heading. * doc/gcc.texi (titlepage): Use @uref and http:// prefix for website. Use @email for email addresses. From-SVN: r203065
Uros Bizjak committed -
* tree-ssa-threadedge.c (thread_across_edge): Make path a pointer to a vec. Only delete the path if we create one without successfully registering a jump thread. * tree-ssa-threadupdate.h (register_jump_thread): Pass in path vector as a pointer. * tree-ssa-threadupdate.c (threaded_edges): Remove. No longer used (paths): New vector of jump threading paths. (THREAD_TARGET, THREAD_TARGET2): Remove accessor macros. (THREAD_PATH): New accessor macro for the entire thread path. (lookup_redirection_data): Get intermediate and final outgoing edge from the thread path. (create_edge_and_update_destination_phis): Copy the threading path. (ssa_fix_duplicate_block_edges): Get edges and block types from the jump threading path. (ssa_redirect_edges): Get edges and block types from the jump threading path. Free the path vector. (thread_block): Get edges from the jump threading path. Look at the entire path to see if we thread to a loop exit. If we cancel a jump thread request, then free the path vector. (thread_single_edge): Get edges and block types from the jump threading path. Free the path vector. (thread_through_loop_header): Get edges and block types from the jump threading path. Free the path vector. (mark_threaded_blocks): Iterate over the vector of paths and store the path on the appropriate edge. Get edges and block types from the jump threading path. (mark_threaded_blocks): Get edges and block types from the jump threading path. Free the path vector. (thread_through_all_blocks): Use the vector of paths rather than a vector of 3-edge sets. (register_jump_thread): Accept pointer to a path vector rather than the path vector itself. Store the path vector for later use. Simplify. From-SVN: r203061
Jeff Law committed -
2013-10-01 Jakub Jelinek <jakub@redhat.com> Andreas Krebbel <Andreas.Krebbel@de.ibm.com> PR target/58574 * config/s390/s390.c (s390_split_branches): Modify check for table jump insns. (s390_chunkify_start): Rearrange table jump insn check in order to deal with compare and branch insns correctly. 2013-10-01 Jakub Jelinek <jakub@redhat.com> PR target/58574 * gcc.c-torture/execute/pr58574.c: New testcase. Co-Authored-By: Andreas Krebbel <Andreas.Krebbel@de.ibm.com> From-SVN: r203060
Jakub Jelinek committed -
2013-10-01 Kugan Vivekanandarajah <kuganv@linaro.org> gcc/ PR target/58578 Revert 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.md (arm_ashldi3_1bit): define_insn into define_insn_and_split. (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. (shiftsi3_compare): New pattern. (rrx): New pattern. * config/arm/unspecs.md (UNSPEC_RRX): New. gcc/testsuite PR target/58578 * gcc.target/arm/pr58578.c: New test. From-SVN: r203059
Kugan Vivekanandarajah committed -
re PR tree-optimization/58556 (gen-vect-26.c / gen-vect-28.c regression merging from r202839 to r202981) [gcc/testsuite/] 2013-10-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR tree-optimization/58556 * gcc.dg/tree-ssa/gen-vect-26.c: Use dynamic vector cost model. * gcc.dg/tree-ssa/gen-vect-28.c: Likewise. From-SVN: r203057
Kyrylo Tkachov committed -
* stmt.c (expand_asm_operands): Revert part of 2013-09-24 special casing inout operands. From-SVN: r203056
Alan Modra committed
-