aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-08-19 00:16:42 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-08-19 00:16:42 +0000
commit6e529985d8956f74492e3176026fc02dc8f01b6c (patch)
tree95db7f231ee771aff0405cc85162c11486611ec2 /gcc
parentf0fca213bc52644ba896da622b35842a6157bd98 (diff)
downloadgcc-6e529985d8956f74492e3176026fc02dc8f01b6c.zip
gcc-6e529985d8956f74492e3176026fc02dc8f01b6c.tar.gz
gcc-6e529985d8956f74492e3176026fc02dc8f01b6c.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog51
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/analyzer/ChangeLog51
-rw-r--r--gcc/c-family/ChangeLog6
-rw-r--r--gcc/c/ChangeLog29
-rw-r--r--gcc/cp/ChangeLog39
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/jit/ChangeLog5
-rw-r--r--gcc/objc/ChangeLog10
-rw-r--r--gcc/testsuite/ChangeLog74
11 files changed, 277 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b26f256..4fd8ff7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,54 @@
+2021-08-18 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config.gcc: Include rpath.opt for Darwin.
+ * config/darwin.h (DRIVER_SELF_SPECS): Handle -rpath.
+
+2021-08-18 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR bootstrap/101959
+ * hash-map-tests.c (test_map_of_type_with_ctor_and_dtor_expand):
+ Use an 'int_hash'.
+
+2021-08-18 Jonathan Wright <jonathan.wright@arm.com>
+
+ * config/aarch64/arm_neon.h (vld3_lane_f64): Use float RTL
+ pattern and type cast.
+ (vld4_lane_f32): Use float RTL pattern.
+ (vld4q_lane_f64): Use float type cast.
+
+2021-08-18 Jan Hubicka <hubicka@ucw.cz>
+
+ * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Check also
+ EAF_NOREAD.
+
+2021-08-18 Thomas Schwinge <thomas@codesourcery.com>
+
+ * hash-map-tests.c (test_map_of_type_with_ctor_and_dtor): Extend.
+ (test_map_of_type_with_ctor_and_dtor_expand): Add function.
+ (hash_map_tests_c_tests): Call it.
+
+2021-08-18 Thomas Schwinge <thomas@codesourcery.com>
+
+ * ggc.h (enum ggc_collect): New.
+ (ggc_collect): Use it.
+ * ggc-page.c: Adjust.
+ * ggc-common.c: Likewise.
+ * ggc-tests.c: Likewise.
+ * read-rtl-function.c: Likewise.
+ * selftest-run-tests.c: Likewise.
+ * doc/gty.texi (Invoking the garbage collector): Likewise.
+
+2021-08-18 liuhongt <hongtao.liu@intel.com>
+
+ PR target/97147
+ * config/i386/i386.h (TARGET_V2DF_REDUCTION_PREFER_HADDPD):
+ New macro.
+ * config/i386/sse.md (*sse3_haddv2df3_low): Add
+ TARGET_V2DF_REDUCTION_PREFER_HADDPD.
+ (*sse3_hsubv2df3_low): Ditto.
+ * config/i386/x86-tune.def
+ (X86_TUNE_V2DF_REDUCTION_PREFER_HADDPD): New tune.
+
2021-08-17 Andrew MacLeod <amacleod@redhat.com>
* gimple-range-gori.cc (gori_compute::gori_compute): Enable tracing.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 70b09db..30a51b9 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210818
+20210819
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 8e19ca4..63a04b1 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2021-08-18 Eric Botcazou <ebotcazou@gcc.gnu.org>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Fix
+ thinko in latest change.
+
2021-08-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR debug/101598
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 43e3c63..0b483cc 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,54 @@
+2021-08-18 Ankur Saini <arsenic@sourceware.org>
+
+ PR analyzer/97114
+ * region-model.cc (region_model::get_rvalue_1): Add case for
+ OBJ_TYPE_REF.
+
+2021-08-18 Ankur Saini <arsenic@sourceware.org>
+
+ PR analyzer/100546
+ * analysis-plan.cc (analysis_plan::use_summary_p): Don't use call
+ summaries if there is no callgraph edge
+ * checker-path.cc (call_event::call_event): Handle calls events that
+ are not represented by a supergraph call edge
+ (return_event::return_event): Likewise.
+ (call_event::get_desc): Work with new call_event structure.
+ (return_event::get_desc): Likeise.
+ * checker-path.h (call_event::m_src_snode): New field.
+ (call_event::m_dest_snode): New field.
+ (return_event::m_src_snode): New field.
+ (return_event::m_dest_snode): New field.
+ * diagnostic-manager.cc
+ (diagnostic_manager::prune_for_sm_diagnostic)<case EK_CALL_EDGE>:
+ Refactor to work with edges without callgraph edge.
+ (diagnostic_manager::prune_for_sm_diagnostic)<case EK_RETURN_EDGE>:
+ Likewise.
+ * engine.cc (dynamic_call_info_t::update_model): New function.
+ (dynamic_call_info_t::add_events_to_path): New function.
+ (exploded_graph::create_dynamic_call): New function.
+ (exploded_graph::process_node): Work with dynamically discovered calls.
+ * exploded-graph.h (class dynamic_call_info_t): New class.
+ (exploded_graph::create_dynamic_call): New decl.
+ * program-point.cc (program_point::push_to_call_stack): New function.
+ (program_point::pop_from_call_stack): New function.
+ * program-point.h (program_point::push_to_call_stack): New decl.
+ (program_point::pop_from_call_stack): New decl.
+ * program-state.cc (program_state::push_call): New function.
+ (program_state::returning_call): New function.
+ * program-state.h (program_state::push_call): New decl.
+ (program_state::returning_call): New decl.
+ * region-model.cc (region_model::update_for_gcall) New function.
+ (region_model::update_for_return_gcall): New function.
+ (egion_model::update_for_call_superedge): Get the underlying gcall and
+ update for gcall.
+ (region_model::update_for_return_superedge): Likewise.
+ * region-model.h (region_model::update_for_gcall): New decl.
+ (region_model::update_for_return_gcall): New decl.
+ * state-purge.cc (state_purge_per_ssa_name::process_point): Update to
+ work with calls without underlying cgraph edge.
+ * supergraph.cc (supergraph::supergraph) Split snodes at every callsite.
+ * supergraph.h (supernode::get_returning_call) New accessor.
+
2021-08-04 David Malcolm <dmalcolm@redhat.com>
PR analyzer/101570
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 5595994..ab566ba 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,9 @@
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_NOTHING.
+ * c-pragma.c (omp_pragmas): Add nothing directive.
+ * c-omp.c (omp_directives): Uncomment nothing directive entry.
+
2021-08-17 Jakub Jelinek <jakub@redhat.com>
PR c++/101539
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index caeac5b..53abd1a 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,32 @@
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-parser.c (c_parser_omp_nothing): New function.
+ (c_parser_pragma): Handle PRAGMA_OMP_NOTHING.
+
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-parser.c (c_parser_statement_after_labels): Add restart label
+ near the start of the function. If c_parser_pragma returns false,
+ goto restart.
+ (c_parser_pragma): For PRAGMA_OMP_CANCELLATION_POINT return what
+ c_parser_omp_cancellation_point returned. For PRAGMA_OMP_DECLARE
+ return what c_parser_omp_declare returned. Return true instead of
+ false after emitting errors that the directive is not allowed in
+ pragma_stmt context.
+ (c_parser_omp_ordered): Return true instead of
+ false after emitting errors that the directive is not allowed in
+ pragma_stmt context.
+ (c_parser_omp_target_update): Likewise.
+ (c_parser_omp_target_enter_data, c_parser_omp_target_exit_data):
+ Change return type from tree to bool, return false if the
+ directive should be ignored in pragma_stmt contexts.
+ (c_parser_omp_target): Adjust callers of c_parser_omp_target_*_data,
+ return their result directly.
+ (c_parser_omp_cancellation_point): Change return type from void to
+ bool, return false if the directive should be ignored in pragma_stmt
+ contexts.
+ (c_parser_omp_declare): Likewise.
+
2021-08-17 Jakub Jelinek <jakub@redhat.com>
* c-parser.c (OMP_SCOPE_CLAUSE_MASK): Define.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a2d47b3..a06a496 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,42 @@
+2021-08-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/101344
+ PR c++/101820
+ * cp-tree.h (CONSTRUCTOR_BRACES_ELIDED_P): Define.
+ * decl.c (reshape_init_r): Set it.
+ * pt.c (collect_ctor_idx_types): Recurse into a sub-CONSTRUCTOR
+ iff CONSTRUCTOR_BRACES_ELIDED_P.
+
+2021-08-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/101883
+ * pt.c (convert_template_argument): Pass LOOKUP_IMPLICIT to
+ do_auto_deduction.
+
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * parser.c (cp_parser_omp_nothing): New function.
+ (cp_parser_pragma): Handle PRAGMA_OMP_NOTHING.
+
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * parser.c (cp_parser_omp_ordered): Return true instead of
+ false after emitting errors that the directive is not allowed in
+ pragma_stmt context.
+ (cp_parser_omp_target_update): Likewise.
+ (cp_parser_omp_cancellation_point): Change return type from void to
+ bool, return false if the directive should be ignored in pragma_stmt
+ contexts.
+ (cp_parser_omp_target_enter_data, cp_parser_omp_target_exit_data):
+ Change return type from tree to bool, return false if the
+ directive should be ignored in pragma_stmt contexts.
+ (cp_parser_omp_target): Adjust callers of cp_parser_omp_target_*_data,
+ return their result directly.
+ (cp_parser_pragma): For PRAGMA_OMP_CANCELLATION_POINT return what
+ cp_parser_omp_cancellation_point returned. Return true instead of
+ false after emitting errors that the directive is not allowed in
+ pragma_stmt context.
+
2021-08-17 Jakub Jelinek <jakub@redhat.com>
PR c++/101539
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 86a2bda..90a3e53 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2021-08-18 Tobias Burnus <tobias@codesourcery.com>
+
+ * match.h (gfc_match_omp_nothing): New.
+ * openmp.c (gfc_match_omp_nothing): New.
+ * parse.c (decode_omp_directive): Match 'nothing' directive.
+
2021-08-17 Tobias Burnus <tobias@codesourcery.com>
* dump-parse-tree.c (show_omp_node, show_code_node): Handle
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index 2a2675a..7557e17 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,3 +1,8 @@
+2021-08-18 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR jit/100613
+ * Make-lang.in: Provide clauses for Darwin hosts.
+
2021-07-18 Antoni Boucher <bouanto@zoho.com>
PR target/95498
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 8adde0d..ea8c88b 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,13 @@
+2021-08-18 Iain Sandoe <iain@sandoe.co.uk>
+ Matt Jacobson <mhjacobson@me.com>
+
+ PR objc/101666
+ * objc-act.c (objc_build_constructor): Handle empty constructor
+ lists.
+ * objc-next-runtime-abi-02.c (build_v2_objc_method_fixup_call):
+ Handle nil receivers.
+ (build_v2_build_objc_method_call): Likewise.
+
2021-08-17 Matt Jacobson <mhjacobson@me.com>
* objc-next-runtime-abi-02.c
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e5dcd4a..57b714a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,77 @@
+2021-08-18 Tobias Burnus <tobias@codesourcery.com>
+
+ PR testsuite/101963
+ * gfortran.dg/nothing-1.f90: Moved to ...
+ * gfortran.dg/gomp/nothing-1.f90: ... here.
+ * gfortran.dg/nothing-2.f90: Moved to ...
+ * gfortran.dg/gomp/nothing-2.f90: ... here;
+ avoid $ issue in $OMP in dg-error.
+
+2021-08-18 Iain Sandoe <iain@sandoe.co.uk>
+ Matt Jacobson <mhjacobson@me.com>
+
+ PR objc/101666
+ * obj-c++.dg/pr101666-0.mm: New test.
+ * obj-c++.dg/pr101666-1.mm: New test.
+ * obj-c++.dg/pr101666.inc: New.
+ * objc.dg/pr101666-0.m: New test.
+ * objc.dg/pr101666-1.m: New test.
+ * objc.dg/pr101666.inc: New.
+
+2021-08-18 Ankur Saini <arsenic@sourceware.org>
+
+ PR analyzer/97114
+ * g++.dg/analyzer/vfunc-2.C: New test.
+ * g++.dg/analyzer/vfunc-3.C: New test.
+ * g++.dg/analyzer/vfunc-4.C: New test.
+ * g++.dg/analyzer/vfunc-5.C: New test.
+
+2021-08-18 Ankur Saini <arsenic@sourceware.org>
+
+ PR analyzer/100546
+ * gcc.dg/analyzer/function-ptr-4.c: New test.
+ * gcc.dg/analyzer/pr100546.c: New test.
+
+2021-08-18 Tobias Burnus <tobias@codesourcery.com>
+
+ * gfortran.dg/nothing-1.f90: New test.
+ * gfortran.dg/nothing-2.f90: New test.
+
+2021-08-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/101344
+ PR c++/101820
+ * g++.dg/cpp2a/class-deduction-aggr11.C: New test.
+ * g++.dg/cpp2a/class-deduction-aggr12.C: New test.
+
+2021-08-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/101883
+ * g++.dg/cpp2a/nontype-class49.C: New test.
+
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-c++-common/gomp/nothing-1.c: New test.
+ * g++.dg/gomp/attrs-1.C (bar): Add nothing directive test.
+ * g++.dg/gomp/attrs-2.C (bar): Likewise.
+ * g++.dg/gomp/attrs-9.C: Likewise.
+
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-c++-common/gomp/pr63326.c: Don't expect extra "before" errors
+ in C++.
+ * g++.dg/gomp/attrs-7.C: Don't expect one extra error.
+ * g++.dg/gomp/barrier-2.C: Likewise.
+ * gcc.dg/gomp/declare-simd-5.c: Likewise.
+ * gcc.dg/gomp/barrier-2.c: Likewise.
+ * gcc.dg/gomp/declare-variant-2.c: Likewise.
+
+2021-08-18 liuhongt <hongtao.liu@intel.com>
+
+ PR target/97147
+ * gcc.target/i386/pr54400.c: Adjust testcase.
+ * gcc.target/i386/pr94147.c: New test.
+
2021-08-17 Martin Sebor <msebor@redhat.com>
PR middle-end/101854