- 16 Feb, 2018 20 commits
-
-
In particular this lets BenchmarkPingPongHog in runtime/proc_test.go complete. Reviewed-on: https://go-review.googlesource.com/94735 From-SVN: r257743
Ian Lance Taylor committed -
https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00998.html Deprecate -ffriend-injection. * decl.c (cxx_init_decl_processing): Emit warning on option. * name-lookup.c (do_pushdecl): Emit warning if we push a visible friend. * doc/extend.texi (Backwards Compatibility): Mention friend injection. Note for-scope is deprecated. * doc/invoke.texi (-ffriend-injection): Deprecate. * g++.old-deja/g++.jason/scoping15.C: Expect warnings. * g++.old-deja/g++.mike/net43.C: Likewise. From-SVN: r257742
Nathan Sidwell committed -
/cp 2018-02-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/82468 * decl.c (check_special_function_return_type): Reject template template parameter in deduction guide. /testsuite 2018-02-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/82468 * g++.dg/cpp1z/class-deduction48.C: New. From-SVN: r257740
Paolo Carlini committed -
https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00987.html PR c++/84375 * name-lookup.c (do_pushdecl): Bail out on bad local friend injection. * g++.dg/lookup/pr84375.C: New. From-SVN: r257739
Nathan Sidwell committed -
As Jakub found, after my recent combine patch at least on x86 problems show up with RTL checking enabled. This is because the I2 generated by a successful instruction combination can write not only a register but it can also write a paradoxical subreg of one. This fixes it. * combine.c (try_combine): When adjusting LOG_LINKS for the destination that moved to I2, also allow destinations that are a paradoxical subreg (instead of a normal reg). From-SVN: r257736
Segher Boessenkool committed -
gcc/ PR target/83831 * config/rx/rx.c (rx_fuse_in_memory_bitop): Convert shift operand to QImode. gcc/testsuite/ PR target/83831 * gcc.target/rx/pr83831.c (test_3, test_6): Adjust test cases. From-SVN: r257735
Oleg Endo committed -
2018-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/84037 PR tree-optimization/84016 PR target/82862 * config/i386/i386.c (ix86_builtin_vectorization_cost): Adjust vec_construct for the fact we need additional higher latency 128bit inserts for AVX256 and AVX512 vector builds. (ix86_add_stmt_cost): Scale vector construction cost for elementwise loads. From-SVN: r257734
Richard Biener committed -
2018-02-16 Richard Biener <rguenther@suse.de> PR bootstrap/82939 * line-map.c (linemap_init): Avoid broken value-init when compiling with GCC 4.2. From-SVN: r257732
Richard Biener committed -
2018-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/84417 * tree-ssa.c (non_rewritable_mem_ref_base): Properly constrain the MEM_REF offset when conversion to BIT_FIELD_REF is desired. (non_rewritable_lvalue_p): Likewise, use poly-ints. * gcc.dg/torture/pr84417.c: New testcase. From-SVN: r257731
Richard Biener committed -
PR target/84239 * libgcc/config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra): Include cetintrin.h not x86intrin.h. From-SVN: r257730
Igor Tsimbalist committed -
2018-02-16 Martin Liska <mliska@suse.cz> PR sanitizer/84307 * internal-fn.def (ASAN_CHECK): Set proper flags. (ASAN_MARK): Likewise. From-SVN: r257729
Martin Liska committed -
gcc/ * config/i386/i386.c (ix86_option_override_internal): Remove PTA_CLWB from PTA_CANNONLAKE. From-SVN: r257728
Julia Koval committed -
re PR target/84272 (AddressSanitizer: heap-use-after-free ../../gcc/config/aarch64/cortex-a57-fma-steering.c:519 in fma_node::get_parity()) PR target/84272 * config/aarch64/cortex-a57-fma-steering.c (fma_forest::merge_forest): Use ++iter rather than iter++ for std::list iterators. (func_fma_steering::dfs): Likewise. Don't delete nodes right away, defer deleting them until all nodes in the forest are processed. Do free even leaf nodes. Change to_process into auto_vec. * g++.dg/opt/pr84272.C: New test. From-SVN: r257727
Jakub Jelinek committed -
PR bootstrap/84405 * system.h (BROKEN_VALUE_INITIALIZATION): Define for GCC < 4.3. * vec.h (vec_default_construct): Use memset instead of placement new if BROKEN_VALUE_INITIALIZATION is defined. * hash-table.h (hash_table<Descriptor, Allocator>::empty_slow): Use memset instead of value initialization if BROKEN_VALUE_INITIALIZATION is defined. From-SVN: r257726
Jakub Jelinek committed -
PR rtl-optimization/83723 * lra-int.h (lra_substitute_pseudo): Add DEBUG_P argument. * lra.c (lra_substitute_pseudo): Likewise. If true, use gen_rtx_raw_SUBREG instead of gen_rtx_SUBREG. Pass DEBUG_P to recursive calls. (lra_substitute_pseudo_within_insn): Adjust lra_substitute_pseudo callers. * lra-constraints.c (inherit_reload_reg, split_reg): Likewise. * gcc.dg/pr83723.c: New test. From-SVN: r257725
Jakub Jelinek committed -
PR rtl-optimization/81443 * rtlanal.c (num_sign_bit_copies1) <SUBREG>: Do not propagate results from inner REGs to paradoxical SUBREGs. From-SVN: r257724
Eric Botcazou committed -
re PR tree-optimization/84399 ([graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206) 2018-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/84399 * graphite-scop-detection.c (scop_detection::stmt_simple_for_scop_p): For operands we can analyze at their definition make sure we can analyze them at each use as well. * gcc.dg/graphite/pr84399.c: New testcase. From-SVN: r257723
Richard Biener committed -
2018-02-16 Richard Biener <rguenther@suse.de> PR tree-optimization/84190 * tree-ssa.c (non_rewritable_mem_ref_base): Do not touch volatile accesses if the decl isn't volatile. * g++.dg/torture/pr84190.C: New testcase. From-SVN: r257721
Richard Biener committed -
* call.c (convert_like_real): Don't use the copy-list-initialization shortcut for ck_base. From-SVN: r257720
Jason Merrill committed -
From-SVN: r257718
GCC Administrator committed
-
- 15 Feb, 2018 20 commits
-
-
gcc/testsuite/ChangeLog: * gcc.dg/lto/README (dg-lto-warning, dg-lto-message): Document new directives. From-SVN: r257714
Martin Sebor committed -
* except.c (build_noexcept_spec): Use strip_typedefs_expr. From-SVN: r257713
Jason Merrill committed -
2018-02-15 Janus Weil <janus@gcc.gnu.org> PR fortran/84409 * interface.c (check_dtio_arg_TKR_intent): Add a check for character length. 2018-02-15 Janus Weil <janus@gcc.gnu.org> PR fortran/84409 * gfortran.dg/dtio_21.f03: Add an error message. * gfortran.dg/dtio_22.f90: Fix invalid test case. From-SVN: r257711
Janus Weil committed -
PR libstdc++/81797 * configure.ac (INCLUDE_DIR_NOTPARALLEL): Define. * configure: Regenerate. * include/Makefile.am (INCLUDE_DIR_NOTPARALLEL): Add .NOTPARALLEL when defined. * include/Makefile.in: Regenerate. From-SVN: r257710
Jonathan Wakely committed -
* pt.c (dguide_name_p): Check for IDENTIFIER_NODE. From-SVN: r257706
Jason Merrill committed -
2018-02-15 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/84381 * gfortran.dg/stop_shouldfail.f90: New test. From-SVN: r257703
Thomas Koenig committed -
PR fortran/stop_shouldfail.f90: New test. From-SVN: r257702
Thomas Koenig committed -
From-SVN: r257700
Jason Merrill committed -
* pt.c (tsubst_pack_expansion): Fix handling of non-packs in local_specializations. From-SVN: r257699
Jason Merrill committed -
/cp 2018-02-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84330 * constraint.cc (tsubst_constraint_info): Handle an error_mark_node as first argument. /testsuite 2018-02-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84330 * g++.dg/concepts/pr84330.C: New. From-SVN: r257698
Paolo Carlini committed -
PR preprocessor/83708 * macro.c (vaopt_state): Reorder m_last_was_paste before m_state. (vaopt_state::vaopt_state): Adjust. (vaopt_state::update_flags): Add BEGIN and END. (vaopt_state::update): Return them. (copy_paste_flag): Factor out of replace_args. (last_token_is): New. (replace_args): Handle BEGIN and END. Avoid padding there. (tokens_buff_last_token_ptr): Return NULL if no tokens. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r257696
Jason Merrill committed -
* attribs.c (build_type_attribute_qual_variant): Don't clobber TYPE_CANONICAL on an existing type. From-SVN: r257695
Jason Merrill committed -
From-SVN: r257690
Aaron Sawdey committed -
2018-02-15 Tom de Vries <tom@codesourcery.com> * gcc.dg/Wstringop-overflow-3.c: Require effective target alloca. From-SVN: r257687
Tom de Vries committed -
2018-02-15 Tom de Vries <tom@codesourcery.com> * gcc.c-torture/compile/pr84136.c: Require effective target indirect_jumps. From-SVN: r257686
Tom de Vries committed -
PR other/82368 * elf.c (SHT_PROGBITS): Undefine and define. From-SVN: r257685
Jakub Jelinek committed -
PR tree-optimization/84383 * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Don't look at dstoff nor call operand_equal_p if dstbase is NULL. * gcc.c-torture/compile/pr84383.c: New test. From-SVN: r257684
Jakub Jelinek committed -
PR tree-optimization/84334 * match.pd ((A +- CST1) +- CST2 -> A + CST3): If A is also a CONSTANT_CLASS_P, punt. * gcc.dg/pr84334.c: New test. From-SVN: r257683
Jakub Jelinek committed -
From-SVN: r257682
Jason Merrill committed -
gcc/ * config/riscv/riscv.c (riscv_first_stack_step): Move locals after first SMALL_OPERAND check. New local min_second_step. Move assert to where locals are set. Add TARGET_RVC support. * config/riscv/riscv.h (C_SxSP_BITS, SWSP_REACH, SDSP_REACH): New. From-SVN: r257681
Jim Wilson committed
-