aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog88
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog14
-rw-r--r--gcc/c/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog40
-rw-r--r--gcc/d/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog131
7 files changed, 286 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 588bb2c..94f636f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,91 @@
+2020-07-31 Roger Sayle <roger@nextmovesoftware.com>
+ Tom de Vries <tdevries@suse.de>
+
+ PR target/90928
+ * config/nvptx/nvptx.c (nvptx_truly_noop_truncation): Implement.
+ (TARGET_TRULY_NOOP_TRUNCATION): Define.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR debug/96383
+ * langhooks-def.h (lhd_finalize_early_debug): Declare.
+ (LANG_HOOKS_FINALIZE_EARLY_DEBUG): Define.
+ (LANG_HOOKS_INITIALIZER): Amend.
+ * langhooks.c: Include cgraph.h and debug.h.
+ (lhd_finalize_early_debug): Default implementation from
+ former code in finalize_compilation_unit.
+ * langhooks.h (lang_hooks::finalize_early_debug): Add.
+ * cgraphunit.c (symbol_table::finalize_compilation_unit):
+ Call the finalize_early_debug langhook.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ * genmatch.c (expr::force_leaf): Add and initialize.
+ (expr::gen_transform): Honor force_leaf by passing
+ NULL as sequence argument to maybe_push_res_to_seq.
+ (parser::parse_expr): Allow ! marker on result expression
+ operations.
+ * doc/match-and-simplify.texi: Amend.
+
+2020-07-31 Kewen Lin <linkw@linux.ibm.com>
+
+ * tree-vect-loop.c (vect_get_known_peeling_cost): Don't consider branch
+ taken costs for prologue and epilogue if they don't exist.
+ (vect_estimate_min_profitable_iters): Likewise.
+
+2020-07-31 Martin Liska <mliska@suse.cz>
+
+ * cgraph.h: Remove leading empty lines.
+ * cgraphunit.c (enum cgraph_order_sort_kind): Remove
+ ORDER_UNDEFINED.
+ (struct cgraph_order_sort): Add constructors.
+ (cgraph_order_sort::process): New.
+ (cgraph_order_cmp): New.
+ (output_in_order): Simplify and push nodes to vector.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/96369
+ * fold-const.c (fold_range_test): Special-case constant
+ LHS for short-circuiting operations.
+
+2020-07-31 Martin Liska <mliska@suse.cz>
+
+ * gcov-io.h (GCOV_PREALLOCATED_KVP): New.
+
+2020-07-31 Zhiheng Xie <xiezhiheng@huawei.com>
+
+ * config/aarch64/aarch64-builtins.c (aarch64_general_add_builtin):
+ Add new argument ATTRS.
+ (aarch64_call_properties): New function.
+ (aarch64_modifies_global_state_p): Likewise.
+ (aarch64_reads_global_state_p): Likewise.
+ (aarch64_could_trap_p): Likewise.
+ (aarch64_add_attribute): Likewise.
+ (aarch64_get_attributes): Likewise.
+ (aarch64_init_simd_builtins): Add attributes for each built-in function.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR debug/78288
+ * var-tracking.c (vt_find_locations): Use
+ rev_post_order_and_mark_dfs_back_seme and separately iterate
+ over toplevel SCCs.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ * cfganal.h (rev_post_order_and_mark_dfs_back_seme): Adjust
+ prototype.
+ * cfganal.c (rpoamdbs_bb_data): New struct with pre BB data.
+ (tag_header): New helper.
+ (cmp_edge_dest_pre): Likewise.
+ (rev_post_order_and_mark_dfs_back_seme): Compute SCCs,
+ find SCC exits and perform a DFS walk with extra edges to
+ compute a RPO with adjacent SCC members when requesting an
+ iteration optimized order and populate the toplevel SCC array.
+ * tree-ssa-sccvn.c (do_rpo_vn): Remove ad-hoc computation
+ of max_rpo and fill it in from SCC extent info instead.
+
2020-07-30 Will Schmidt <will_schmidt@vnet.ibm.com>
* config/rs6000/altivec.h (vec_test_lsbb_all_ones): New define.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 675c0b9..b4bc243 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20200731
+20200801
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 5780e64..85e0c00 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,17 @@
+2020-07-31 Martin Sebor <msebor@redhat.com>
+
+ PR c++/96003
+ * c-common.c (check_function_arguments_recurse): Return early when
+ no-warning bit is set.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR debug/96383
+ * c-common.h (c_common_finalize_early_debug): Declare.
+ * c-common.c: Include debug.h.
+ (c_common_finalize_early_debug): finalize_early_debug langhook
+ implementation generating debug for extern declarations.
+
2020-07-27 Nathan Sidwell <nathan@acm.org>
* c-common.c (try_to_locate_new_include_insertion_point): Use
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index dea0429..18eeb1b 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR debug/96383
+ * c-objc-common.h (LANG_HOOKS_FINALIZE_EARLY_DEBUG):
+ Define to c_common_finalize_early_debug.
+
2020-07-22 Tobias Burnus <tobias@codesourcery.com>
* c-parser.c (c_parser_omp_clause_hint): Require nonnegative hint clause.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3b70a9f..31d64bd 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,43 @@
+2020-07-31 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/96182
+ * decl.c (finish_function): In constexpr functions use for C++14 and
+ later error instead of warning if no return statement is present and
+ diagnose it regardless of warn_return_type. Move the warn_return_type
+ diagnostics earlier in the function.
+
+2020-07-31 Martin Sebor <msebor@redhat.com>
+
+ PR c++/96003
+ * class.c (build_base_path): Set no-warning bit on the synthesized
+ conditional expression in static_cast.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR debug/96383
+ * cp-objcp-common.h (LANG_HOOKS_FINALIZE_EARLY_DEBUG):
+ Define to c_common_finalize_early_debug.
+
+2020-07-31 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96197
+ * constexpr.c (cxx_eval_constant_expression) <case CONST_DECL>:
+ Pass false to decl_constant_value and decl_really_constant_value
+ so that they don't unshare their result.
+ * cp-tree.h (decl_constant_value): New declaration with an added
+ bool parameter.
+ (decl_really_constant_value): Add bool parameter defaulting to
+ true to existing declaration.
+ * init.c (constant_value_1): Add bool parameter which controls
+ whether to unshare the initializer before returning. Call
+ unshare_expr at most once.
+ (scalar_constant_value): Pass true to constant_value_1's new
+ bool parameter.
+ (decl_really_constant_value): Add bool parameter and forward it
+ to constant_value_1.
+ (decl_constant_value): Likewise, but instead define a new
+ overload with an added bool parameter.
+
2020-07-30 Patrick Palka <ppalka@redhat.com>
PR c++/64194
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index e2b3529..931460c 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,9 @@
+2020-07-31 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ PR d/96393
+ * intrinsics.cc (expand_intrinsic_bt): Don't generate BIT_NOT_EXPR for
+ btr32 intrinsic.
+
2020-07-30 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/96152
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5183c5a..a5dd830 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,134 @@
+2020-07-31 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/96182
+ * g++.dg/cpp1y/constexpr-96182.C: New test.
+ * g++.dg/other/error35.C (S<T>::g()): Add return statement.
+ * g++.dg/cpp1y/pr63996.C (foo): Likewise.
+ * g++.dg/cpp1y/constexpr-return2.C (f): Likewise.
+ * g++.dg/cpp1y/var-templ44.C (make_array): Add throw 1.
+
+2020-07-31 Roger Sayle <roger@nextmovesoftware.com>
+ Tom de Vries <tdevries@suse.de>
+
+ * gcc.target/nvptx/v2si-cvt.c: Simplify source. Remove
+ scan-assembler directives. Mention PR96403.
+
+2020-07-31 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * gdc.dg/compilable.d: Removed.
+ * gdc.dg/gdc108.d: New test.
+ * gdc.dg/gdc115.d: New test.
+ * gdc.dg/gdc121.d: New test.
+ * gdc.dg/gdc122.d: New test.
+ * gdc.dg/gdc127.d: New test.
+ * gdc.dg/gdc131.d: New test.
+ * gdc.dg/gdc133.d: New test.
+ * gdc.dg/gdc141.d: New test.
+ * gdc.dg/gdc142.d: New test.
+ * gdc.dg/gdc15.d: New test.
+ * gdc.dg/gdc17.d: New test.
+ * gdc.dg/gdc170.d: New test.
+ * gdc.dg/gdc171.d: New test.
+ * gdc.dg/gdc179.d: New test.
+ * gdc.dg/gdc183.d: New test.
+ * gdc.dg/gdc186.d: New test.
+ * gdc.dg/gdc187.d: New test.
+ * gdc.dg/gdc19.d: New test.
+ * gdc.dg/gdc191.d: New test.
+ * gdc.dg/gdc194.d: New test.
+ * gdc.dg/gdc196.d: New test.
+ * gdc.dg/gdc198.d: New test.
+ * gdc.dg/gdc200.d: New test.
+ * gdc.dg/gdc204.d: New test.
+ * gdc.dg/gdc210.d: New test.
+ * gdc.dg/gdc212.d: New test.
+ * gdc.dg/gdc213.d: New test.
+ * gdc.dg/gdc218.d: New test.
+ * gdc.dg/gdc223.d: New test.
+ * gdc.dg/gdc231.d: New test.
+ * gdc.dg/gdc239.d: New test.
+ * gdc.dg/gdc24.d: New test.
+ * gdc.dg/gdc240.d: New test.
+ * gdc.dg/gdc241.d: New test.
+ * gdc.dg/gdc242a.d: New test.
+ * gdc.dg/gdc242b.d: New test.
+ * gdc.dg/gdc248.d: New test.
+ * gdc.dg/gdc250.d: New test.
+ * gdc.dg/gdc251.d: New test.
+ * gdc.dg/gdc253a.d: New test.
+ * gdc.dg/gdc253b.d: New test.
+ * gdc.dg/gdc255.d: New test.
+ * gdc.dg/gdc256.d: New test.
+ * gdc.dg/gdc261.d: New test.
+ * gdc.dg/gdc27.d: New test.
+ * gdc.dg/gdc273.d: New test.
+ * gdc.dg/gdc280.d: New test.
+ * gdc.dg/gdc284.d: New test.
+ * gdc.dg/gdc285.d: New test.
+ * gdc.dg/gdc286.d: New test.
+ * gdc.dg/gdc300.d: New test.
+ * gdc.dg/gdc309.d: New test.
+ * gdc.dg/gdc31.d: New test.
+ * gdc.dg/gdc35.d: New test.
+ * gdc.dg/gdc36.d: New test.
+ * gdc.dg/gdc37.d: New test.
+ * gdc.dg/gdc4.d: New test.
+ * gdc.dg/gdc43.d: New test.
+ * gdc.dg/gdc47.d: New test.
+ * gdc.dg/gdc51.d: New test.
+ * gdc.dg/gdc57.d: New test.
+ * gdc.dg/gdc66.d: New test.
+ * gdc.dg/gdc67.d: New test.
+ * gdc.dg/gdc71.d: New test.
+ * gdc.dg/gdc77.d: New test.
+ * gdc.dg/imports/gdc239.d: Remove phobos dependency.
+ * gdc.dg/imports/gdc241a.d: Updated imports.
+ * gdc.dg/imports/gdc241b.d: Likewise.
+ * gdc.dg/imports/gdc251a.d: Likewise.
+ * gdc.dg/imports/gdc253.d: Rename to...
+ * gdc.dg/imports/gdc253a.d: ...this.
+ * gdc.dg/imports/gdc253b.d: New.
+ * gdc.dg/imports/gdc36.d: New.
+ * gdc.dg/imports/runnable.d: Removed.
+ * gdc.dg/link.d: Removed.
+ * gdc.dg/runnable.d: Removed.
+ * gdc.dg/runnable2.d: Removed.
+ * gdc.dg/simd.d: Remove phobos dependency.
+
+2020-07-31 Martin Sebor <msebor@redhat.com>
+
+ PR c++/96003
+ * g++.dg/warn/Wnonnull7.C: New test.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR debug/96383
+ * gcc.dg/debug/dwarf2/pr96383-1.c: New testcase.
+ * gcc.dg/debug/dwarf2/pr96383-2.c: Likewise.
+
+2020-07-31 Kewen Lin <linkw@linux.ibm.com>
+
+ * gcc.target/aarch64/sve/cost_model_2.c: Adjust due to cost model
+ change.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/96369
+ * c-c++-common/pr96369.c: New testcase.
+
+2020-07-31 Martin Liska <mliska@suse.cz>
+
+ * gcc.dg/tree-prof/indir-call-prof-malloc.c: New test.
+
+2020-07-31 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/torture/20200727-0.c: New testcase.
+
+2020-07-31 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96197
+ * g++.dg/cpp1y/constexpr-array8.C: New test.
+
2020-07-30 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/96152