aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-03Mark ChangeLogRichard Biener
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@239014 138bc75d-0d04-0410-961f-82ee72b054a4
2016-08-01 PR c/7652Marek Polacek
* config/i386/i386.c (ix86_expand_args_builtin): Add break. (ix86_expand_round_builtin): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238958 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-26Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238738 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-25Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238697 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-24Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238677 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-23Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238671 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-22gcc/testsuite/ChangeLog:Andre Vehreschild
2016-07-22 Andre Vehreschild <vehre@gcc.gnu.org> Backport from trunk: PR fortran/70842 * gfortran.dg/select_type_35.f03: New test. gcc/fortran/ChangeLog: 2016-07-22 Andre Vehreschild <vehre@gcc.gnu.org> Backport from trunk: PR fortran/70842 * simplify.c (gfc_simplify_len): Only for unlimited polymorphic types replace the expression's _data ref with a _len ref. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238646 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-22 PR c++/69223 - ICE with deduced template return type.Jason Merrill
* semantics.c (apply_deduced_return_type): Call complete_type_or_else before building the new RESULT_DECL. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238631 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-22 PR c++/71913 - missing copy elision with new.Jason Merrill
* call.c (unsafe_copy_elision_p): It's OK to elide when initializing an unknown object. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238619 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-22Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238614 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-21Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238554 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-20 PR c++/71909Jakub Jelinek
* parser.c (cp_parser_save_member_function_body): Consume __transaction_relaxed or __transaction_atomic with optional attribute. Only skip catch with block if try keyword is seen. * g++.dg/parse/pr71909.C: New test. * g++.dg/tm/pr71909.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238527 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-20Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238503 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-19 PR middle-end/71874Jakub Jelinek
* builtins.c (fold_builtin_memory_op): Use get_addr_base_and_unit_offset instead of get_ref_base_and_extent. * g++.dg/torture/pr71874.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238487 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-19Fix PR fortran/71688Martin Jambor
2016-07-19 Martin Jambor <mjambor@suse.cz> PR fortran/71688 * trans-decl.c (gfc_generate_function_code): Use cgraph_get_create_node rather than cgraph_create_node to get a call graph node. testsuite/ * gfortran.dg/pr71688.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238477 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-19Fix compiling large filesMartin Liska
Backported from mainline 2016-03-15 Richard Henderson <rth@redhat.com> * line-map.c (new_linemap): Make alloc_size a size_t. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238473 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-19 Backported from mainlineJakub Jelinek
2016-07-18 Jakub Jelinek <jakub@redhat.com> PR c++/71871 * typeck.c (build_x_conditional_expr): Revert the 2012-10-25 change. * g++.dg/ext/vector31.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238465 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-19 Backported from mainlineJakub Jelinek
2016-07-11 Jakub Jelinek <jakub@redhat.com> PR middle-end/71758 * omp-low.c (expand_omp_target): Gimplify device. * c-c++-common/gomp/pr71758.c: New test. * gfortran.dg/gomp/pr71758.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238463 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-19Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238450 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-18Fix PR rtl-optimization/71634Martin Liska
Backported from mainline 2016-07-12 Martin Liska <mliska@suse.cz> * ira-build.c (mark_loops_for_removal): Properly iterate loops. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238429 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-18Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238421 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-17Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238416 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-162016-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
Backport from trunk: PR fortran/71764 * trans-expr.c (gfc_trans_structure_assign): Remove assert. * gfortran.dg/pr71764.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238412 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-16Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238406 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-15Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238359 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-14Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238316 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-13Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238274 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-12Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238234 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-11Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238199 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-10Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238193 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-09Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238188 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-08Do not consider COMPLEX_TYPE as fold_convertible_pMartin Liska
Backported from mainline 2016-07-08 Martin Liska <mliska@suse.cz> PR middle-end/71606 * fold-const.c (fold_convertible_p): As COMPLEX_TYPE folding produces SAVE_EXPRs, thus return false for the type. Backported from mainline 2016-07-08 Martin Liska <mliska@suse.cz> * gcc.dg/torture/pr71606.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238174 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-08Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238152 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-07-01 Jakub Jelinek <jakub@redhat.com> PR fortran/71717 * trans-openmp.c (gfc_omp_privatize_by_reference): Return false for GFC_DECL_ASSOCIATE_VAR_P with POINTER_TYPE. * testsuite/libgomp.fortran/associate3.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238148 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-06-30 Jakub Jelinek <jakub@redhat.com> PR fortran/71704 * parse.c (matchs, matcho): If spec_only, only gfc_match the keyword and if successful, goto do_spec_only. (matchds, matchdo): Define. (decode_omp_directive): Add spec_only local var and set it. Use matchds or matchdo macros instead of matchs or matcho for declare target, declare simd, declare reduction and threadprivate directives. Return ST_GET_FCN_CHARACTERISTICS if a non-declarative directive could be matched. (next_statement): For ST_GET_FCN_CHARACTERISTICS restore gfc_current_locus from old_locus even if there is no label. * gfortran.dg/gomp/pr71704.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238147 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-06-30 Jakub Jelinek <jakub@redhat.com> PR fortran/71705 * trans-openmp.c (gfc_trans_omp_clauses): Set TREE_ADDRESSABLE on decls in to/from clauses. * gfortran.dg/gomp/pr71705.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238146 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-06-28 Jakub Jelinek <jakub@redhat.com> PR middle-end/71626 * config/i386/i386.c (ix86_expand_vector_move): For SUBREG of a constant, force its SUBREG_REG into memory or register instead of whole op1. * gcc.c-torture/execute/pr71626-1.c: New test. * gcc.c-torture/execute/pr71626-2.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238145 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-06-21 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/71588 * tree-ssa-strlen.c (valid_builtin_call): New function. (adjust_last_stmt, strlen_optimize_stmt): Use it. * gcc.dg/pr71558.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238144 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-06-10 Jakub Jelinek <jakub@redhat.com> PR middle-end/71494 * tree-nested.c (convert_nonlocal_reference_stmt): For GIMPLE_GOTO without LABEL_DECL, set *handled_ops_p to false instead of true. * gcc.c-torture/execute/pr71494.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238143 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-05-17 Jakub Jelinek <jakub@redhat.com> PR sanitizer/71160 * asan/asan_malloc_linux.cc: Cherry pick upstream r254395 and r269633. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238142 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-03-29 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/70429 * combine.c (simplify_shift_const_1): For ASHIFTRT don't optimize (cst1 >> count) >> cst2 into (cst1 >> cst2) >> count if mode != result_mode. * gcc.c-torture/execute/pr70429.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238141 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-03-15 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/70222 * combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT optimization if mode is different from result_mode, queue up masking of the result in outer_op. Formatting fix. * gcc.c-torture/execute/pr70222-1.c: New test. * gcc.c-torture/execute/pr70222-2.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238140 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-03-11 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/70169 * tree-ssa-loop.c (gen_lsm_tmp_name): Handle FUNCTION_DECL and LABEL_DECL like VAR_DECL. Emit nothing instead of gcc_unreachable for unknown codes. * gcc.dg/pr70169.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238139 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-03-09 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/70152 * tree-sra.c (replace_removed_params_ssa_names): Copy over SSA_NAME_OCCURS_IN_ABNORMAL_PHI from old_name to new_name. * gcc.dg/pr70152.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238138 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-02-26 Jakub Jelinek <jakub@redhat.com> Eric Botcazou <ebotcazou@adacore.com> PR rtl-optimization/69891 * dse.c (scan_insn): If we can't figure out memset arguments or they are non-constant, call clear_rhs_from_active_local_stores. * gcc.target/i386/pr69891.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238137 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-02-19 Jakub Jelinek <jakub@redhat.com> PR c++/67767 * parser.c (cp_parser_std_attribute_spec_seq): Don't assume attr_spec is always single element chain, chain all the attributes properly together in the right order. * g++.dg/cpp0x/pr67767.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238136 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-02-16 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/69802 * tree-ssa-reassoc.c (update_range_test): If op is SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive op == 1 test of precision 1 integral op, otherwise handle that case as op itself. Fix up formatting. (optimize_range_tests_to_bit_test, optimize_range_tests): Fix up formatting. * gcc.dg/pr69802.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238135 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-02-15 Jakub Jelinek <jakub@redhat.com> PR c++/69797 * c-common.c (sync_resolve_size): Diagnose too few arguments even when params is non-NULL empty vector. * c-c++-common/pr69797.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238134 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2016-03-02 Jakub Jelinek <jakub@redhat.com> PR middle-end/70022 * gcc.dg/pr70022.c: Add -w -Wno-psabi to dg-options. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238133 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-07 Backported from mainlineJakub Jelinek
2014-12-12 Richard Biener <rguenther@suse.de> PR middle-end/64280 * tree-cfg.c (replace_uses_by): Guard assert properly. * g++.dg/torture/pr64280.C: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@238132 138bc75d-0d04-0410-961f-82ee72b054a4