- 24 Oct, 2013 25 commits
-
-
PR rtl/58542 * optabs.c (maybe_emit_atomic_exchange): Use create_input_operand instead of create_convert_operand_to. (maybe_emit_sync_lock_test_and_set): Likewise. (expand_atomic_compare_and_swap): Likewise. (maybe_emit_compare_and_swap_exchange_loop): Don't convert_modes. From-SVN: r204040
Richard Henderson committed -
2013-08-24 Sriraman Tallam <tmsriram@google.com> * cgraph.c (cgraph_fnver_htab): Move GTY((...)) to be before htab_t. Change param_is to use the struct and not the pointer to the struct. From-SVN: r204039
Sriraman Tallam committed -
From-SVN: r204035
Tobias Burnus committed -
From-SVN: r204034
Ian Lance Taylor committed -
* go.test/go-test.exp (errchk): Combine quoted strings in comments. From-SVN: r204033
Ian Lance Taylor committed -
* builtins.c (dummy_object, gimplify_va_arg_expr): Move to gimplify.c. * gimplify.c (build_va_arg_indirect_ref, std_gimplify_va_arg_expr): Move to targhooks.c. (dummy_object, gimplify_va_arg_expr): Relocate from builtins.c. * targhooks.c (build_va_arg_indirect_ref, std_gimplify_va_arg_expr): Relocate from gimplify.c. * targhooks.h: Add 2 prototypes. * tree.h. Delete 2 prototypes. From-SVN: r204032
Andrew MacLeod committed -
tree-ssa-loop-ivopts.c (multiplier_allowed_in_address_p ): Check both [reg+mult*reg] and [mult*reg] to determine if multiplier is allowed. * tree-ssa-loop-ivopts.c (multiplier_allowed_in_address_p ): Check both [reg+mult*reg] and [mult*reg] to determine if multiplier is allowed. From-SVN: r204031
Igor Shevlyakov committed -
convert.c (convert_to_real): Guard those unsafe math function convertions with flag_unsafe_math_optimizations. 2013-10-24 Cong Hou <congh@google.com> * convert.c (convert_to_real): Guard those unsafe math function convertions with flag_unsafe_math_optimizations. Handle sqrt() specially. 2013-10-24 Cong Hou <congh@google.com> * gcc.c-torture/execute/20030125-1.c: Update. From-SVN: r204028
Cong Hou committed -
PR ipa/58712 * cgraph.c (cgraph_create_edge_1): Add indirect_unknown_callee as argument. (cgraph_create_edge): Use the new argument. (cgraph_create_indirect_edge): Likewise. From-SVN: r204026
Markus Trippelsdorf committed -
(arc_ifcvt) <case 1 and 2>: Check that arc_ccfsm_post_advance changes statep->state. From-SVN: r204025
Joern Rennecke committed -
* gcc/config/arc/arc.c (arc_ccfsm_post_advance): Also handle TYPE_UNCOND_BRANCH. From-SVN: r204024
Joern Rennecke committed -
2013-10-24 Tobias Burnus <burnus@net-b.de> PR fortran/44646 * trans-stmt.c (struct forall_info): Add do_concurrent field. (gfc_trans_forall_1): Set it for do concurrent. (gfc_trans_forall_loop): Mark those as annot_expr_ivdep_kind. 2013-10-24 Tobias Burnus <burnus@net-b.de> PR fortran/44646 * gfortran.dg/vect/vect-do-concurrent-1.f90: New. From-SVN: r204023
Tobias Burnus committed -
2013-10-24 Dehao Chen <dehao@google.com> * g++.dg/opt/devirt3.C: New test. From-SVN: r204022
Dehao Chen committed -
2013-08-24 Tobias Burnus <burnus@net-b.de> PR other/33426 * c-pragma.c (init_pragma) Add #pragma ivdep handling. * c-pragma.h (pragma_kind): Add PRAGMA_IVDEP. PR other/33426 * c-parser.c (c_parser_pragma, c_parser_for_statement): Handle PRAGMA_IVDEP. (c_parser_statement_after_labels): Update call. PR other/33426 * tree-cfg.c (replace_loop_annotate): New function. (execute_build_cfg): Call it. * gimplify.c (gimple_boolify, gimplify_expr): Handle * ANNOTATE_EXPR. * internal-fn.c (expand_ANNOTATE): New function. * internal-fn.def (ANNOTATE): Define as new internal function. * tree-core.h (tree_node_kind): Add annot_expr_ivdep_kind. * tree-pretty-print.c (dump_generic_node): Handle ANNOTATE_EXPR. * tree.def (ANNOTATE_EXPR): New DEFTREECODE. * doc/extend.texi (Pragmas): Document #pragma ivdep. * doc/generic.texi (Expressions): Document ANNOTATE_EXPR. PR other/33426 * testsuite/gcc.dg/ivdep.c: New. * testsuite/gcc.dg/vect/vect-ivdep-1.c: New. From-SVN: r204021
Tobias Burnus committed -
[gcc/testsuite/] 2013-10-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.target/aarch64/c-output-mod-2.c: Fix for -fPIC. * gcc.target/aarch64/c-output-mod-3.c: Likewise. From-SVN: r204019
Kyrylo Tkachov committed -
Co-Authored-By: Marcus Shawcroft <marcus.shawcroft@arm.com> From-SVN: r204018
Ian Bolton committed -
From-SVN: r204017
Nick Clifton committed -
* gengtype.c (is_file_equal): Check that files will be same length. From-SVN: r204015
Michael Matz committed -
PR c++/58705 cp/ * typeck2.c (check_narrowing): Don't check narrowing when the scalar initializer is empty. testsuite/ * g++.dg/parse/pr58705.C: New test. From-SVN: r204014
Marek Polacek committed -
2013-10-25 Christian Bruel <christian.bruel@st.com> * config.gcc (sh-*): Add sh-mem.o to extra_obj. * gcc/config/sh/t-sh (sh-mem.o): New rule. * gcc/config/sh/sh-mem.cc (expand_block_move): Moved here. (sh4_expand_cmpstr): New function. * gcc/config/sh/sh.c (force_into, expand_block_move): Move to sh-mem.cc * gcc/config/sh/sh-protos.h (sh4_expand_cmpstr): Declare. * gcc/config/sh/sh.md (cmpstrsi, cmpstr_t): New patterns. (rotlhi3_8): Rename. From-SVN: r204013
Christian Bruel committed -
c/ * c-parser.c (c_parser_struct_declaration): Add a comment. (c_parser_declarator): Don't allow _Alignas here. testsuite/ * gcc.dg/c1x-align-5.c: Add more testing. From-SVN: r204007
Marek Polacek committed -
2013-10-24 Jan-Benedict Glaw <jbglaw@lug-owl.de> * configure.ac (ZW_PROG_COMPILER_DEPENDENCIES): Use CXX instead of CC. * Makefile.in (CXXDEPMODE): Assign and change users. (CCDEPMODE): Delete. * configure: Regenerate. From-SVN: r204006
Jan-Benedict Glaw committed -
* gcc-interface/Make-lang.in (ADA_DEPS): Fix quoting. From-SVN: r204005
Rainer Orth committed -
2013-10-23 David Malcolm <dmalcolm@redhat.com> * gengtype-parse.c (require_without_advance): New. (type): For GTY-marked types that are not GTY((user)), parse any base classes, requiring them to be single-inheritance, and not be templates. For non-GTY-marked types and GTY((user)), continue to skip over any C++ inheritance specification. * gengtype-state.c (state_writer::write_state_struct_type): Write base class of type (if any). (read_state_struct_type): Read base class of type (if any). * gengtype.c (new_structure): Add a "base_class" parameter. (create_optional_field_): Update for new parameter to new_structure. (adjust_field_rtx_def): Likewise. (adjust_field_tree_exp): Likewise. * gengtype.h (struct type): Add "base_class" field to the s union field. (new_structure): Add "base" parameter. From-SVN: r204003
David Malcolm committed -
From-SVN: r204000
GCC Administrator committed
-
- 23 Oct, 2013 15 commits
-
-
From-SVN: r203996
Ian Lance Taylor committed -
2013-10-23 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <paolo.carlini@oracle.com> * testsuite/util/testsuite_containergen.h: New. * testsuite/util/testsuite_iterators.h (test_container<>::val): Add. * testsuite/25_algorithms/nth_element/random_test.cc: New, use the above. * testsuite/25_algorithms/partial_sort/random_test.cc: Likewise. * testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise. * testsuite/25_algorithms/sort/random_test.cc: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r203995
Chris Jefferson committed -
* gcc.target/powerpc/direct-move.h: Fix header for executable tests. From-SVN: r203994
Pat Haugen committed -
From-SVN: r203993
Gerald Pfeifer committed -
From-SVN: r203992
Gerald Pfeifer committed -
PR target/57756 Replace further references to global_options in functions ix86_option_override_internal and ix86_valid_target_attribute_tree in config/i386/i386.c. PR target/57756 * config/i386/i386.c (ix86_option_override_internal): Change TARGET_SSE2 to TARGET_SSE2_P (opts->...) (ix86_valid_target_attribute_tree): Change TARGET_64BIT to TARGET_64BIT_P (opts->...) Change TARGET_SSE to TARGET_SSE_P (opts->...) From-SVN: r203991
Sriraman Tallam committed -
LWG 2165 * method.c (defaulted_late_check): Delete on eh-spec mismatch. (maybe_explain_implicit_delete): Explain it. From-SVN: r203989
Jason Merrill committed -
c-family/ * c-format.c (gcc_cxxdiag_char_table): Add %X. cp/ * error.c (eh_spec_to_string): New. (cp_printer): Use it for %X. From-SVN: r203988
Jason Merrill committed -
* tree-ssa-loop.h: Remove include files. * gengtype.c (open_base_files): Adjust include list for gtype-desc.c. * cfgloopmanip.c: Move required includes from tree-ssa-loop.h. * graphite-clast-to-gimple.c: Likewise. * graphite-scop-detection.c: Likewise. * graphite-sese-to-poly.c: Likewise. * ipa-inline-analysis.c: Likewise. * ipa-pure-const.c: Likewise. * loop-init.c: Likewise. * passes.c: Likewise. * predict.c: Likewise. * tree-cfg.c: Likewise. * tree-cfgcleanup.c: Likewise. * tree-chrec.c: Likewise. * tree-data-ref.c: Likewise. * tree-loop-distribution.c: Likewise. * tree-parloops.c: Likewise. * tree-predcom.c: Likewise. * tree-scalar-evolution.c: Likewise. * tree-ssa-address.c: Likewise. * tree-ssa.c: Likewise. * tree-ssa-dce.c: Likewise. * tree-ssa-loop.c: Likewise. * tree-ssa-loop-im.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-loop-manip.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-ssa-loop-prefetch.c: Likewise. * tree-ssa-loop-unswitch.c: Likewise. * tree-ssa-reassoc.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-loop.c: Likewise. * tree-vect-loop-manip.c: Likewise. * tree-vectorizer.c: Likewise. * tree-vect-stmts.c: Likewise. * tree-vrp.c: Likewise. From-SVN: r203987
Andrew MacLeod committed -
* class.c (user_provided_p): A function deleted on its declation in the class is not user-provided. (type_build_ctor_call): Also force a ctor call if we might have a deleted or private trivial ctor. (type_build_dtor_call): New. (deduce_noexcept_on_destructors): Remove obsolete code. * cp-tree.h: Declare type_build_dtor_call. * decl.c (expand_static_init): Make sure trivial dtors are callable. (cxx_maybe_build_cleanup): Likewise. * except.c (build_throw): Likewise. * init.c (build_value_init): Handle trivial but not callable ctors. (perform_target_ctor): Make sure trivial dtor is callable. (perform_member_init): Likewise. (expand_cleanup_for_base): Likewise. (build_vec_delete_1): Likewise. (build_delete): Likewise. (push_base_cleanups): Likewise. (build_new_1): Avoid redundant error. * method.c (synthesized_method_walk): Can't ever exit early in C++11. Always process the subobject destructor. * semantics.c (finish_compound_literal): Make sure trivial dtor is callable. * typeck2.c (split_nonconstant_init): Likewise. From-SVN: r203985
Jason Merrill committed -
From-SVN: r203984
Jason Merrill committed -
2013-10-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (mulv8hi3): Adjust for little endian. From-SVN: r203980
Bill Schmidt committed -
PR tree-optimization/58775 PR tree-optimization/58791 * tree-ssa-reassoc.c (reassoc_stmt_dominates_stmt_p): New function. (insert_stmt_after): Rewritten, don't move the stmt, but really insert it. (get_stmt_uid_with_default): Remove. (build_and_add_sum): Use insert_stmt_after and reassoc_stmt_dominates_stmt_p. Fix up uid if bb contains only labels. (update_range_test): Set uid on stmts added by force_gimple_operand_gsi. Don't immediately modify statements in inter-bb optimization, just update oe->op values. (optimize_range_tests): Return bool whether any changed have been made. (update_ops): New function. (struct inter_bb_range_test_entry): New type. (maybe_optimize_range_tests): Perform statement changes here. (not_dominated_by, appears_later_in_bb, get_def_stmt, ensure_ops_are_available): Remove. (find_insert_point): Rewritten. (rewrite_expr_tree): Remove MOVED argument, add CHANGED argument, return LHS of the (new resp. old) stmt. Don't call ensure_ops_are_available, don't reuse SSA_NAMEs, recurse first instead of last, move new stmt at the right place. (linearize_expr, repropagate_negates): Don't reuse SSA_NAMEs. (negate_value): Likewise. Set uids. (break_up_subtract_bb): Initialize uids. (reassociate_bb): Adjust rewrite_expr_tree caller. (do_reassoc): Don't call renumber_gimple_stmt_uids. * gcc.dg/guality/pr58791-1.c: New test. * gcc.dg/guality/pr58791-2.c: New test. * gcc.dg/guality/pr58791-3.c: New test. * gcc.dg/guality/pr58791-4.c: New test. * gcc.dg/guality/pr58791-5.c: New test. * gcc.c-torture/compile/pr58775.c: New test. * gcc.dg/tree-ssa/reassoc-28.c: Don't scan reassoc1 dump. From-SVN: r203979
Jakub Jelinek committed -
2013-10-23 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/58850 * include/std/chrono (minutes, hours): Change typedefs to uniformly use int64_t. * testsuite/20_util/duration/arithmetic/58850.cc: New. From-SVN: r203978
Paolo Carlini committed -
PR target/58838 * config/rs6000/rs6000.md (mulsi3_internal1 and splitter): Add TARGET_32BIT final condition. (mulsi3_internal2 and splitter): Same. From-SVN: r203977
David Edelsohn committed
-