r235040 | jakub | 2016-04-15 17:53:01 +0200 (Fr, 15 Apr 2016) | 4 lines PR target/70662 * config/i386/sse.md (define_insn "_vec_dup"): Fix mode size check. ------------------------------------------------------------------------ r235036 | jakub | 2016-04-15 17:01:08 +0200 (Fr, 15 Apr 2016) | 3 lines * BASE-VER: Set to 6.0.1. * DEV-PHASE: Set to prerelease. ------------------------------------------------------------------------ r235034 | jakub | 2016-04-15 16:52:49 +0200 (Fr, 15 Apr 2016) | 2 lines Create gcc-6-branch ------------------------------------------------------------------------ r235033 | jakub | 2016-04-15 16:51:06 +0200 (Fr, 15 Apr 2016) | 13 lines PR c++/70594 * constexpr.c (constexpr_call_table): Preserve in GC. (struct fundef_copy, struct fundef_copies_table_t): Delete. (fundef_copies_table): Preserve in GC. Change to pointer to tree->tree hash. (maybe_initialize_fundef_copies_table): Adjust. (get_fundef_copy): Return a TREE_LIST. Use non-inserting search. (save_fundef_copy): Adjust for a TREE_LIST. (cxx_eval_call_expression): Adjust for a fundef_copy TREE_LIST. (fini_constexpr): New. * cp-tree.h (fini_constexpr): Declare. * decl2.c (c_parse_final_cleanups): Call fini_constexpr. ------------------------------------------------------------------------ r235032 | mpolacek | 2016-04-15 16:46:06 +0200 (Fr, 15 Apr 2016) | 6 lines PR c/70671 * c-typeck.c (build_unary_op): Pass location down to error and warning call. * gcc.dg/bitfld-22.c: New test. ------------------------------------------------------------------------ r235031 | amonakov | 2016-04-15 16:26:40 +0200 (Fr, 15 Apr 2016) | 3 lines config/nvptx/nvptx.opt (moptimize): Add a period at end of help text. ------------------------------------------------------------------------ r235029 | ktkachov | 2016-04-15 15:42:16 +0200 (Fr, 15 Apr 2016) | 5 lines [ARM][doc] Document deprecation of pre-ARMv4T architecture revisions * doc/invoke.texi (ARM Options): Add note on deprecation of pre-ARMv4T architecture revisions. ------------------------------------------------------------------------ r235028 | bernds | 2016-04-15 15:35:12 +0200 (Fr, 15 Apr 2016) | 12 lines i386: Don't convert stack operations to pushes if using a redzone. * config/i386/i386-protos.h (ix86_using_red_zone): Declare. * config/i386/i386.c (ix86_using_red_zone): No longer static. * config/i386/i386.md (stack decrement to push peepholes): Guard with !x86_using_red_zone (). testsuite/ * gcc.target/i386/pr46470.c: Add -mno-red-zone to dg-options for x86_64. ------------------------------------------------------------------------ r235027 | mpolacek | 2016-04-15 15:15:23 +0200 (Fr, 15 Apr 2016) | 6 lines PR c/70651 * c-common.c (build_va_arg): Change two asserts into errors and return error_mark_node. * c-c++-common/pr70651.c: New test. ------------------------------------------------------------------------ r235025 | jakub | 2016-04-15 15:07:43 +0200 (Fr, 15 Apr 2016) | 5 lines PR c++/70675 * tree-pretty-print.c (do_niy): Add FLAGS argument, pass it down to dump_generic_node. (NIY): Pass also flags to do_niy. ------------------------------------------------------------------------ r235024 | ktkachov | 2016-04-15 14:45:20 +0200 (Fr, 15 Apr 2016) | 8 lines [testsuite] PR rtl-optimization/70681: XFAIL ira-shrinkwrap-prep-2.c and pr10474.c tests on arm, powerpc PR rtl-optimization/70681 * gcc.dg/ira-shrinkwrap-prep-2.c: XFAIL shrinkwrapping dump scan on arm and powerpc. * gcc.dg/pr10474.c: Likewise. ------------------------------------------------------------------------ r235021 | jakub | 2016-04-15 14:29:32 +0200 (Fr, 15 Apr 2016) | 5 lines PR c++/69517 PR c++/70019 PR c++/70588 * g++.dg/cpp1y/vla11.C: Revert for real. ------------------------------------------------------------------------ r235020 | jakub | 2016-04-15 14:24:18 +0200 (Fr, 15 Apr 2016) | 55 lines PR c/70436 c/ * c-parser.c (c_parser_pragma): Add IF_P argument, pass it down where needed. (c_parser_external_declaration, c_parser_struct_or_union_specifier, c_parser_parameter_declaration, c_parser_compound_statement_nostart, c_parser_objc_class_instance_variables, c_parser_objc_methodprotolist): Adjust c_parser_pragma callers. (c_parser_statement_after_labels): Likewise. Adjust c_parser_cilk_for caller. (c_parser_omp_structured_block): Add IF_P argument, pass it down to c_parser_statement. (c_parser_oacc_data, c_parser_oacc_host_data, c_parser_oacc_loop, c_parser_oacc_kernels_parallel, c_parser_omp_critical, c_parser_omp_simd, c_parser_omp_for, c_parser_omp_master, c_parser_omp_ordered, c_parser_omp_parallel, c_parser_omp_single, c_parser_omp_task, c_parser_omp_taskgroup, c_parser_omp_distribute, c_parser_omp_teams, c_parser_omp_target_data, c_parser_omp_target, c_parser_omp_taskloop, c_parser_omp_construct, c_parser_cilk_grainsize, c_parser_cilk_simd, c_parser_cilk_for): Add IF_P argument, pass it down where needed. (c_parser_omp_for_loop): Likewise. Clear IF_P if nbraces. (c_parser_omp_sections_scope): Adjust c_parser_omp_structured_block calls. cp/ * parser.c (cp_parser_pragma): Add IF_P argument, pass it down where needed. (cp_parser_declaration_seq_opt, cp_parser_member_specification_opt, cp_parser_objc_interstitial_code, cp_parser_omp_declare_simd, cp_parser_oacc_routine): Adjust cp_parser_pragma callers. (cp_parser_statement): Likewise. Adjust cp_parser_cilk_for caller. (cp_parser_omp_structured_block): Add IF_P argument, pass it down to cp_parser_statement. (cp_parser_oacc_data, cp_parser_oacc_host_data, cp_parser_oacc_loop, cp_parser_oacc_kernels_parallel, cp_parser_omp_critical, cp_parser_omp_simd, cp_parser_omp_for, cp_parser_omp_master, cp_parser_omp_ordered, cp_parser_omp_parallel, cp_parser_omp_single, cp_parser_omp_task, cp_parser_omp_taskgroup, cp_parser_omp_distribute, cp_parser_omp_teams, cp_parser_omp_target_data, cp_parser_omp_target, cp_parser_omp_taskloop, cp_parser_omp_construct, cp_parser_cilk_grainsize, cp_parser_cilk_simd, cp_parser_cilk_for): Add IF_P argument, pass it down where needed. (cp_parser_omp_for_loop): Likewise. Clear IF_P if nbraces. (cp_parser_omp_sections_scope): Adjust cp_parser_omp_structured_block calls. testsuite/ * c-c++-common/Wparentheses-1.c: New test. * c-c++-common/gomp/Wparentheses-1.c: New test. * c-c++-common/gomp/Wparentheses-2.c: New test. * c-c++-common/gomp/Wparentheses-3.c: New test. * c-c++-common/gomp/Wparentheses-4.c: New test. * c-c++-common/cilk-plus/PS/Wparentheses-1.c: New test. * c-c++-common/cilk-plus/CK/Wparentheses-1.c: New test. * c-c++-common/goacc/Wparentheses-1.c: New test. ------------------------------------------------------------------------ r235017 | tschwinge | 2016-04-15 13:49:39 +0200 (Fr, 15 Apr 2016) | 18 lines Split out OMP constructs' SIMD clone supporting code gcc/ * omp-low.c (simd_clone_struct_alloc, simd_clone_struct_copy) (simd_clone_vector_of_formal_parm_types) (simd_clone_clauses_extract, simd_clone_compute_base_data_type) (simd_clone_mangle, simd_clone_create) (simd_clone_adjust_return_type, create_tmp_simd_array) (simd_clone_adjust_argument_types, simd_clone_init_simd_arrays) (struct modify_stmt_info, ipa_simd_modify_stmt_ops) (ipa_simd_modify_function_body, simd_clone_linear_addend) (simd_clone_adjust, expand_simd_clones, ipa_omp_simd_clone) (pass_data_omp_simd_clone, class pass_omp_simd_clone) (pass_omp_simd_clone::gate, make_pass_omp_simd_clone): Move into... * omp-simd-clone.c: ... this new file. (simd_clone_vector_of_formal_parm_types): Make it static. * Makefile.in (OBJS): Add omp-simd-clone.o. ------------------------------------------------------------------------ r235008 | kyukhin | 2016-04-15 10:25:49 +0200 (Fr, 15 Apr 2016) | 9 lines AVX-512. Fix mem operand modifier for Intel syntax. PR target/70662 gcc/ * config/i386/sse.md: Use proper memory operand modifiers. testsuite/gcc/ * gcc.target/i386/pr70662.c: New test. ------------------------------------------------------------------------ r235006 | rguenth | 2016-04-15 09:28:44 +0200 (Fr, 15 Apr 2016) | 10 lines 2016-04-15 Richard Biener Alan Modra PR tree-optimization/70130 * tree-vect-data-refs.c (vect_supportable_dr_alignment): Detect when alignment stays not the same and no not use the realign scheme then. * gcc.dg/vect/O3-pr70130.c: New testcase. ------------------------------------------------------------------------ r235003 | jason | 2016-04-15 06:02:49 +0200 (Fr, 15 Apr 2016) | 4 lines PR c++/70494 * decl.c (cxx_maybe_build_cleanup): Handle non-decls. * typeck2.c (split_nonconstant_init_1): Use it. ------------------------------------------------------------------------ r235002 | jason | 2016-04-15 04:23:05 +0200 (Fr, 15 Apr 2016) | 4 lines PR c++/70528 * class.c (type_has_constexpr_default_constructor): Return true for an implicitly declared constructor. ------------------------------------------------------------------------ r234999 | gccadmin | 2016-04-15 02:16:16 +0200 (Fr, 15 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234995 | meissner | 2016-04-15 01:21:30 +0200 (Fr, 15 Apr 2016) | 15 lines [gcc] 2016-04-14 Michael Meissner PR target/70669 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add direct move handlers for KFmode. Change TFmode handlers test from FLOAT128_IEEE_P to FLOAT128_VECTOR_P. [gcc/testsuite] 2016-04-14 Michael Meissner PR target/70669 * gcc.target/powerpc/pr70669.c: New test. ------------------------------------------------------------------------ r234992 | cesar | 2016-04-14 23:24:03 +0200 (Do, 14 Apr 2016) | 5 lines libgomp/ * testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Don't pass parameter variables to subroutines. ------------------------------------------------------------------------ r234991 | jason | 2016-04-14 22:14:49 +0200 (Do, 14 Apr 2016) | 5 lines PR c++/70622 * parser.c (cp_parser_init_declarator): Add auto_result parm. (cp_parser_simple_declaration): Pass it. (strip_declarator_types): New. ------------------------------------------------------------------------ r234990 | jason | 2016-04-14 22:14:44 +0200 (Do, 14 Apr 2016) | 4 lines PR c++/70543 * pt.c (value_dependent_expression_p) [VAR_DECL]: A type-dependent initializer also makes the variable value-dependent. ------------------------------------------------------------------------ r234989 | jason | 2016-04-14 22:14:38 +0200 (Do, 14 Apr 2016) | 4 lines PR c++/70648 * constexpr.c (cxx_eval_store_expression): Also copy CONSTRUCTOR_NO_IMPLICIT_ZERO. ------------------------------------------------------------------------ r234988 | meissner | 2016-04-14 22:05:58 +0200 (Do, 14 Apr 2016) | 8 lines 2016-04-14 Michael Meissner PR target/70640 * gcc.target/powerpc/pr70640.c: Fix test so it correctly works on a power7 system that does not have an assembler that supports power8. ------------------------------------------------------------------------ r234987 | jakub | 2016-04-14 21:21:31 +0200 (Do, 14 Apr 2016) | 12 lines PR c++/70594 * ipa-utils.h (polymorphic_ctor_dtor_p): New prototype. * ipa-polymorphic-call.c (polymorphic_ctor_dtor_p): New function. (inlined_polymorphic_ctor_dtor_block_p): Use it. * tree-ssa-live.c (remove_unused_scope_block_p): When in_ctor_dtor_block, avoid discarding not just BLOCKs with BLOCK_ABSTRACT_ORIGIN being FUNCTION_DECL, but even when block_ultimate_origin is FUNCTION_DECL. (remove_unused_locals): If current_function_decl is polymorphic_ctor_dtor_p, pass initial true to remove_unused_scope_block_p' is_ctor_dtor_block. ------------------------------------------------------------------------ r234981 | msebor | 2016-04-14 19:35:23 +0200 (Do, 14 Apr 2016) | 3 lines PR c++/70652 - [6 Regression] r234966 causes bootstrap to fail Revert patch for c++/69517, c++/70019, and c++/70588. ------------------------------------------------------------------------ r234979 | mpolacek | 2016-04-14 18:51:16 +0200 (Do, 14 Apr 2016) | 6 lines PR c++/70029 * tree.c (verify_type): Disable the canonical type of main variant check. * g++.dg/torture/pr70029.C: New test. ------------------------------------------------------------------------ r234977 | jason | 2016-04-14 18:23:06 +0200 (Do, 14 Apr 2016) | 1 line Revert empty class parameter passing ABI changes. ------------------------------------------------------------------------ r234976 | msebor | 2016-04-14 17:25:40 +0200 (Do, 14 Apr 2016) | 3 lines g++.dg/cpp1y/vla11.C: Avoid using attribute aligned to increase type size to prevent failures on targets with very low maximum alignment. ------------------------------------------------------------------------ r234973 | cesar | 2016-04-14 15:44:17 +0200 (Do, 14 Apr 2016) | 10 lines PR middle-end/70643 gcc/ * omp-low.c (lower_oacc_reductions): Check for TREE_CONSTANT when building a mem ref for the incoming reduction variable. libgomp/ * testsuite/libgomp.oacc-fortran/pr70643.f90: New test. ------------------------------------------------------------------------ r234972 | rguenth | 2016-04-14 15:21:40 +0200 (Do, 14 Apr 2016) | 7 lines 2016-04-14 Richard Biener PR tree-optimization/70614 * tree-scalar-evolution.c (analyze_evolution_in_loop): Terminate loop if the evolution dropped to chrec_dont_know. (interpret_condition_phi): Likewise. ------------------------------------------------------------------------ r234970 | rguenth | 2016-04-14 09:30:53 +0200 (Do, 14 Apr 2016) | 16 lines 2016-04-14 Richard Biener PR tree-optimization/70623 * tree-ssa-pre.c (changed_blocks): Make global ... (compute_antic): ... local here. Move and fix worklist handling here. Do not clear EDGE_DFS_BACK or call mark_dfs_back_edges. (compute_antic_aux): Add dumping for MAX assumed succs. Remove worklist handling, dump when ANTIC_IN changed. (compute_partial_antic_aux): Remove worklist handling. (init_pre): Do not compute post dominators. Add a comment about the CFG order chosen. (fini_pre): Do not free post dominators. * gcc.dg/torture/pr70623.c: New testcase. * gcc.dg/torture/pr70623-2.c: Likewise. ------------------------------------------------------------------------ r234969 | gccadmin | 2016-04-14 02:16:14 +0200 (Do, 14 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234966 | msebor | 2016-04-14 01:26:41 +0200 (Do, 14 Apr 2016) | 51 lines PR c++/69517 - [5/6 regression] SEGV on a VLA with excess initializer elements PR c++/70019 - VLA size overflow not detected PR c++/70588 - SIGBUS on a VLA larger than SIZE_MAX / 2 gcc/testsuite/ChangeLog: 2016-04-13 Martin Sebor PR c++/69517 PR c++/70019 PR c++/70588 * c-c++-common/ubsan/vla-1.c (main): Catch exceptions. * g++.dg/cpp1y/vla11.C: New test. * g++.dg/cpp1y/vla12.C: New test. * g++.dg/cpp1y/vla13.C: New test. * g++.dg/cpp1y/vla14.C: New test. * g++.dg/cpp1y/vla3.C: Restore deleted test. * gcc/testsuite/g++.dg/init/array24.C: Fully brace VLA initializer. * g++.dg/ubsan/vla-1.C: Disable exceptions. gcc/cp/ChangeLog: 2016-04-13 Martin Sebor PR c++/69517 PR c++/70019 PR c++/70588 * cp-tree.h (throw_bad_array_length, build_vla_check): Declare new functions. * decl.c (check_initializer, cp_finish_decl): Call them. (reshape_init_r): Reject incompletely braced intializer-lists for VLAs. * init.c (throw_bad_array_length, build_vla_check) (build_vla_size_check, build_vla_init_check): Define new functions. * typeck2.c (split_nonconstant_init_1): Use variably_modified_type_p() to detect a VLA. (store_init_value): Same. gcc/doc/ChangeLog: 2016-04-13 Martin Sebor PR c++/69517 PR c++/70019 PR c++/70588 * extend.texi (Variable Length): Document C++ specifics. libstdc++-v3/ChangeLog: 2016-04-13 Martin Sebor PR c++/69517 * testsuite/25_algorithms/rotate/moveable2.cc: Make sure VLA upper bound is positive. ------------------------------------------------------------------------ r234965 | msebor | 2016-04-14 00:05:30 +0200 (Do, 14 Apr 2016) | 2 lines check_GNU_style.sh: Avoid false posivies in trailing operator checks. ------------------------------------------------------------------------ r234964 | redi | 2016-04-14 00:00:50 +0200 (Do, 14 Apr 2016) | 29 lines Adjust for new empty class parameter passing ABI. * include/bits/c++config (_GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES, _GLIBCXX_END_NAMESPACE_EMPTY_TYPES, _GLIBCXX_ABI_TAG_EMPTY): Define. * include/bits/hashtable.h (_Hashtable::_M_emplace): Change signatures of functions taking empty structs by value. Add a template parameter to overloads without hints. Rename overloads with hints to _M_emplace_hint. (_Hashtable::_M_erase(true_type, const_iterator), _Hashtable::_M_erase(false_type, const_iterator)): Change signatures by reordering parameters. * include/bits/hashtable_policy.h (_Insert::insert): Adjust to call _M_emplace_hint instead of _M_emplace. * include/bits/shared_ptr.h (shared_ptr(_Tp1*, _Deleter, _Alloc), shared_ptr(nullptr_t, _Deleter, _Alloc)): Use _GLIBCXX_ABI_TAG_EMPTY. * include/bits/shared_ptr_base.h (_Sp_counted_deleter, __shared_count, __shared_ptr): Likewise. * include/bits/stl_algo.h (replace_if): Likewise. * include/bits/stl_pair.h (piecewise_construct_t, piecewise_construct): Use _GLIBCXX_BEGIN_NAMESPACE_EMPTY_TYPES. * include/bits/uses_allocator.h (allocator_arg_t, allocator_arg, __uses_alloc0): Likewise. * include/ext/pb_ds/assoc_container.hpp (basic_hash_table): Likewise. * testsuite/20_util/scoped_allocator/69293_neg.cc: Adjust dg-error. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise. * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise. * testsuite/20_util/uses_allocator/69293_neg.cc: Likewise. * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise. * testsuite/ext/profile/mutex_extensions_neg.cc: Likewise. ------------------------------------------------------------------------ r234962 | jakub | 2016-04-13 22:43:10 +0200 (Mi, 13 Apr 2016) | 7 lines PR c++/70641 * ipa-pure-const.c (pass_nothrow::execute): Call maybe_clean_eh_stmt on all recursive call stmts. Return TODO_cleanup_cfg if any dead eh edges have been purged. * g++.dg/opt/pr70641.C: New test. ------------------------------------------------------------------------ r234961 | jakub | 2016-04-13 22:35:59 +0200 (Mi, 13 Apr 2016) | 7 lines PR c++/70594 * tree-sra.c (create_access_replacement, get_replaced_param_substitute): Set DECL_NAMELESS on repl if it gets fancy name. * tree-pretty-print.c (dump_fancy_name): New function. (dump_decl_name, dump_generic_node): Use it. ------------------------------------------------------------------------ r234960 | jason | 2016-04-13 22:11:29 +0200 (Mi, 13 Apr 2016) | 7 lines Warn about empty parameter ABI with -Wabi=9. * call.c (empty_class_msg, mark_for_abi_warning) (warn_empty_class_abi): New. (build_call_a): Use them. * decl.c (store_parm_decls): Use mark_for_abi_warning. * error.c (pp_format_to_string): New. ------------------------------------------------------------------------ r234959 | jason | 2016-04-13 22:11:20 +0200 (Mi, 13 Apr 2016) | 7 lines Pass empty class parameters like C. * call.c (pass_as_empty_struct, empty_class_arg): New. (type_passed_as, build_x_va_arg): Use pass_as_empty_struct. (build_call_a): Use empty_class_arg. * cp-tree.h (CPTI_EMPTY_STRUCT, empty_struct_type): New. * decl.c (cxx_init_decl_processing): Create empty_struct_type. ------------------------------------------------------------------------ r234958 | ian | 2016-04-13 21:11:16 +0200 (Mi, 13 Apr 2016) | 4 lines libgo: update to Go 1.6.1 release Reviewed-on: https://go-review.googlesource.com/22007 ------------------------------------------------------------------------ r234957 | cesar | 2016-04-13 20:54:41 +0200 (Mi, 13 Apr 2016) | 6 lines libgomp/ PR testsuite/68242 * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Adjust test. * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise. ------------------------------------------------------------------------ r234956 | jason | 2016-04-13 20:32:11 +0200 (Mi, 13 Apr 2016) | 3 lines PR c++/70627 * decl.c (start_enum): Don't change an existing ENUM_UNDERLYING_TYPE. ------------------------------------------------------------------------ r234955 | ro | 2016-04-13 20:13:31 +0200 (Mi, 13 Apr 2016) | 6 lines Fix gcc.dg/ifcvt-4.c on 64-bit SPARC (PR rtl-optimization/68749) PR rtl-optimization/68749 * gcc.dg/ifcvt-4.c: Use "word_mode" rather than "int" to limit the effects of argument promotions. Remove default args to dg-skip-if. ------------------------------------------------------------------------ r234954 | segher | 2016-04-13 20:02:08 +0200 (Mi, 13 Apr 2016) | 11 lines Make distclean clean up more (PR70173) Currently, distclean does not remove the libcc1, gnattools, and gotools directories, and not the stage_final file either. Fix that. PR bootstrap/70173 * Makefile.tpl (local-distclean): Delete the libcc1, gnattools, and gotools directories. Delete the stage_final file. * Makefile.in: Regenerate. ------------------------------------------------------------------------ r234953 | paolo | 2016-04-13 19:11:03 +0200 (Mi, 13 Apr 2016) | 13 lines /cp 2016-04-13 Paolo Carlini PR c++/70635 * pt.c (resolve_typename_type): Fix typos in infinite recursion avoidance mechanism. /testsuite 2016-04-13 Paolo Carlini PR c++/70635 * g++.dg/parse/pr70635.C: New. ------------------------------------------------------------------------ r234952 | mpolacek | 2016-04-13 18:28:46 +0200 (Mi, 13 Apr 2016) | 6 lines PR c++/70639 * c-indentation.c (should_warn_for_misleading_indentation): Bail out for switch statements, too. * c-c++-common/Wmisleading-indentation-4.c: New test. ------------------------------------------------------------------------ r234949 | mpolacek | 2016-04-13 18:00:52 +0200 (Mi, 13 Apr 2016) | 17 lines PR c/70436 * c-parser.c (c_parser_statement_after_labels): Add IF_P argument and adjust callers. (c_parser_statement): Likewise. (c_parser_c99_block_statement): Likewise. (c_parser_while_statement): Likewise. (c_parser_for_statement): Likewise. (c_parser_if_body): Don't set IF_P here. (c_parser_if_statement): Add IF_P argument. Set IF_P here. Warn about dangling else here. * c-tree.h (c_finish_if_stmt): Adjust declaration. * c-typeck.c (c_finish_if_stmt): Remove NESTED_IF parameter. Don't warn about dangling else here. * testsuite/gcc.dg/Wparentheses-12.c: New test. * testsuite/gcc.dg/Wparentheses-13.c: New test. ------------------------------------------------------------------------ r234946 | dominiq | 2016-04-13 17:04:57 +0200 (Mi, 13 Apr 2016) | 7 lines 2016-04-13 Dominique d'Humieres PR fortran/67039 * intrinsic.texi: Correct the documentation of pseudorandom number intrinsics. ------------------------------------------------------------------------ r234945 | jason | 2016-04-13 17:02:23 +0200 (Mi, 13 Apr 2016) | 10 lines PR c++/70634 * pt.c (instantiation_dependent_uneval_expression_p): Split out from instantiation_dependent_expression_p. (value_dependent_expression_p): Use it for unevaluated operands. (instantiation_dependent_r): Don't check value-dependence. (instantiation_dependent_expression_p): Check value-dependence of the expression as a whole. * cp-tree.h: Declare instantiation_dependent_uneval_expression_p. * semantics.c (finish_decltype_type): Use it. ------------------------------------------------------------------------ r234944 | jason | 2016-04-13 17:02:17 +0200 (Mi, 13 Apr 2016) | 8 lines * constexpr.c (potential_nondependent_constant_expression): New. (potential_nondependent_static_init_expression): New. (maybe_constant_value_1, fold_non_dependent_expr) (maybe_constant_init): Use them. * pt.c (instantiate_non_dependent_expr_sfinae) (instantiate_non_dependent_or_null, convert_nontype_argument): Use them. * cp-tree.h: Declare them. ------------------------------------------------------------------------ r234942 | jakub | 2016-04-13 16:45:46 +0200 (Mi, 13 Apr 2016) | 7 lines PR c++/70594 * decl.c (pop_labels_1): Removed. (note_label, sort_labels): New functions. (pop_labels): During named_labels traversal, just push the slot pointers into a vector, then qsort it by DECL_UID and only then call pop_label and chain it into BLOCK_VARS. ------------------------------------------------------------------------ r234940 | jason | 2016-04-13 16:33:53 +0200 (Mi, 13 Apr 2016) | 3 lines PR c++/70615 * cp-gimplify.c (cp_genericize_r): Expand PTRMEM_CST here. (cp_gimplify_expr): Not here. ------------------------------------------------------------------------ r234938 | ienkovich | 2016-04-13 16:00:42 +0200 (Mi, 13 Apr 2016) | 14 lines gcc/ * config/i386/i386.md (kunpckhi): Swap operands. (kunpcksi): Likewise. (kunpckdi): Likewise. * config/i386/sse.md (vec_pack_trunc_qi): Likewise. (vec_pack_trunc_): Likewise. gcc/testsuite/ * gcc.target/i386/avx512bw-kunpckdq-2.c: New test. * gcc.target/i386/avx512bw-kunpckwd-2.c: New test. * gcc.target/i386/avx512f-kunpckbw-2.c: New test. ------------------------------------------------------------------------ r234937 | jakub | 2016-04-13 15:57:29 +0200 (Mi, 13 Apr 2016) | 3 lines PR debug/70628 * explow.c (convert_memory_address_addr_space_1): Formatting fix. ------------------------------------------------------------------------ r234936 | dominiq | 2016-04-13 15:17:45 +0200 (Mi, 13 Apr 2016) | 7 lines 2016-04-13 Dominique d'Humieres PR fortran/58000 * gfortran.texi: Document OPEN( ... NAME=) as not implemented in GNU Fortran ------------------------------------------------------------------------ r234934 | jakub | 2016-04-13 14:27:52 +0200 (Mi, 13 Apr 2016) | 6 lines PR middle-end/70633 * gimplify.c (gimplify_init_constructor): Clear TREE_STATIC if gimplification turns some element into non-constant. * gcc.c-torture/compile/pr70633.c: New test. ------------------------------------------------------------------------ r234933 | jakub | 2016-04-13 14:26:26 +0200 (Mi, 13 Apr 2016) | 12 lines PR debug/70628 * rtl.h (convert_memory_address_addr_space_1): New prototype. * explow.c (convert_memory_address_addr_space_1): No longer static, add NO_EMIT argument and don't call convert_modes if true, pass it down recursively, remove break after return. (convert_memory_address_addr_space): Adjust caller. * simplify-rtx.c (simplify_unary_operation_1): Call convert_memory_address_addr_space_1 instead of convert_memory_address, if it returns NULL, don't simplify. * gcc.dg/torture/pr70628.c: New test. ------------------------------------------------------------------------ r234932 | bernds | 2016-04-13 13:40:37 +0200 (Mi, 13 Apr 2016) | 5 lines Patch from Roger Orr PR preprocessor/69650 * directives.c (do_linemarker): Reread map after calling cpp_get_token. ------------------------------------------------------------------------ r234929 | gccadmin | 2016-04-13 02:16:15 +0200 (Mi, 13 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234926 | ppalka | 2016-04-13 02:06:51 +0200 (Mi, 13 Apr 2016) | 19 lines Fix PR c++/70610 (wrong overload resolution during template processing) gcc/cp/ChangeLog: PR c++/70610 * tree.c (lvalue_kind) [NON_DEPENDENT_EXPR]: Unconditionally recurse into it. * typeck.c (build_x_conditional_expr): Unconditionally remember that the result is an lvalue or xvalue. gcc/testsuite/ChangeLog: PR c++/70610 * g++.dg/template/pr70610.C: New test. * g++.dg/template/pr70610-2.C: New test. * g++.dg/template/pr70610-3.C: New test. * g++.dg/template/pr70610-4.C: New test. ------------------------------------------------------------------------ r234923 | ian | 2016-04-13 00:20:30 +0200 (Mi, 13 Apr 2016) | 8 lines reflect: change Value.Call results to not be addressable Leaving them incorrectly marked as addressable broke a use of the text/template package, because state.evalField checks CanAddr and takes the address if it is addressable. Reviewed-on: https://go-review.googlesource.com/21908 ------------------------------------------------------------------------ r234922 | meissner | 2016-04-12 23:06:47 +0200 (Di, 12 Apr 2016) | 1 line Fix ChangeLog bug id to be 70640, not 70680 ------------------------------------------------------------------------ r234918 | ebotcazou | 2016-04-12 22:55:05 +0200 (Di, 12 Apr 2016) | 5 lines 2016-04-12 Eric Botcazou PR target/70630 * config/sparc/sparc.c (sparc_compute_frame_size): Add parentheses. ------------------------------------------------------------------------ r234916 | jason | 2016-04-12 22:28:40 +0200 (Di, 12 Apr 2016) | 2 lines * class.c (is_really_empty_class): A zero-length array is empty. An unnamed bit-field doesn't make a class non-empty. ------------------------------------------------------------------------ r234913 | jakub | 2016-04-12 21:37:21 +0200 (Di, 12 Apr 2016) | 9 lines * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Bump the upper SIMDLEN limits, so that if the return type or characteristic type if the return type is void can be passed in all available SSE2/AVX/AVX2/AVX512-F registers, the SIMDLEN is allowed. * c-c++-common/cilk-plus/SE/ef_error2.c (func2): Use vectorlength 128 instead of 32. ------------------------------------------------------------------------ r234911 | jakub | 2016-04-12 21:35:23 +0200 (Di, 12 Apr 2016) | 3 lines PR c++/70571 * g++.dg/ext/pr70571.C: New test. ------------------------------------------------------------------------ r234910 | meissner | 2016-04-12 21:25:56 +0200 (Di, 12 Apr 2016) | 18 lines [gcc] 2016-04-12 Michael Meissner PR target/70680 * config/rs6000/rs6000.md (ieee_128bit_vsx_neg2_internal): Do not use "=" constraint on an input constraint. (ieee_128bit_vsx_abs2_internal): Likewise. (ieee_128bit_vsx_nabs2_internal): Likewise. (ieee_128bit_vsx_nabs2): Correct splitter so that it generates (neg (abs ...)) instead of (abs ...). [gcc/testsuite] 2016-04-12 Michael Meissner PR target/70680 * gcc.target/powerpc/pr70640.c: New test. ------------------------------------------------------------------------ r234909 | paolo | 2016-04-12 19:54:34 +0200 (Di, 12 Apr 2016) | 13 lines /cp 2016-04-12 Paolo Carlini PR c++/68722 * parser.c (cp_parser_cache_defarg): When file ends in default argument simply return error_mark_node. /testsuite 2016-04-12 Paolo Carlini PR c++/68722 * g++.dg/parse/pr68722.C: New. ------------------------------------------------------------------------ r234906 | jakub | 2016-04-12 19:18:31 +0200 (Di, 12 Apr 2016) | 6 lines PR rtl-optimization/70596 * lra-spills.c (spill_pseudos): Don't delete debug insns, instead just invalidate LRA data and reset them. Adjust dump wording. * gcc.target/i386/pr70596.c: New test. ------------------------------------------------------------------------ r234905 | emsr | 2016-04-12 18:31:25 +0200 (Di, 12 Apr 2016) | 5 lines 2016-04-12 Edward Smith-Rowland <3dw4rd@verizon.net> Document C++17/TR29124 C++ Special Math Functions. * include/bits/specfun.h: Add Doxygen markup. ------------------------------------------------------------------------ r234904 | nathan | 2016-04-12 18:24:11 +0200 (Di, 12 Apr 2016) | 9 lines PR c++/70501 cp/ * constexpr.c (cxx_eval_bare_aggregate): Handle VECTOR_TYPE similarly to PMF. testsuite/ * g++.dg/init/pr70501.C: New. ------------------------------------------------------------------------ r234903 | avieira | 2016-04-12 15:51:40 +0200 (Di, 12 Apr 2016) | 4 lines 2016-04-12 Andre Vieira * MAINTAINERS (Write After Approval): Add myself. ------------------------------------------------------------------------ r234902 | marxin | 2016-04-12 15:38:46 +0200 (Di, 12 Apr 2016) | 13 lines Revert r234572 (aka PR testsuite/70577) Revert 2016-03-30 Jan Hubicka * tree-ssa-loop-niter.c (idx_infer_loop_bounds): We can't get realistic estimates here. * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also max_loop_iterations_int. (tree_unswitch_outer_loop): Likewise. * tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise. * tree-vect-loop.c (vect_analyze_loop_2): Likewise. ------------------------------------------------------------------------ r234901 | tschwinge | 2016-04-12 15:13:53 +0200 (Di, 12 Apr 2016) | 6 lines libgomp external ABI prototypes maintenance libgomp/ * libgomp_g.h: Rename GOACC_parallel_keyd prototype to GOACC_parallel_keyed, restore GOACC_parallel prototype, new GOACC_declare prototype. ------------------------------------------------------------------------ r234900 | bernds | 2016-04-12 15:04:44 +0200 (Di, 12 Apr 2016) | 5 lines Executable test case for asm flags, by David Wohlferd. * gcc.target/i386/asm-flag-6.c: New test. ------------------------------------------------------------------------ r234899 | tschwinge | 2016-04-12 13:02:32 +0200 (Di, 12 Apr 2016) | 31 lines Merge libgomp.oacc-c-c++-common/loop-reduction-*.c into libgomp.oacc-c-c++-common/reduction-7.c libgomp/ * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: Merge this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gv-np-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: ... this file into... * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: ... this file. ------------------------------------------------------------------------ r234897 | tschwinge | 2016-04-12 12:40:22 +0200 (Di, 12 Apr 2016) | 5 lines Improve libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c libgomp/ * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: Make failure observable. ------------------------------------------------------------------------ r234896 | vries | 2016-04-12 12:08:48 +0200 (Di, 12 Apr 2016) | 9 lines Fix typo in copy_cond_phi_args 2016-04-12 Tom de Vries PR tree-optimization/68756 * graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr instead of new_name. * gcc.dg/graphite/pr68756.c: New test. ------------------------------------------------------------------------ r234895 | jakub | 2016-04-12 11:08:43 +0200 (Di, 12 Apr 2016) | 6 lines PR tree-optimization/70602 * tree-sra.c (generate_subtree_copies): Don't write anything into constant pool decls. * gcc.c-torture/execute/pr70602.c: New test. ------------------------------------------------------------------------ r234894 | jakub | 2016-04-12 09:05:29 +0200 (Di, 12 Apr 2016) | 16 lines * omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not. * libgomp.h (struct gomp_target_task): Remove firstprivate_copies field. * target.c (gomp_target_fallback_firstprivate, gomp_target_unshare_firstprivate): Removed. (GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory before waiting for dependencies. (gomp_target_task_fn): Don't copy firstprivate vars here. * task.c (GOMP_PLUGIN_target_task_completion): Don't free firstprivate_copies here. (gomp_create_target_task): Don't initialize firstprivate_copies field. * testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of explicit/implicit firstprivate. ------------------------------------------------------------------------ r234892 | gccadmin | 2016-04-12 02:16:19 +0200 (Di, 12 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234884 | meissner | 2016-04-11 21:45:35 +0200 (Mo, 11 Apr 2016) | 33 lines [gcc] 2016-04-11 Michael Meissner PR target/70381 * config/rs6000/rs6000.c (rs6000_opt_masks): Disable using the target attribute and pragma from changing the -mfloat128 and -mfloat128-hardware options. * doc/extend.texi (Additional Floating Types): Document PowerPC __float128 restrictions. [libgcc] 2016-04-11 Michael Meissner PR target/70381 * configure.ac (powerpc*-*-linux*): Rework tests to build __float128 emulation routines to not depend on using #pragma GCC target to enable -mfloat128. * configure: Regnerate. [gcc/testsuite] 2016-04-11 Michael Meissner PR target/70381 * gcc.target/powerpc/float128-1.c: New tests to make sure the __float128 emulator is built and runs. * gcc.target/powerpc/float128-1.c: Likewise. * lib/target-supports.exp (check_ppc_float128_sw_available): Rework tests for __float128 software and hardware availability. Fix exit condition to return 0 on success. ------------------------------------------------------------------------ r234879 | jason | 2016-04-11 15:38:34 +0200 (Mo, 11 Apr 2016) | 2 lines * mangle.c (decl_is_template_id): The template itself counts as a template-id. ------------------------------------------------------------------------ r234877 | jgreenhalgh | 2016-04-11 12:16:26 +0200 (Mo, 11 Apr 2016) | 22 lines [Patch AArch64 3/3] Fix up for pr70133 gcc/ PR target/70133 * config/aarch64/driver-aarch64.c (aarch64_get_extension_string_for_isa_flags): New. (arch_extension): Rename to... (aarch64_arch_extension): ...This. (ext_to_feat_string): Rename to... (aarch64_extensions): ...This. (aarch64_core_data): Keep track of architecture extension flags. (cpu_data): Rename to... (aarch64_cpu_data): ...This. (aarch64_arch_driver_info): Keep track of architecture extension flags. (get_arch_name_from_id): Rename to... (get_arch_from_id): ...This, change return type. (host_detect_local_cpu): Update and reformat for renames, handle extensions through common infrastructure. ------------------------------------------------------------------------ r234876 | jgreenhalgh | 2016-04-11 12:14:59 +0200 (Mo, 11 Apr 2016) | 39 lines [Patch AArch64 2/3] Rework the code to print extension strings (pr70133) gcc/ PR target/70133 * config/aarch64/aarch64-common.c (aarch64_option_extension): Keep track of a canonical flag name. (all_extensions): Likewise. (arch_to_arch_name): Also track extension flags enabled by the arch. (all_architectures): Likewise. (aarch64_parse_extension): Move to here. (aarch64_get_extension_string_for_isa_flags): Take a new argument, rework. (aarch64_rewrite_selected_cpu): Update for above change. * config/aarch64/aarch64-option-extensions.def: Rework the way flags are handled, such that the single explicit value enabled by an extension is kept seperate from the implicit values it also enables. * config/aarch64/aarch64-protos.h (aarch64_parse_opt_result): Move to here. (aarch64_parse_extension): New. * config/aarch64/aarch64.c (aarch64_parse_opt_result): Move from here to config/aarch64/aarch64-protos.h. (aarch64_parse_extension): Move from here to common/config/aarch64/aarch64-common.c. (aarch64_option_print): Update. (aarch64_declare_function_name): Likewise. (aarch64_start_file): Likewise. * config/aarch64/driver-aarch64.c (arch_extension): Keep track of the canonical flag for extensions. * config.gcc (aarch64*-*-*): Extend regex for capturing extension flags. gcc/testsuite/ PR target/70133 * gcc.target/aarch64/mgeneral-regs_4.c: Fix expected output. * gcc.target/aarch64/target_attr_15.c: Likewise. ------------------------------------------------------------------------ r234875 | jgreenhalgh | 2016-04-11 12:11:59 +0200 (Mo, 11 Apr 2016) | 8 lines [Patch AArch64 1/3] Enable CRC by default for armv8.1-a gcc/ * config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH8_1): Also add AARCH64_FL_CRC. ------------------------------------------------------------------------ r234874 | segher | 2016-04-11 09:26:36 +0200 (Mo, 11 Apr 2016) | 15 lines libcc1: Clean compiler-name.h (PR70173) Since the file is generated from a Makefile fragment, it needs to be added to MOSTLYCLEANFILES. The directory itself is still not deleted (just like the gnattools and gotools directories). 2016-04-11 Segher Boessenkool libcc1/ PR bootstrap/70173 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h . (compiler-name.h): Shorten recipe so that it fits the line. * Makefile.in: Regenerate. ------------------------------------------------------------------------ r234872 | gccadmin | 2016-04-11 02:16:15 +0200 (Mo, 11 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234869 | paolo | 2016-04-10 11:32:46 +0200 (So, 10 Apr 2016) | 5 lines 2016-04-10 Paolo Carlini PR c++/69066 * g++.dg/cpp1y/pr69066.C: New. ------------------------------------------------------------------------ r234868 | kargl | 2016-04-10 07:53:06 +0200 (So, 10 Apr 2016) | 4 lines 2016-04-09 Steven G. Kargl * MAINTAINERS (Fortran maintainer): Remove myself. ------------------------------------------------------------------------ r234867 | gccadmin | 2016-04-10 02:16:19 +0200 (So, 10 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234864 | jvdelisle | 2016-04-09 21:09:02 +0200 (Sa, 09 Apr 2016) | 11 lines 2016-04-09 Jerry DeLisle PR fortran/68566 * array.c (match_array_element_spec): Add check for non-integer. * simplify.c (gfc_simplify_reshape): If source shape is NULL return. PR fortran/68566 * gfortran.dg/pr36192.f90: Update test. * gfortran.dg/pr36192_1.f90: Update test. * gfortran.dg/real_dimension_1.f: Update test. * gfortran.dg/parameter_array_init_7.f90: New test. ------------------------------------------------------------------------ r234863 | danglin | 2016-04-09 19:36:24 +0200 (Sa, 09 Apr 2016) | 4 lines PR testsuite/64039 * gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail scan-tree-dump on hppa*64*-*-*. ------------------------------------------------------------------------ r234862 | danglin | 2016-04-09 19:21:50 +0200 (Sa, 09 Apr 2016) | 3 lines * gcc.dg/pr70317.c: Add -fno-common on hppa*-*-hpux*. ------------------------------------------------------------------------ r234861 | danglin | 2016-04-09 19:15:15 +0200 (Sa, 09 Apr 2016) | 4 lines PR rtl-optimization/66669 * gcc.dg/loop-8.c: Skip on hppa*-*-*. ------------------------------------------------------------------------ r234860 | danglin | 2016-04-09 19:09:43 +0200 (Sa, 09 Apr 2016) | 3 lines * gcc.dg/debug/dwarf2/prod-options.c: Adjust scan for hppa*64*-*-*. ------------------------------------------------------------------------ r234859 | danglin | 2016-04-09 18:45:31 +0200 (Sa, 09 Apr 2016) | 8 lines * gcc.dg/pic-1.c: Skip on hppa*-*-*. * gcc.dg/pie-1.c: Likewise. * gcc.dg/pic-3.c: Skip on hppa*64*-*-*. * gcc.dg/pic-4.c: Likewise. * gcc.dg/pie-3.c: Likewise. * gcc.dg/pie-4.c: Likewise. ------------------------------------------------------------------------ r234856 | danglin | 2016-04-09 18:04:36 +0200 (Sa, 09 Apr 2016) | 3 lines * gcc.dg/uninit-19.c: Fix warning line for hppa*64*-*-*. ------------------------------------------------------------------------ r234854 | danglin | 2016-04-09 17:54:29 +0200 (Sa, 09 Apr 2016) | 4 lines PR tree-optimization/68644 * gcc.dg/tree-ssa/ivopts-lt-2.c: Skip on hppa*-*-*. ------------------------------------------------------------------------ r234852 | danglin | 2016-04-09 17:43:05 +0200 (Sa, 09 Apr 2016) | 4 lines PR rtl-optimization/64886 * gcc.dg/pr64434.c: Skip on hppa*-*-hpux*. ------------------------------------------------------------------------ r234851 | vries | 2016-04-09 17:28:24 +0200 (Sa, 09 Apr 2016) | 9 lines Fix pdr accesses order 2016-04-09 Tom de Vries PR tree-optimization/68953 * graphite-sese-to-poly.c (pdr_add_memory_accesses): Order accesses from first to last subscript. * gcc.dg/graphite/pr68953.c: New test. ------------------------------------------------------------------------ r234850 | dominiq | 2016-04-09 15:29:32 +0200 (Sa, 09 Apr 2016) | 6 lines 2016-04-09 Dominique d'Humieres PR fortran/70592 * gfortran.dg/deferred_character_16.f90: New test. ------------------------------------------------------------------------ r234849 | jakub | 2016-04-09 13:23:51 +0200 (Sa, 09 Apr 2016) | 6 lines PR tree-optimization/70586 * tree-ssa-ifcombine.c (bb_no_side_effects_p): Return false for any calls. * gcc.c-torture/execute/pr70586.c: New test. ------------------------------------------------------------------------ r234848 | dominiq | 2016-04-09 11:24:45 +0200 (Sa, 09 Apr 2016) | 8 lines 2016-04-09 Dominique d'Humieres PR sanitizer/70573 * c-c++-common/asan/halt_on_error-1.c: Replace memset with __builtin_memset * c-c++-common/asan/halt_on_error-2.c: Likewise. ------------------------------------------------------------------------ r234846 | gccadmin | 2016-04-09 02:16:15 +0200 (Sa, 09 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234840 | cesar | 2016-04-08 23:09:47 +0200 (Fr, 08 Apr 2016) | 81 lines gcc/ PR lto/70289 PR ipa/70348 PR tree-optimization/70373 PR middle-end/70533 PR middle-end/70534 PR middle-end/70535 * gimplify.c (gimplify_adjust_omp_clauses): Add or adjust data clauses for acc parallel reductions as necessary. Error on those that are private. * omp-low.c (scan_sharing_clauses): Don't install variables which are used in acc parallel reductions. (lower_rec_input_clauses): Remove dead code. (lower_oacc_reductions): Add support for reference reductions. (lower_reduction_clauses): Remove dead code. (lower_omp_target): Don't remap variables appearing in acc parallel reductions. * tree.h (OMP_CLAUSE_MAP_IN_REDUCTION): New macro. gcc/testsuite/ * c-c++-common/goacc/reduction-5.c: New test. * c-c++-common/goacc/reduction-promotions.c: New test. * gfortran.dg/goacc/reduction-3.f95: New test. * gfortran.dg/goacc/reduction-promotions.f90: New test. libgomp/ * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: New test. * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-1.c: New test. * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: New test. * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c: New test. * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c: New test. * testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Add test coverage. * testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c: New test. * testsuite/libgomp.oacc-c-c++-common/pr70289.c: New test. * testsuite/libgomp.oacc-c-c++-common/pr70373.c: New test. * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Add test coverage. * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-6.c: New test. * testsuite/libgomp.oacc-c-c++-common/reduction.h: New test. * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: New test. * testsuite/libgomp.oacc-fortran/pr70289.f90: New test. * testsuite/libgomp.oacc-fortran/reduction-1.f90: Add test coverage. * testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise. * testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise. * testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise. * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. * testsuite/libgomp.oacc-fortran/reduction-7.f90: New test. ------------------------------------------------------------------------ r234839 | jsm28 | 2016-04-08 22:57:02 +0200 (Fr, 08 Apr 2016) | 8 lines Regenerate .pot files. gcc/po: * gcc.pot: Regenerate. libcpp/po: * cpplib.pot: Regenerate. ------------------------------------------------------------------------ r234837 | ppalka | 2016-04-08 22:17:10 +0200 (Fr, 08 Apr 2016) | 17 lines Fix PR c++/70590 (error: location references block not in block tree) gcc/cp/ChangeLog: PR c++/70590 PR c++/70452 * constexpr.c (cxx_eval_outermost_expression): Call unshare_expr on the result if it's not a CONSTRUCTOR. gcc/testsuite/ChangeLog: PR c++/70590 PR c++/70452 * g++.dg/pr70590.C: New test. * g++.dg/pr70590-2.C: New test. ------------------------------------------------------------------------ r234834 | jakub | 2016-04-08 19:28:20 +0200 (Fr, 08 Apr 2016) | 7 lines PR middle-end/70593 * tree-ssa-coalesce.c (build_ssa_conflict_graph): For stmt with multiple SSA_NAME defs, force the outputs other than first to be live before calling live_track_process_def on each output. * gcc.target/i386/pr70593.c: New test. ------------------------------------------------------------------------ r234833 | jakub | 2016-04-08 19:21:17 +0200 (Fr, 08 Apr 2016) | 8 lines PR rtl-optimization/70574 * fwprop.c (forward_propagate_and_simplify): Don't add REG_EQUAL note if DF_REF_REG (use) is a paradoxical subreg. (try_fwprop_subst): Don't add REG_EQUAL note if there are any paradoxical subregs within *loc. * gcc.target/i386/avx2-pr70574.c: New test. ------------------------------------------------------------------------ r234831 | tschwinge | 2016-04-08 15:47:37 +0200 (Fr, 08 Apr 2016) | 12 lines Complete changes to "Ignore -ftree-parallelize-loops={0,1} using gt" Apply the r225764 and r233573 changes to all relevant spec strings. gcc/ * config/arc/arc.h (LINK_COMMAND_SPEC): Use gt to ignore -ftree-parallelize-loops={0,1}. * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise. * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise. * config/ia64/hpux.h (LIB_SPEC): Likewise. * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. * config/pa/pa64-hpux.h (LIB_SPEC): Likewise. ------------------------------------------------------------------------ r234830 | bernds | 2016-04-08 14:17:03 +0200 (Fr, 08 Apr 2016) | 2 lines Fix PR number in ChangeLog ------------------------------------------------------------------------ r234829 | bernds | 2016-04-08 14:10:21 +0200 (Fr, 08 Apr 2016) | 10 lines Fix memory allocation size overflows (PR69687, patch by Marcel Böhme) PR c++/69687 * cplus-dem.c: Include if available. (INT_MAX): Define if necessary. (remember_type, remember_Ktype, register_Btype, string_need): Abort if we detect cases where we the size of the allocation would overflow. ------------------------------------------------------------------------ r234828 | bernds | 2016-04-08 14:06:59 +0200 (Fr, 08 Apr 2016) | 7 lines Handle an overflow case (PR70498, patch by Marcel Böhme). PR c++/70498 * cplus-dem.c (gnu_special): Handle case where consume_count returns -1. ------------------------------------------------------------------------ r234827 | chefmax | 2016-04-08 12:46:13 +0200 (Fr, 08 Apr 2016) | 9 lines 2016-04-08 Maxim Ostapenko PR sanitizer/70541 * asan.c (instrument_derefs): If we get unknown location, extract it with EXPR_LOCATION. (maybe_instrument_call): Instrument gimple_call's arguments if needed. * c-c++-common/asan/pr70541.c: New test. ------------------------------------------------------------------------ r234826 | vries | 2016-04-08 11:41:16 +0200 (Fr, 08 Apr 2016) | 9 lines Remove incorrect warning for parallel implicit firstprivate clause 2016-04-08 Tom de Vries * omp-low.c (lower_omp_target): Set TREE_NO_WARNING for oacc implicit firstprivate clause. * c-c++-common/goacc/uninit-firstprivate-clause.c: New test. * gfortran.dg/goacc/uninit-firstprivate-clause.f95: New test. ------------------------------------------------------------------------ r234825 | ktkachov | 2016-04-08 11:39:44 +0200 (Fr, 08 Apr 2016) | 11 lines [ARM] PR target/70566 Check that condition register is dead in tst-imm -> lsls-imm Thumb2 peepholes PR target/70566 * config/arm/thumb2.md (tst + branch-> lsls + branch peephole below *orsi_not_shiftsi_si): Require that condition register is dead after the peephole. (second peephole after the above): Likewise. * gcc.c-torture/execute/pr70566.c: New test. ------------------------------------------------------------------------ r234824 | vries | 2016-04-08 10:48:12 +0200 (Fr, 08 Apr 2016) | 6 lines Add goacc/uninit-copy-clause.{c,f95} testcases 2016-04-08 Tom de Vries * c-c++-common/goacc/uninit-copy-clause.c: New test. * gfortran.dg/goacc/uninit-copy-clause.f95: New test. ------------------------------------------------------------------------ r234821 | amodra | 2016-04-08 04:11:52 +0200 (Fr, 08 Apr 2016) | 12 lines PR70117, ppc long double isinf gcc/ PR target/70117 * builtins.c (fold_builtin_classify): For IBM extended precision, look at just the high-order double to test for NaN. (fold_builtin_interclass_mathfn): Similarly for Inf. For isnormal test just the high double for Inf but both doubles for subnormal limit. gcc/testsuite/ * gcc.target/powerpc/pr70117.c: New. ------------------------------------------------------------------------ r234820 | gccadmin | 2016-04-08 02:16:17 +0200 (Fr, 08 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234817 | jakub | 2016-04-07 23:45:26 +0200 (Do, 07 Apr 2016) | 3 lines PR testsuite/70581 * gcc.dg/lto/simd-function_0.c: New test. ------------------------------------------------------------------------ r234816 | jakub | 2016-04-07 23:32:05 +0200 (Do, 07 Apr 2016) | 15 lines * cgraph.h (struct cgraph_simd_clone): Add mask_mode field. * omp-low.c (simd_clone_init_simd_arrays, simd_clone_adjust): Handle node->simdclone->mask_mode != VOIDmode masks. (simd_clone_adjust_argument_types): Likewise. Move sc var definition earlier, use it instead of node->simdclone. * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Set clonei->mask_mode. * c-c++-common/attr-simd.c: Add scan-assembler* directives for AVX512F clones. * c-c++-common/attr-simd-2.c: Likewise. * c-c++-common/attr-simd-4.c: Likewise. * gcc.dg/gomp/simd-clones-2.c: Likewise. * gcc.dg/gomp/simd-clones-3.c: Likewise. ------------------------------------------------------------------------ r234811 | thopre01 | 2016-04-07 18:19:20 +0200 (Do, 07 Apr 2016) | 6 lines 2016-04-07 Thomas Preud'homme gcc/testsuite/ PR testsuite/70553 * gcc.target/arm/pr70496.c: Also require arm_arm_ok effective target. ------------------------------------------------------------------------ r234810 | ppalka | 2016-04-07 18:12:05 +0200 (Do, 07 Apr 2016) | 15 lines Avoid needless unsharing during constexpr evaluation (PR c++/70452) gcc/cp/ChangeLog: PR c++/70452 * constexpr.c (find_constructor): New function. (unshare_constructor): New function. (cxx_eval_call_expression): Use unshare_constructor instead of unshare_expr. (find_array_ctor_elt): Likewise. (cxx_eval_vec_init_1): Likewise. (cxx_eval_store_expression): Likewise. (cxx_eval_constant_expression): Likewise. ------------------------------------------------------------------------ r234809 | tschwinge | 2016-04-07 17:21:37 +0200 (Do, 07 Apr 2016) | 11 lines Scan for parallelization of the oacc kernels test-cases in gfortran.dg/goacc gcc/testsuite/ * gfortran.dg/goacc/kernels-loop-2.f95: Scan for parallelization. * gfortran.dg/goacc/kernels-loop-data-2.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data-enter-exit-2.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data-enter-exit.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data-update.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data.f95: Likewise. * gfortran.dg/goacc/kernels-loop.f95: Likewise. * gfortran.dg/goacc/kernels-loop-n.f95: Likewise, XFAILed. ------------------------------------------------------------------------ r234808 | redi | 2016-04-07 16:26:24 +0200 (Do, 07 Apr 2016) | 1 line * testsuite/30_threads/thread/70503.cc: Adjust from xfail to pass. ------------------------------------------------------------------------ r234805 | gccadmin | 2016-04-07 02:16:13 +0200 (Do, 07 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234802 | ppalka | 2016-04-07 01:10:14 +0200 (Do, 07 Apr 2016) | 20 lines Fix C++ side of PR c/70436 (missing -Wparentheses warnings) gcc/cp/ChangeLog: PR c/70436 * parser.c (cp_parser_iteration_statement): New parameter IF_P. Pass it through to cp_parser_already_scoped_statement. (cp_parser_already_scoped_statement): New parameter IF_P. Pass it through to cp_parser_statement. (cp_parser_statement): Pass IF_P through to cp_parser_iteration_statement. (cp_parser_pragma): Adjust call to cp_parser_iteration_statement. gcc/testsuite/ChangeLog: PR c/70436 * g++.dg/warn/Wparentheses-29.C: New test. ------------------------------------------------------------------------ r234801 | ppalka | 2016-04-07 01:07:21 +0200 (Do, 07 Apr 2016) | 30 lines Fix new -Wparentheses warnings encountered during bootstrap gcc/ChangeLog: PR c/70436 * gimplify.c (gimplify_omp_ordered): Add explicit braces to resolve a future -Wparentheses warning. * omp-low.c (scan_sharing_clauses): Likewise. * tree-parloops.c (eliminate_local_variables): Likewise. gcc/cp/ChangeLog: PR c/70436 * cp-tree.h (FOR_EACH_CLONE): Restructure macro to avoid potentially generating a future -Wparentheses warning in its callers. gcc/fortran/ChangeLog: PR c/70436 * openmp.c (gfc_find_omp_udr): Add explicit braces to resolve a future -Wparentheses warning. gcc/testsuite/ChangeLog: PR c/70436 * g++.dg/plugin/pragma_plugin.c (handle_pragma_sayhello): Add explicit braces to resolve a future -Wparentheses warning. ------------------------------------------------------------------------ r234794 | rth | 2016-04-06 20:35:16 +0200 (Mi, 06 Apr 2016) | 13 lines PR preprocessor/61817 PR preprocessor/69391 * internal.h (_cpp_builtin_macro_text): Update decl. * macro.c (_cpp_builtin_macro_text): Accept location for __LINE__. (builtin_macro): Accept a second location for __LINE__. (enter_macro_context): Compute both virtual and real expansion locations for the macro. * gcc.dg/pr61817-1.c: New test. * gcc.dg/pr61817-2.c: New test. * gcc.dg/pr69391-1.c: New test. * gcc.dg/pr69391-2.c: New test. ------------------------------------------------------------------------ r234792 | vmakarov | 2016-04-06 18:48:36 +0200 (Mi, 06 Apr 2016) | 12 lines 2016-04-06 Vladimir Makarov PR rtl-optimization/70398 * lra-constraints.c (process_address_1): Check zero scale and code for reloading with zero scale. 2016-04-06 Vladimir Makarov PR rtl-optimization/70398 * testsuite/gcc.target/aarch64/pr70398.c: New. ------------------------------------------------------------------------ r234790 | jason | 2016-04-06 18:22:45 +0200 (Mi, 06 Apr 2016) | 1 line * class.c (check_abi_tags): Fix function template handling. ------------------------------------------------------------------------ r234787 | ebotcazou | 2016-04-06 17:28:18 +0200 (Mi, 06 Apr 2016) | 2 lines * gcc.c-torture/execute/20101011-1.c (__VISIUM__): Set DO_TEST to 0. ------------------------------------------------------------------------ r234784 | uros | 2016-04-06 17:09:37 +0200 (Mi, 06 Apr 2016) | 4 lines * config/i386/sse.md (shuffletype): Add V32HI and V4TI modes. (ssescalarsize): Add V8SF, V4SF, V4DF and V2DF modes. ------------------------------------------------------------------------ r234782 | ebotcazou | 2016-04-06 17:07:49 +0200 (Mi, 06 Apr 2016) | 3 lines * src/Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null. * src/Makefile.in: Regenerate. ------------------------------------------------------------------------ r234781 | yroux | 2016-04-06 17:07:10 +0200 (Mi, 06 Apr 2016) | 6 lines 2016-04-06 Yvan Roux Pedro Alves * gcc.dg/guality/guality.h (main): Avoid GDB being blocked on signals. ------------------------------------------------------------------------ r234780 | jakub | 2016-04-06 14:47:19 +0200 (Mi, 06 Apr 2016) | 15 lines * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Add support for AVX512F clones, include them by default for exported OpenMP declare simd functions. For AVX2 allow simdlen 32 and use it if charasteric type is 8-bit, for AVX512F allow simdlen up to 128. * lib/target-supports.exp (check_effective_target_vect_simd_clones): Check for avx512f effective targets instead of avx2. * gcc.dg/gomp/declare-simd-1.c: Add scan-assembler-times directives for AVX512F clones. * gcc.dg/gomp/declare-simd-3.c: Likewise. * g++.dg/gomp/declare-simd-1.C: Likewise. * g++.dg/gomp/declare-simd-3.C: Likewise. * g++.dg/gomp/declare-simd-4.C: Likewise. ------------------------------------------------------------------------ r234779 | jakub | 2016-04-06 14:42:24 +0200 (Mi, 06 Apr 2016) | 13 lines PR middle-end/70550 * tree.h (OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT): Define. * gimplify.c (gimplify_adjust_omp_clauses_1): Set it for implicit firstprivate clauses. * omp-low.c (lower_send_clauses): Set TREE_NO_WARNING for OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT !by_ref vars in task contexts. (lower_omp_target): Set TREE_NO_WARNING for non-addressable possibly uninitialized vars which are copied into addressable temporaries or copied for GOMP_MAP_FIRSTPRIVATE_INT. * c-c++-common/gomp/pr70550-1.c: New test. * c-c++-common/gomp/pr70550-2.c: New test. ------------------------------------------------------------------------ r234771 | gccadmin | 2016-04-06 02:16:14 +0200 (Mi, 06 Apr 2016) | 1 line Daily bump. ------------------------------------------------------------------------ r234768 | nathan | 2016-04-06 01:47:21 +0200 (Mi, 06 Apr 2016) | 6 lines PR c++/70512 * class.c (fixup_may_alias): New. (fixup_attribute_variants): Call it. * g++.dg/ext/attribute-may-alias-5.C: New. ------------------------------------------------------------------------ r234765 | danglin | 2016-04-06 01:42:36 +0200 (Mi, 06 Apr 2016) | 5 lines * config/pa/predicates.md (integer_store_memory_operand): Accept REG+D operands with a large offset when reload_in_progress is true. (floating_point_store_memory_operand): Likewise. ------------------------------------------------------------------------ r234764 | jakub | 2016-04-05 23:33:37 +0200 (Di, 05 Apr 2016) | 7 lines PR c++/70336 * match.pd (nested int casts): Limit to GIMPLE. * c-c++-common/pr70336.c: New test. * gcc.dg/torture/builtin-isinf_sign-1.c (foo): Guard tests no longer optimized away at -O0 with #ifndef __OPTIMIZE__. ------------------------------------------------------------------------ r234762 | hubicka | 2016-04-05 22:58:56 +0200 (Di, 05 Apr 2016) | 7 lines PR ipa/66223 * ipa-devirt.c (maybe_record_node): Fix comment; use SANITIZE_UNREACHABLE instead of SANITIZE_UNDEFINED. * g++.dg/ipa/devirt-51.C: Use -fsanitize=unreachable. ------------------------------------------------------------------------ r234761 | redi | 2016-04-05 21:03:46 +0200 (Di, 05 Apr 2016) | 6 lines Restore atomic builtins usage in libstdc++-v3 PR libstdc++/70554 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't test __atomic_fetch_add for bool. * configure: Regenerate. ------------------------------------------------------------------------ r234757 | redi | 2016-04-05 19:21:48 +0200 (Di, 05 Apr 2016) | 1 line * testsuite/30_threads/thread/70503.cc: Require -static to work. ------------------------------------------------------------------------ r234756 | jakub | 2016-04-05 19:05:23 +0200 (Di, 05 Apr 2016) | 7 lines PR rtl-optimization/70542 * ree.c (add_removable_extension): For VECTOR_MODE_P punt if there are any uses other than insn or debug insns. * gcc.dg/torture/pr70542.c: New test. * gcc.target/i386/avx2-pr70542.c: New test. ------------------------------------------------------------------------ r234755 | jakub | 2016-04-05 19:01:52 +0200 (Di, 05 Apr 2016) | 4 lines PR tree-optimization/70509 * simplify-rtx.c (simplify_binary_operation_1) : Shift HOST_WIDE_INT_1U instead of 1. ------------------------------------------------------------------------ r234754 | jakub | 2016-04-05 18:58:50 +0200 (Di, 05 Apr 2016) | 6 lines PR tree-optimization/70509 * tree-ssa-forwprop.c (simplify_bitfield_ref): Use bitsize_int instead of the vector base type for index. * gcc.target/i386/avx512bw-pr70509.c: New test. ------------------------------------------------------------------------ r234753 | ppalka | 2016-04-05 18:40:00 +0200 (Di, 05 Apr 2016) | 21 lines Fix PR c++/70452 (regression in C++ parsing performance) gcc/cp/ChangeLog: PR c++/70452 * constexpr.c (struct fundef_copy): New struct. (struct fundef_copies_table_t): New struct. (fundef_copies_table): New static variable. (maybe_initialize_fundef_copies_table): New static function. (get_fundef_copy): New static function. (save_fundef_copy): New static function. (cxx_eval_call_expression): Use get_fundef_copy, and save_fundef_copy. (constexpr_call_table): Add "deletable" GTY marker. gcc/testsuite/ChangeLog: PR c++/70452 * g++.dg/ext/constexpr-vla4.C: New test. ------------------------------------------------------------------------ r234752 | uros | 2016-04-05 18:26:40 +0200 (Di, 05 Apr 2016) | 9 lines PR target/70510 * config/i386/sse.md (iptr): Add V64QI, V32HI, V16SI and V8DI modes. testsuite/ChangeLog: PR target/70510 * gcc.target/i386/pr70510.c: New test.