aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-01-06 00:16:55 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-01-06 00:16:55 +0000
commit651b8a50a6d1dddcf39c28f72110b82f7eae918d (patch)
tree0c900fbb8f5c1e51c54076cc1e0e91887a781431 /gcc
parentad92bf4b165935b58195825dc8f089f53fd2710b (diff)
downloadgcc-651b8a50a6d1dddcf39c28f72110b82f7eae918d.zip
gcc-651b8a50a6d1dddcf39c28f72110b82f7eae918d.tar.gz
gcc-651b8a50a6d1dddcf39c28f72110b82f7eae918d.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog184
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog36
-rw-r--r--gcc/d/ChangeLog17
-rw-r--r--gcc/go/ChangeLog13
-rw-r--r--gcc/objcp/ChangeLog10
-rw-r--r--gcc/testsuite/ChangeLog113
8 files changed, 381 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 57dc689..1bd5922 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,187 @@
+2021-01-06 Gerald Pfeifer <gerald@pfeifer.com>
+
+ Revert:
+ 2020-12-28 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/standards.texi (HSAIL): Remove section.
+
+2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * configure: Re-generate.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ * doc/invoke.texi (-std=c++20): Adjust for the publication of
+ ISO 14882:2020 standard.
+ * doc/standards.texi: Likewise.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/94802
+ * expr.h (maybe_optimize_sub_cmp_0): Declare.
+ * expr.c: Include tree-pretty-print.h and flags.h.
+ (maybe_optimize_sub_cmp_0): New function.
+ (do_store_flag): Use it.
+ * cfgexpand.c (expand_gimple_cond): Likewise.
+
+2021-01-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ * mux-utils.h (pointer_mux::m_ptr): Tweak description of contents.
+ * rtlanal.c (simple_regno_set): Tweak description to clarify the
+ RMW condition.
+
+2021-01-05 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/98516
+ * tree-vect-slp.c (vect_optimize_slp): Permute the incoming
+ lanes when materializing on a VEC_PERM node.
+ (vectorizable_slp_permutation): Dump the permute properly.
+
+2021-01-05 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.c (vect_slp_region): Move debug counter
+ to cover individual subgraphs.
+
+2021-01-05 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/98428
+ * tree-vect-slp.c (vect_build_slp_tree_1): Properly reject
+ vector lane extracts for loop vectorization.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/98514
+ * tree-ssa-reassoc.c (bb_rank): Change type from long * to
+ int64_t *.
+ (operand_rank): Change type from hash_map<tree, long> to
+ hash_map<tree, int64_t>.
+ (phi_rank): Change return type from long to int64_t.
+ (loop_carried_phi): Change block_rank variable type from long to
+ int64_t.
+ (propagate_rank): Change return type, rank parameter type and
+ op_rank variable type from long to int64_t.
+ (find_operand_rank): Change return type from long to int64_t
+ and change slot variable type from long * to int64_t *.
+ (insert_operand_rank): Change rank parameter type from long to
+ int64_t.
+ (get_rank): Change return type and rank variable type from long to
+ int64_t. Use PRId64 instead of ld to print the rank.
+ (init_reassoc): Change rank variable type from long to int64_t
+ and adjust correspondingly bb_rank and operand_rank initialization.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/96928
+ * tree-ssa-phiopt.c (xor_replacement): New function.
+ (tree_ssa_phiopt_worker): Call it.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/96930
+ * match.pd ((A / (1 << B)) -> (A >> B)): If A is extended
+ from narrower value which has the same type as 1 << B, perform
+ the right shift on the narrower value followed by extension.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/96239
+ * gimple-ssa-store-merging.c (maybe_optimize_vector_constructor): New
+ function.
+ (get_status_for_store_merging): Don't return BB_INVALID for blocks
+ with potential bswap optimizable CONSTRUCTORs.
+ (pass_store_merging::execute): Optimize vector CONSTRUCTORs with bswap
+ if possible.
+
+2021-01-05 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/98381
+ * tree.c (vector_element_bits): Properly compute bool vector
+ element size.
+ * tree-vect-loop.c (vectorizable_live_operation): Properly
+ compute the last lane bit offset.
+
+2021-01-05 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/98522
+ * config/i386/sse.md (sse_cvtps2pi): Redefine as define_insn_and_split.
+ Clear the top 64 bytes of the input XMM register.
+ (sse_cvttps2pi): Ditto.
+
+2021-01-05 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/98521
+ * config/i386/xopintrin.h (_mm256_cmov_si256): New.
+
+2021-01-05 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/98495
+ * config/i386/xmmintrin.h (_mm_extract_pi16): Cast to unsigned
+ short first.
+
+2021-01-05 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * config/arc/arc.md (maddsidi4_split): Use ACC_REG_FIRST.
+ (umaddsidi4_split): Likewise.
+
+2021-01-05 liuhongt <hongtao.liu@intel.com>
+
+ PR target/98461
+ * config/i386/sse.md (*sse2_pmovskb_zexthisi): New
+ define_insn_and_split for zero_extend of subreg HI of pmovskb
+ result.
+ (*sse2_pmovskb_zexthisi): Add new combine splitters for
+ zero_extend of not of subreg HI of pmovskb result.
+
+2021-01-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/97269
+ * explow.c (convert_memory_address_addr_space_1): Handle UNSPECs
+ nested in CONSTs.
+ * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Use
+ convert_memory_address to convert symbolic immediates to ptr_mode
+ before forcing them to memory.
+
+2021-01-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR rtl-optimization/97144
+ * recog.c (constrain_operands): Initialize matching_operand
+ for each alternative, rather than only doing it once.
+
+2021-01-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR rtl-optimization/98403
+ * rtl-ssa/changes.cc (function_info::finalize_new_accesses): Explain
+ why we don't remove call clobbers.
+ (function_info::apply_changes_to_insn): Don't attempt to add
+ call clobbers here.
+
+2021-01-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/98371
+ * tree-vect-loop.c (vect_reanalyze_as_main_loop): New function.
+ (vect_analyze_loop): If an epilogue loop appears to be cheaper
+ than the main loop, re-analyze it as a main loop before adopting
+ it as a main loop.
+
+2021-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR c++/98316
+ * configure.ac (NETLIBS): Determine using AX_LIB_SOCKET_NSL.
+ * aclocal.m4, configure: Regenerate.
+ * Makefile.in (NETLIBS): Define.
+ (BACKEND): Remove $(CODYLIB).
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/98334
+ * simplify-rtx.c (simplify_context::simplify_binary_operation_1):
+ Optimize (X - 1) * Y + Y to X * Y or (X + 1) * Y - Y to X * Y.
+
+2021-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * tree-inline.c (expand_call_inline): Restore input_location.
+ Return result from recursive call.
+
2021-01-04 Richard Sandiford <richard.sandiford@arm.com>
PR tree-optimization/95401
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index fc77526..c11ea6e 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210105
+20210106
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index b8d6b1a..d5216e9 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,10 @@
+2021-01-05 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/98293
+ * store.cc (binding_map::apply_ctor_to_region): When "index" is
+ NULL, iterate through the fields for RECORD_TYPEs, rather than
+ creating an INTEGER_CST index.
+
2020-11-30 David Malcolm <dmalcolm@redhat.com>
* analyzer-pass.cc: Include "analyzer/analyzer.h" for the
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ca00794..5f35ab7 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,39 @@
+2021-01-05 Patrick Palka <ppalka@redhat.com>
+
+ * pt.c (unify) <case TEMPLATE_PARM_INDEX>: After walking into
+ the type of the NTTP, substitute into the type again. If the
+ type is still dependent, don't unify the NTTP.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ * Make-lang.in (cc1plus-checksum, cc1plus$(exeext): Add
+ $(CODYLIB) after $(BACKEND).
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98469
+ * constexpr.c (cxx_eval_constant_expression) <case BIT_CAST_EXPR>:
+ Punt if lval is true.
+ * semantics.c (cp_build_bit_cast): Call get_target_expr_sfinae on
+ the result if it has a class type.
+
+2021-01-05 Marek Polacek <polacek@redhat.com>
+
+ PR c++/82099
+ * pt.c (resolve_overloaded_unification): Call
+ maybe_instantiate_noexcept after instantiating the function
+ decl.
+
+2021-01-05 Nathan Sidwell <nathan@acm.org>
+
+ * parser.c (cp_parser_module_declaration): Alter diagnostic
+ text to say where is permissable.
+
+2021-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR c++/98316
+ * Make-lang.in (cc1plus$(exeext)): Add $(CODYLIB), $(NETLIBS).
+
2021-01-02 Jan Hubicka <jh@suse.cz>
* cp-tree.h (cp_tree_c_finish_parsing): Declare.
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index 03fd8e7..50a95f1 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,20 @@
+2021-01-05 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * dmd/MERGE: Merge upstream dmd a5c86f5b9.
+ * d-builtins.cc (d_eval_constant_expression): Handle ADDR_EXPR trees
+ created by build_string_literal.
+ * d-frontend.cc (retStyle): Remove function.
+ * d-target.cc (d_language_target_info): New variable.
+ (d_target_info_table): Likewise.
+ (Target::_init): Initialize d_target_info_table.
+ (Target::isReturnOnStack): New function.
+ (d_add_target_info_handlers): Likewise.
+ (d_handle_target_cpp_std): Likewise.
+ (d_handle_target_cpp_runtime_library): Likewise.
+ (Target::getTargetInfo): Likewise.
+ * d-target.h (struct d_target_info_spec): New type.
+ (d_add_target_info_handlers): Declare.
+
2021-01-01 Jakub Jelinek <jakub@redhat.com>
* gdc.texi: Bump @copyrights-d year.
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index 0c23345..ddf550f 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,3 +1,16 @@
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ * lang.opt (fgo-embedcfg=): Add full stop at the end of description.
+
+2021-01-05 Ian Lance Taylor <iant@golang.org>
+
+ * lang.opt (fgo-embedcfg): New option.
+ * go-c.h (struct go_create_gogo_args): Add embedcfg field.
+ * go-lang.c (go_embedcfg): New static variable.
+ (go_langhook_init): Set go_create_gogo_args embedcfg field.
+ (go_langhook_handle_option): Handle OPT_fgo_embedcfg_.
+ * gccgo.texi (Invoking gccgo): Document -fgo-embedcfg.
+
2021-01-01 Jakub Jelinek <jakub@redhat.com>
* gccgo.texi: Bump @copyrights-go year.
diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog
index ff827c7..44b412b 100644
--- a/gcc/objcp/ChangeLog
+++ b/gcc/objcp/ChangeLog
@@ -1,3 +1,13 @@
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ * Make-lang.in (cc1objplus-checksum, cc1objplus$(exeext): Add
+ $(CODYLIB) after $(BACKEND).
+
+2021-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR c++/98316
+ * Make-lang.in (cc1objplus$(exeext)): Add $(CODYLIB), $(NETLIBS).
+
2020-11-20 Jakub Jelinek <jakub@redhat.com>
PR other/97911
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 552c190..a5b1044 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,116 @@
+2021-01-05 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ * gcc.target/s390/s390.exp: Replace %% with %.
+
+2021-01-05 Steve Kargl <sgk@troutmask.apl.washington.edu>
+
+ * gfortran.dg/dec_math.f90: xfail on i?86-*-freebsd*
+
+2021-01-05 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/98495
+ * gcc.target/i386/sse2-mmx-pextrw.c (compute_correct_result): Use
+ unsigned short to compute pextrw result.
+
+2021-01-05 Patrick Palka <ppalka@redhat.com>
+
+ * g++.dg/template/partial5.C: Adjust directives to expect the
+ same errors across all dialects.
+ * g++.dg/cpp1z/nontype-auto17.C: New test.
+ * g++.dg/cpp1z/nontype-auto18.C: New test.
+ * g++.dg/template/ttp33.C: New test.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/94802
+ * gcc.target/i386/pr94802.c: New test.
+ * gcc.dg/Wstrict-overflow-25.c: Remove xfail.
+
+2021-01-05 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/98516
+ * gcc.dg/vect/bb-slp-pr98516-1.c: New testcase.
+ * gcc.dg/vect/bb-slp-pr98516-2.c: Likewise.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98469
+ * g++.dg/cpp2a/bit-cast8.C: New test.
+ * g++.dg/cpp2a/bit-cast9.C: New test.
+
+2021-01-05 Marek Polacek <polacek@redhat.com>
+
+ PR c++/82099
+ * g++.dg/cpp1z/class-deduction76.C: Remove dg-ice.
+ * g++.dg/cpp0x/noexcept61.C: New test.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/96928
+ * gcc.dg/tree-ssa/pr96928.c: New test.
+ * gcc.target/i386/ifcvt-onecmpl-abs-1.c: Remove -fdump-rtl-ce1,
+ instead of scanning rtl dump for ifcvt message check assembly
+ for xor instruction.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/96930
+ * g++.dg/tree-ssa/pr96930.C: New test.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/96239
+ * gcc.dg/tree-ssa/pr96239.c: New test.
+
+2021-01-05 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/98522
+ * gcc.target/i386/pr98522.c: New test.
+
+2021-01-05 Nathan Sidwell <nathan@acm.org>
+
+ * g++.dg/modules/mod-decl-1.C: Adjust.
+ * g++.dg/modules/p0713-2.C: Adjust.
+ * g++.dg/modules/p0713-3.C: Adjust.
+
+2021-01-05 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/98495
+ * gcc.target/i386/pr98495-1.c: New test.
+ * gcc.target/i386/pr98495-2.c: New test.
+ * gcc.target/i386/pr98495-3.c: New test.
+ * gcc.target/i386/pr98495-4.c: New test.
+ * gcc.target/i386/pr98495-5.c: New test.
+
+2021-01-05 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/sse2-pr98461-2.c: New test.
+
+2021-01-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR rtl-optimization/97144
+ * gcc.c-torture/compile/pr97144.c: New test.
+ * gcc.target/aarch64/sve/pr97144.c: Likewise.
+
+2021-01-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR rtl-optimization/98403
+ * g++.dg/opt/pr98403.C: New test.
+
+2021-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/98334
+ * gcc.target/i386/pr98334.c: New test.
+
+2021-01-05 Jerome Lambourg <lambourg@adacore.com>
+
+ * g++.dg/cpp1y/constexpr-66093.C: Fix bounds issue.
+
+2021-01-05 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/98293
+ * gcc.dg/analyzer/pr98293.c: New test.
+
2021-01-04 Martin Uecker <muecker@gwdg.de>
PR c/98029