aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog86
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog12
-rw-r--r--gcc/analyzer/ChangeLog5
-rw-r--r--gcc/cp/ChangeLog91
-rw-r--r--gcc/testsuite/ChangeLog55
-rw-r--r--libbacktrace/ChangeLog7
-rw-r--r--libcpp/ChangeLog6
-rw-r--r--libgcc/ChangeLog6
9 files changed, 269 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 18b24ca..662e343 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,89 @@
+2021-03-02 David Edelsohn <dje.gcc@gmail.com>
+
+ * config/rs6000/rs6000.md (tls_get_tpointer_internal): Prepend
+ period to symbol name.
+ (tls_get_addr_internal<mode>): Same.
+
+2021-03-02 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/99323
+ * diagnostic-show-locus.c
+ (selftest::test_one_liner_many_fixits_2): Fix accidental usage of
+ column 0.
+
+2021-03-02 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/99276
+ * builtins.c (warn_for_access): Remove stray warning text.
+
+2021-03-02 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/99295
+ * doc/extend.texi (attribute malloc): Reword and clarify nonaliasing
+ property.
+
+2021-03-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/99319
+ * dwarf2out.c (output_macinfo_op): Use DW_MACRO_*_str* even with
+ -gdwarf-5 -gstrict-dwarf. For -gsplit-dwarf -gdwarf-5 use
+ DW_MACRO_*_strx instead of DW_MACRO_*_strp. Handle
+ DW_MACRO_define_strx and DW_MACRO_undef_strx.
+ (save_macinfo_strings): Use DW_MACRO_*_str* even with
+ -gdwarf-5 -gstrict-dwarf. Handle DW_MACRO_define_strx and
+ DW_MACRO_undef_strx.
+
+2021-03-02 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * config/s390/s390-builtin-types.def (BT_FN_V4SF_V8HI_UINT): New
+ builtin signature.
+ (BT_FN_V8HI_V8HI_UINT): Likewise.
+ (BT_FN_V8HI_V4SF_V4SF_UINT): Likewise.
+ * config/s390/s390-builtins.def (B_NNPA): New macro definition.
+ (s390_vclfnhs, s390_vclfnls, s390_vcrnfs, s390_vcfn, s390_vcnf):
+ New builtin definitions.
+ * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Bump
+ vector extension version.
+ * config/s390/s390.c (s390_expand_builtin): Check if builtins are
+ available with current -march level.
+ * config/s390/s390.md (UNSPEC_NNPA_VCLFNHS_V8HI)
+ (UNSPEC_NNPA_VCLFNLS_V8HI, UNSPEC_NNPA_VCRNFS_V8HI)
+ (UNSPEC_NNPA_VCFN_V8HI, UNSPEC_NNPA_VCNF_V8HI): New constants.
+ * config/s390/vecintrin.h (vec_extend_to_fp32_hi): New macro.
+ (vec_extend_to_fp32_lo): Likewise.
+ (vec_round_from_fp32): Likewise.
+ (vec_convert_to_fp16): Likewise.
+ (vec_convert_from_fp16): Likewise.
+ * config/s390/vx-builtins.md (vclfnhs_v8hi): New insn pattern.
+ (vclfnls_v8hi): Likewise.
+ (vcrnfs_v8hi): Likewise.
+ (vcfn_v8hi): Likewise.
+ (vcnf_v8hi): Likewise.
+
+2021-03-02 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * common/config/s390/s390-common.c (processor_flags_table): New entry.
+ * config.gcc: Enable arch14 for --with-arch and --with-tune.
+ * config/s390/driver-native.c (s390_host_detect_local_cpu): Pick
+ arch14 for unknown CPU models.
+ * config/s390/s390-opts.h (enum processor_type): Add PROCESSOR_ARCH14.
+ * config/s390/s390.c (s390_issue_rate): Add case for PROCESSOR_ARCH14.
+ (s390_get_sched_attrmask): Likewise.
+ (s390_get_unit_mask): Likewise.
+ * config/s390/s390.h (enum processor_flags): Add PF_NNPA and PF_ARCH14.
+ (TARGET_CPU_ARCH14, TARGET_CPU_ARCH14_P, TARGET_CPU_NNPA)
+ (TARGET_CPU_NNPA_P, TARGET_ARCH14, TARGET_ARCH14_P, TARGET_NNPA)
+ (TARGET_NNPA_P): New macro definitions.
+ * config/s390/s390.md ("cpu_facility", "enabled"): Add arch14 and nnpa.
+ * config/s390/s390.opt: Add PROCESSOR_ARCH14.
+
+2021-03-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/95757
+ * tree-vrp.c (register_edge_assert_for): Remove superfluous ()s around
+ condition. Call register_edge_assert_for_1 for == 0, != 0, == 1 and
+ != 1 comparisons if name is lhs of a comparison.
+
2021-03-01 Iain Sandoe <iain@sandoe.co.uk>
PR target/44107
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index b078f81..91edd68 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210302
+20210303
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 0716798..97e4853 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,15 @@
+2021-03-02 Mikael Pettersson <mikpelinux@gmail.com>
+
+ PR bootstrap/98590
+ * cstreams.c: Ensure fileno_unlocked() is visible on Cygwin.
+
+2021-03-02 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/99095
+ * sem_ch8.adb (Check_Constrained_Object): Restrict again the special
+ optimization for limited types to non-array types except in the case
+ of an extended return statement.
+
2021-03-02 Eric Botcazou <ebotcazou@adacore.com>
PR ada/99020
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 57c945e..ce5caa3 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,8 @@
+2021-03-02 Martin Liska <mliska@suse.cz>
+
+ * diagnostic-manager.cc (diagnostic_manager::emit_saved_diagnostics):
+ Do not pass engine.
+
2021-02-26 David Malcolm <dmalcolm@redhat.com>
* engine.cc (exploded_path::exploded_path): New copy-ctor.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 46aca39..682963b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,94 @@
+2021-03-02 Martin Sebor <msebor@redhat.com>
+
+ PR c++/99251
+ * class.c (build_base_path): Call build_if_nonnull.
+ * cp-tree.h (build_if_nonnull): Declare.
+ * rtti.c (ifnonnull): Rename...
+ (build_if_nonnull): ...to this. Set no-warning bit on COND_EXPR.
+ (build_dynamic_cast_1): Adjust to name change.
+
+2021-03-02 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96443
+ PR c++/96960
+ * constraint.cc (type_deducible_p): Don't substitute into the
+ constraints, and instead just pass 'args' to do_auto_deduction
+ as the outer template arguments.
+ (tsubst_parameter_mapping): Remove confused code for handling
+ placeholder type arguments.
+ (normalize_placeholder_type_constraint): Define.
+ (satisfy_constraint_expression): Use it to handle placeholder
+ 'auto' types.
+ * cp-tree.h (PLACEHOLDER_TYPE_CONSTRAINTS_INFO): Define.
+ (PLACEHOLDER_TYPE_CONSTRAINTS): Redefine in terms of the above.
+ * pt.c (tsubst) <case TEMPLATE_TYPE_PARM>: Use
+ PLACEHOLDER_TYPE_CONSTRAINTS_INFO instead.
+ (make_constrained_placeholder_type): Set
+ PLACEHOLDER_TYPE_CONSTRAINTS_INFO instead.
+ (do_auto_deduction): Clarify comments about the outer_targs
+ parameter. Rework satisfaction of a placeholder type constraint
+ to pass in the complete set of template arguments directly to
+ constraints_satisfied_p.
+ (splice_late_return_type): Use PLACEHOLDER_TYPE_CONSTRAINTS_INFO
+ instead. Also rebuild the the constraint info on the new auto.
+
+2021-03-02 Patrick Palka <ppalka@redhat.com>
+
+ * constraint.cc (build_parameter_mapping): Rely on the caller to
+ determine the in-scope template parameters.
+ (norm_info::norm_info): Delegate the tsubst_flags_t constructor
+ to the two-parameter constructor. In the two-parameter
+ constructor, fold in the definition of make_context, set
+ initial_parms appropriately, and don't set the now-removed
+ orig_decl member.
+ (norm_info::make_context): Remove, now that its only use is
+ inlined into the caller.
+ (norm_info::update_context): Adjust call to
+ build_parameter_mapping to pass in the relevant set of in-scope
+ template parameters.
+ (norm_info::ctx_parms): Define this member function.
+ (norm_info::context): Initialize to NULL_TREE.
+ (norm_info::orig_decl): Remove this data member.
+ (norm_info::initial_parms): Define this data member.
+ (normalize_atom): Adjust call to build_parameter_mapping to pass
+ in the relevant set of in-scope template parameters. Use
+ info.initial_parms instead of info.orig_decl.
+ (normalize_constraint_expression): Take a norm_info object
+ instead of a bool. Cache the result of normalization.
+ (tsubst_nested_requirement): Call satisfy_constraint_expression
+ instead of satisfy_constraint, so that we normalize on demand.
+ (satisfy_constraint_expression): Handle a NESTED_REQ argument.
+ Adjust call to normalize_constraint_expression.
+ (finish_nested_requirement): Set the TREE_TYPE of the NESTED_REQ
+ to current_template_parms.
+ (diagnose_nested_requirements): Go through
+ satisfy_constraint_expression, as with tsubst_nested_requirement.
+
+2021-03-02 Patrick Palka <ppalka@redhat.com>
+
+ * constraint.cc (tsubst_parameter_mapping): Canonicalize the
+ arguments of a substituted TYPE_ARGUMENT_PACK even if we've
+ started with a TYPE_ARGUMENT_PACK.
+ (finish_requires_expr): Don't set DECL_CONTEXT and
+ CONSTRAINT_VAR_P on each of the introduced parameters here.
+ * parser.c (cp_parser_requirement_parameter_list): Instead set
+ these fields earlier, here.
+ * pt.c (do_auto_deduction): Canonicalize the result of
+ do_auto_deduction. Pass 'complain' to finish_decltype_type.
+
+2021-03-02 Patrick Palka <ppalka@redhat.com>
+
+ * constraint.cc (tsubst_simple_requirement): Just return
+ boolean_true_node on success.
+ (tsubst_type_requirement): Likewise.
+ (tsubst_compound_requirement): Likewise.
+ (tsubst_nested_requirement): Likewise.
+ (tsubst_requirement_body): Remove.
+ (check_constaint_variables): Rename to ...
+ (check_constraint_variables): ... this.
+ (tsubst_constraint_variables): Adjust.
+ (tsubst_requires_expr): Fold tsubst_requirement_body into here.
+
2021-03-01 Nathan Sidwell <nathan@acm.org>
PR c++/99294
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9d6dd8c..239a731 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,58 @@
+2021-03-02 Hans-Peter Nilsson <hp@axis.com>
+
+ * gcc.misc-tests/outputs.exp: Skip @file -save-temps
+ tests if target test-framework has -L or -I options.
+
+2021-03-02 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/99323
+ * gcc.dg/pr99323-1.c: New test.
+ * gcc.dg/pr99323-2.c: New test.
+
+2021-03-02 Martin Sebor <msebor@redhat.com>
+
+ PR c++/99251
+ * g++.dg/warn/Wnonnull9.C: Expect no warnings.
+ * g++.dg/warn/Wnonnull12.C: New test.
+
+2021-03-02 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/limited5.adb: New test.
+
+2021-03-02 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96443
+ PR c++/96960
+ * g++.dg/concepts/abbrev9.C: New test.
+ * g++.dg/cpp2a/concepts-lambda15.C: New test.
+ * g++.dg/cpp2a/concepts-placeholder3.C: New test.
+ * g++.dg/cpp2a/concepts-return-req2.C: New test.
+ * g++.dg/cpp2a/concepts-ts1.C: Add dg-bogus directive to the
+ call to f15 that we expect to accept.
+
+2021-03-02 Patrick Palka <ppalka@redhat.com>
+
+ * g++.dg/cpp1z/auto1.C: New test.
+
+2021-03-02 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * gcc.target/s390/zvector/vec-nnpa-fp16-convert.c: New test.
+ * gcc.target/s390/zvector/vec-nnpa-fp32-convert-1.c: New test.
+ * gcc.target/s390/zvector/vec_convert_from_fp16.c: New test.
+ * gcc.target/s390/zvector/vec_convert_to_fp16.c: New test.
+ * gcc.target/s390/zvector/vec_extend_to_fp32_hi.c: New test.
+ * gcc.target/s390/zvector/vec_extend_to_fp32_lo.c: New test.
+ * gcc.target/s390/zvector/vec_round_from_fp32.c: New test.
+
+2021-03-02 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * lib/target-supports.exp: Add check for nnpa facility.
+
+2021-03-02 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * gcc.target/s390/mul-signed-overflow-1.c: Run only on z14.
+ * gcc.target/s390/mul-signed-overflow-2.c: Run only on z14.
+
2021-03-01 Martin Liska <mliska@suse.cz>
PR target/99313
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 6b072d1..02a14e2 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,10 @@
+2021-03-02 Ian Lance Taylor <iant@golang.org>
+
+ PR libbacktrace/98818
+ * dwarf.c (dwarf_buf_error): Add errnum parameter. Change all
+ callers.
+ * backtrace.h: Update backtrace_error_callback comment.
+
2021-02-12 Ian Lance Taylor <iant@golang.org>
* configure.ac: Check for objcopy --add-gnu-debuglink by using
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 684c5e5..815a1f8 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,9 @@
+2021-03-02 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/99323
+ * line-map.c (rich_location::maybe_add_fixit): Reject fix-it hints
+ at column 0.
+
2021-02-24 Nathan Sidwell <nathan@acm.org>
PR c++/98718
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 9d03ff4..0a75105 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2021-03-02 Michael Meissner <meissner@linux.ibm.com>
+
+ * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
+ the function.
+ * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
+
2021-02-24 Jakub Jelinek <jakub@redhat.com>
PR libgcc/99236