aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-07-28 00:16:25 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-07-28 00:16:25 +0000
commitaf3f12e6e869adcbb1cec09cedba627d4bbf69a4 (patch)
treedc9064a31d0bca315595f9beb78f916d10ff0462 /gcc
parent7590016ba956de8d036138e3b4dd2435ce625ba2 (diff)
downloadgcc-af3f12e6e869adcbb1cec09cedba627d4bbf69a4.zip
gcc-af3f12e6e869adcbb1cec09cedba627d4bbf69a4.tar.gz
gcc-af3f12e6e869adcbb1cec09cedba627d4bbf69a4.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog132
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/cp/ChangeLog9
-rw-r--r--gcc/testsuite/ChangeLog63
5 files changed, 210 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fd68e24..f071d26 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,135 @@
+2021-07-27 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-gen-builtins.c (write_ovld_static_init): New
+ function.
+ (write_init_file): Call write_ovld_static_init.
+
+2021-07-27 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-gen-builtins.c (write_bif_static_init): New
+ function.
+ (write_init_file): Call write_bif_static_init.
+
+2021-07-27 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-gen-builtins.c (typemap): New struct.
+ (TYPE_MAP_SIZE): New macro.
+ (type_map): New initialized variable.
+ (typemap_cmp): New function.
+ (write_type_node): Likewise.
+ (write_fntype_init): Implement.
+
+2021-07-27 Martin Sebor <msebor@redhat.com>
+
+ PR tree-optimization/101584
+ * tree-ssa-uninit.c (builtin_call_nomodifying_p): New function.
+ (check_defs): Call it.
+
+2021-07-27 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-ssa-dom.c (dom_jump_threader_simplifier):
+ Put avail_exprs_stack in the class, instead of passing it to
+ jump_threader_simplifier.
+ (dom_jump_threader_simplifier::simplify): Add state argument.
+ (dom_opt_dom_walker): Add state.
+ (pass_dominator::execute): Pass state to threader.
+ (dom_opt_dom_walker::before_dom_children): Use state.
+ * tree-ssa-threadedge.c (jump_threader::jump_threader): Replace
+ arguments by state.
+ (jump_threader::record_temporary_equivalences_from_phis):
+ Register equivalences through the state variable.
+ (jump_threader::record_temporary_equivalences_from_stmts_at_dest):
+ Record ranges in a statement through the state variable.
+ (jump_threader::simplify_control_stmt_condition): Pass state to
+ simplify.
+ (jump_threader::simplify_control_stmt_condition_1): Same.
+ (jump_threader::thread_around_empty_blocks): Remove obsolete
+ comment.
+ (jump_threader::thread_through_normal_block): Record equivalences
+ on edge through the state variable.
+ (jump_threader::thread_across_edge): Abstract state pushing.
+ (jt_state::jt_state): New.
+ (jt_state::push): New.
+ (jt_state::pop): New.
+ (jt_state::register_equiv): New.
+ (jt_state::record_ranges_from_stmt): New.
+ (jt_state::register_equivs_on_edge): New.
+ (jump_threader_simplifier::jump_threader_simplifier): Move from
+ header.
+ (jump_threader_simplifier::simplify): Add state argument.
+ * tree-ssa-threadedge.h (class jt_state): New.
+ (class jump_threader): Add state to constructor.
+ (class jump_threader_simplifier): Add state to simplify. Remove
+ avail_exprs_stack from class.
+ * tree-vrp.c (vrp_jump_threader_simplifier::simplify): Add state
+ argument.
+ (vrp_jump_threader::vrp_jump_threader): Add state.
+ (vrp_jump_threader::~vrp_jump_threader): Cleanup state.
+
+2021-07-27 Aldy Hernandez <aldyh@redhat.com>
+
+ * Makefile.in (OBJS): Add gimple-range-path.o.
+ * gimple-range-path.cc: New file.
+ * gimple-range-path.h: New file.
+
+2021-07-27 Jonathan Wright <jonathan.wright@arm.com>
+
+ * config/aarch64/aarch64-simd.md: Push sign/zero-extension
+ inside vec_duplicate for all patterns.
+ * simplify-rtx.c (simplify_context::simplify_unary_operation_1):
+ Push sign/zero-extension inside vec_duplicate.
+
+2021-07-27 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/101573
+ * tree-ssa-uninit.c (warn_uninit_phi_uses): New function
+ looking at uninitialized PHI arg defs in some constrained cases.
+ (warn_uninitialized_vars): Call it.
+ (execute_early_warn_uninitialized): Calculate dominators.
+
+2021-07-27 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/39821
+ * tree-vect-stmts.c (vect_model_promotion_demotion_cost): Use
+ vector_stmt for widening arithmetic.
+ (vectorizable_conversion): Adjust.
+
+2021-07-27 Martin Jambor <mjambor@suse.cz>
+
+ * cgraph.h (ipa_replace_map): New field force_load_ref.
+ * ipa-prop.h (ipa_param_descriptor): Reduce precision of move_cost,
+ aded new flag load_dereferenced, adjusted comments.
+ (ipa_get_param_dereferenced): New function.
+ (ipa_set_param_dereferenced): Likewise.
+ * cgraphclones.c (cgraph_node::create_virtual_clone): Follow it.
+ * ipa-cp.c: Include gimple.h.
+ (ipcp_discover_new_direct_edges): Take into account dereferenced flag.
+ (get_replacement_map): New parameter force_load_ref, set the
+ appropriate flag in ipa_replace_map if set.
+ (struct symbol_and_index_together): New type.
+ (adjust_refs_in_act_callers): New function.
+ (adjust_references_in_caller): Likewise.
+ (create_specialized_node): When appropriate, call
+ adjust_references_in_caller and force only load references.
+ * ipa-prop.c (load_from_dereferenced_name): New function.
+ (ipa_analyze_controlled_uses): Also detect loads from a
+ dereference, harden testing of call statements.
+ (ipa_write_node_info): Stream the dereferenced flag.
+ (ipa_read_node_info): Likewise.
+ (ipa_set_jf_constant): Also create refdesc when jump function
+ references a variable.
+ (cgraph_node_for_jfunc): Rename to symtab_node_for_jfunc, work
+ also on references of variables and return a symtab_node. Adjust
+ all callers.
+ (propagate_controlled_uses): Also remove references to VAR_DECLs.
+
+2021-07-27 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/101586
+ * gimple-fold.c (clear_padding_type): Ignore FIELD_DECLs with byte
+ positions above or equal to sz except for diagnostics of flexible
+ array members.
+
2021-07-26 Andrew MacLeod <amacleod@redhat.com>
PR tree-optimization/78888
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 781a3b1..1074646 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210727
+20210728
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index ce5d70d..10a8bf4 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2021-07-27 Martin Sebor <msebor@redhat.com>
+
+ PR c/101585
+ * c-warn.c (warn_parm_ptrarray_mismatch): Use OEP_DECL_NAME.
+
2021-07-23 Jakub Jelinek <jakub@redhat.com>
* c-lex.c (c_common_has_attribute): Call canonicalize_attr_name also
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 6f8c4f0..217a1ac 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,12 @@
+2021-07-27 Marek Polacek <polacek@redhat.com>
+
+ DR 1512
+ PR c++/99701
+ * cp-gimplify.c (cp_fold): Remove {LE,LT,GE,GT_EXPR} from
+ a switch.
+ * typeck.c (cp_build_binary_op): Reject ordered comparison
+ of two null pointers.
+
2021-07-26 Jakub Jelinek <jakub@redhat.com>
* parser.h (struct cp_lexer): Add orphan_p member.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 88f5812..a9f18a0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,66 @@
+2021-07-27 Martin Sebor <msebor@redhat.com>
+
+ PR tree-optimization/101584
+ * gcc.dg/uninit-38.c: Remove assertions.
+ * gcc.dg/uninit-41.c: New test.
+
+2021-07-27 Jonathan Wakely <jwakely@redhat.com>
+
+ PR testsuite/101646
+ * g++.dg/coroutines/pr99047.C:
+ * g++.dg/pr71655.C:
+
+2021-07-27 Martin Sebor <msebor@redhat.com>
+
+ PR c/101585
+ * gcc.dg/Wvla-parameter-13.c: New test.
+
+2021-07-27 Jeff Law <jlaw@localhost.localdomain>
+
+ * g++.dg/gcov/gcov-threads-1.C: Fix argument to pthread_join.
+
+2021-07-27 Marek Polacek <polacek@redhat.com>
+
+ DR 1512
+ PR c++/99701
+ * g++.dg/cpp0x/nullptr11.C: Remove invalid tests.
+ * g++.dg/cpp0x/nullptr46.C: Add dg-error.
+ * g++.dg/cpp2a/spaceship-err7.C: New test.
+ * g++.dg/expr/ptr-comp4.C: New test.
+
+2021-07-27 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/101573
+ * gcc.dg/uninit-pr101573.c: New testcase.
+ * gcc.dg/uninit-15-O0.c: Adjust.
+ * gcc.dg/uninit-15.c: Likewise.
+ * gcc.dg/uninit-23.c: Likewise.
+ * c-c++-common/uninit-17.c: Likewise.
+
+2021-07-27 Martin Jambor <mjambor@suse.cz>
+
+ * gcc.dg/ipa/remref-3.c: New test.
+ * gcc.dg/ipa/remref-4.c: Likewise.
+ * gcc.dg/ipa/remref-5.c: Likewise.
+ * gcc.dg/ipa/remref-6.c: Likewise.
+
+2021-07-27 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/101586
+ * g++.dg/torture/builtin-clear-padding-4.C: New test.
+
+2021-07-27 Michael Meissner <meissner@linux.ibm.com>
+
+ PR testsuite/100170
+ * gcc.target/powerpc/ppc-eq0-1.c: Adjust insn counts if power10
+ code is generated.
+ * gcc.target/powerpc/ppc-ne0-1.c: (ne0): Adjust insn counts if
+ power10 code is generated.
+ (plus_ne0): Move to ppc-ne0-2.c.
+ (cmp_plus_ne): Likewise.
+ (plus_ne0_cmp): Likewise.
+ * gcc.target/powerpc/ppc-ne0-2.c: New file.
+
2021-07-26 David Malcolm <dmalcolm@redhat.com>
* gcc.dg/analyzer/sock-1.c: New test.