aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/ChangeLog7
-rw-r--r--gcc/ChangeLog145
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/cp/ChangeLog13
-rw-r--r--gcc/fortran/ChangeLog10
-rw-r--r--gcc/testsuite/ChangeLog97
-rw-r--r--libatomic/ChangeLog6
-rw-r--r--libcpp/ChangeLog10
-rw-r--r--libgfortran/ChangeLog6
10 files changed, 300 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index ba192b6..a334aa5 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,10 @@
+2022-01-24 Martin Liska <mliska@suse.cz>
+
+ * gcc-changelog/git_commit.py: New files in toplev must
+ be explicitly marked as "New file".
+ * gcc-changelog/test_email.py: Test.
+ * gcc-changelog/test_patches.txt: Add test.
+
2022-01-23 Martin Liska <mliska@suse.cz>
* filter-clang-warnings.py: Filter out one another warning
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3a7842c..98a2cf0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,148 @@
+2022-01-24 Martin Sebor <msebor@redhat.com>
+
+ * pointer-query.cc (pointer_query::dump): Remove duplicate
+ block.
+
+2022-01-24 Marek Polacek <polacek@redhat.com>
+
+ PR preprocessor/104030
+ * doc/invoke.texi: Update documentation for -Wbidi-chars.
+
+2022-01-24 Raoni Fassina Firmino <raoni@linux.ibm.com>
+
+ PR target/94193
+ * builtins.cc (expand_builtin_fegetround): New function.
+ (expand_builtin_feclear_feraise_except): New function.
+ (expand_builtin): Add cases for BUILT_IN_FEGETROUND,
+ BUILT_IN_FECLEAREXCEPT and BUILT_IN_FERAISEEXCEPT.
+ * config/rs6000/rs6000.md (fegetroundsi): New pattern.
+ (feclearexceptsi): New Pattern.
+ (feraiseexceptsi): New Pattern.
+ * doc/extend.texi: Add a new introductory paragraph about the
+ new builtins.
+ * doc/md.texi: (fegetround@var{m}): Document new optab.
+ (feclearexcept@var{m}): Document new optab.
+ (feraiseexcept@var{m}): Document new optab.
+ * optabs.def (fegetround_optab): New optab.
+ (feclearexcept_optab): New optab.
+ (feraiseexcept_optab): New optab.
+
+2022-01-24 Richard Biener <rguenther@suse.de>
+ Jiufu Guo <guojiufu@linux.ibm.com>
+
+ PR tree-optimization/100740
+ PR tree-optimization/101508
+ PR tree-optimization/101972
+ PR tree-optimization/102131
+ * tree-ssa-loop-niter.cc (number_of_iterations_cond): Properly
+ constrain BASE0 + STEP0 cmp BASE1 + STEP1 to
+ BASE0 + STEP0 - STEP1 cmp BASE1 transform.
+
+2022-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/104158
+ * opt-functions.awk (var_set): Handle EnumBitSet property.
+ * optc-gen.awk: Don't disallow RejectNegative if EnumBitSet is
+ specified.
+ * opts.h (enum cl_enum_var_value): New type.
+ * opts-common.cc (decode_cmdline_option): Use CLEV_* values.
+ Handle CLEV_BITSET.
+ (cmdline_handle_error): Handle CLEV_BITSET.
+ * opts.cc (test_enum_sets): Also test EnumBitSet requirements.
+ * doc/options.texi (EnumBitSet): Document.
+ * common.opt (fsanitize-coverage=): Use EnumBitSet instead of
+ EnumSet.
+ (trace-pc, trace-cmp): Drop Set properties.
+
+2022-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/104158
+ * common.opt (flag_sanitize_coverage): Remove Variable entry.
+ (fsanitize-coverage=): Remove RejectNegative property, add
+ Var(flag_sanitize_coverage) and EnumSet properties.
+ (trace-pc): Add Set(1) property.
+ (trace-cmp): Add Set(2) property.
+ * opts.cc (common_handle_option): Don't handle
+ OPT_fsanitize_coverage_.
+
+2022-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/104158
+ * opt-functions.awk (var_set): Handle EnumSet property.
+ * optc-gen.awk: Don't disallow RejectNegative if EnumSet is
+ specified.
+ * opt-read.awk: Handle Set property.
+ * opts.h (CL_ENUM_SET_SHIFT, CL_ERR_ENUM_SET_ARG): Define.
+ (struct cl_decoded_option): Mention enum in value description.
+ Add mask member.
+ (set_option): Add mask argument defaulted to 0.
+ * opts.cc (test_enum_sets): New function.
+ (opts_cc_tests): Call it.
+ * opts-common.cc (enum_arg_to_value): Change return argument
+ from bool to int, on success return index into the cl_enum_arg
+ array, on failure -1. Add len argument, if non-0, use strncmp
+ instead of strcmp.
+ (opt_enum_arg_to_value): Adjust caller.
+ (decode_cmdline_option): Handle EnumSet represented as
+ CLVC_ENUM with non-zero var_value. Initialize decoded->mask.
+ (decode_cmdline_options_to_array): CLear opt_array[0].mask.
+ (handle_option): Pass decoded->mask to set_options last argument.
+ (generate_option): Clear decoded->mask.
+ (generate_option_input_file): Likewise.
+ (cmdline_handle_error): Handle CL_ERR_ENUM_SET_ARG.
+ (set_option): Add mask argument, use it for CLVC_ENUM.
+ (control_warning_option): Adjust enum_arg_to_value caller.
+ * doc/options.texi: Document Set and EnumSet properties.
+
+2022-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/104170
+ * config/linux.h (OPTION_GLIBC_P, OPTION_UCLIBC_P,
+ OPTION_BIONIC_P, OPTION_MUSL_P): Define.
+ (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, OPTION_MUSL): Redefine
+ using OPTION_*_P macros.
+ * config/alpha/linux.h (OPTION_GLIBC_P, OPTION_UCLIBC_P,
+ OPTION_BIONIC_P, OPTION_MUSL_P): Define.
+ (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, OPTION_MUSL): Redefine
+ using OPTION_*_P macros.
+ * config/rs6000/linux.h (OPTION_GLIBC_P, OPTION_UCLIBC_P,
+ OPTION_BIONIC_P, OPTION_MUSL_P): Define.
+ (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, OPTION_MUSL): Redefine
+ using OPTION_*_P macros.
+ * config/rs6000/linux64.h (OPTION_GLIBC_P, OPTION_UCLIBC_P,
+ OPTION_BIONIC_P, OPTION_MUSL_P): Define.
+ (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, OPTION_MUSL): Redefine
+ using OPTION_*_P macros.
+ * config/fuchsia.h (OPTION_MUSL_P): Redefine.
+ * config/glibc-stdint.h (OPTION_MUSL_P): Define if not defined.
+ * common/config/s390/s390-common.cc (s390_supports_split_stack): Re-add
+ ATTRIBUTE_UNUSED to opts parameter. If OPTION_GLIBC_P is defined, use
+ OPTION_GLIBC_P (opts) as condition, otherwise assume if (false).
+ * common/config/i386/i386-common.cc (ix86_supports_split_stack): If
+ OPTION_GLIBC_P is defined use !OPTION_GLIBC_P (opts) as condition,
+ otherwise assume if (true).
+
+2022-01-24 Kito Cheng <kito.cheng@sifive.com>
+
+ * common/config/riscv/riscv-common.cc (riscv_subset_list::to_string):
+ Skip zicsr and zifencei if I-ext is 2.0.
+
+2022-01-24 Jia-Wei Chen <jiawei@iscas.ac.cn>
+
+ * config.gcc: Modify default isa_spec version.
+
+2022-01-24 Jiufu Guo <guojiufu@linux.ibm.com>
+
+ PR tree-optimization/102087
+ * tree-ssa-loop-niter.cc (number_of_iterations_until_wrap):
+ Correct PLUS result type.
+
+2022-01-24 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/104188
+ * config/i386/predicates.md (bcst_mem_operand): Also check mode
+ of memory broadcast.
+
2022-01-23 Andrew Pinski <apinski@marvell.com>
PR target/64821
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index da164bf..b786196 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220124
+20220125
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 5595c8d..e3bf1a7 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2022-01-24 Marek Polacek <polacek@redhat.com>
+
+ PR preprocessor/104030
+ * c.opt (Wbidi-chars): Mark as EnumSet. Also accept =ucn.
+
2022-01-21 Jakub Jelinek <jakub@redhat.com>
PR c++/104148
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1aadfa9..369b0a1 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,16 @@
+2022-01-24 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/104197
+ * pt.cc (make_auto_1): Use -1 as a placeholder default argument
+ for level.
+
+2022-01-24 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/104173
+ * typeck.cc (build_class_member_access_expr): Extend
+ unary_complex_lvalue result adjustment to preserve all
+ rvalues, not just xvalues.
+
2022-01-23 Will Wray <wjwray@gmail.com>
PR c++/55227
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index ea90c19..0875317 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,13 @@
+2022-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ * lang.opt (fconvert=): Add EnumSet property and mention also
+ r16_ieee and r16_ibm arguments.
+ (big-endian, little-endian, native, swap): Add Set(1) property.
+ (r16_ieee, r16_ibm): New EnumValue entries with Set(2) property.
+ * trans-types.cc (gfc_init_kinds): Emit gfc_fatal_error for
+ -fconvert=r16_ieee or -fconvert=r16_ibm when R16_IEEE <=> R16_IBM
+ conversions aren't supported.
+
2022-01-22 Harald Anlauf <anlauf@gmx.de>
PR fortran/104127
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6d22984..623d3e2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,100 @@
+2022-01-24 Marek Polacek <polacek@redhat.com>
+
+ PR preprocessor/104030
+ * c-c++-common/Wbidi-chars-10.c: Turn on UCN checking.
+ * c-c++-common/Wbidi-chars-11.c: Likewise.
+ * c-c++-common/Wbidi-chars-14.c: Likewise.
+ * c-c++-common/Wbidi-chars-16.c: Likewise.
+ * c-c++-common/Wbidi-chars-17.c: Likewise.
+ * c-c++-common/Wbidi-chars-4.c: Likewise.
+ * c-c++-common/Wbidi-chars-5.c: Likewise.
+ * c-c++-common/Wbidi-chars-6.c: Likewise.
+ * c-c++-common/Wbidi-chars-7.c: Likewise.
+ * c-c++-common/Wbidi-chars-8.c: Likewise.
+ * c-c++-common/Wbidi-chars-9.c: Likewise.
+ * c-c++-common/Wbidi-chars-ranges.c: Likewise.
+ * c-c++-common/Wbidi-chars-18.c: New test.
+ * c-c++-common/Wbidi-chars-19.c: New test.
+ * c-c++-common/Wbidi-chars-20.c: New test.
+ * c-c++-common/Wbidi-chars-21.c: New test.
+ * c-c++-common/Wbidi-chars-22.c: New test.
+ * c-c++-common/Wbidi-chars-23.c: New test.
+
+2022-01-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * gfortran.dg/ieee/signaling_1.f90: Do not require issignaling.
+ * gfortran.dg/ieee/signaling_2.f90: Add comment.
+ * gfortran.dg/ieee/signaling_3.f90: New test.
+
+2022-01-24 Raoni Fassina Firmino <raoni@linux.ibm.com>
+
+ PR target/94193
+ * gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-1.c: New test.
+ * gcc.target/powerpc/builtin-feclearexcept-feraiseexcept-2.c: New test.
+ * gcc.target/powerpc/builtin-fegetround.c: New test.
+
+2022-01-24 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/104173
+ * g++.dg/cpp0x/ref-qual21.C: New test.
+
+2022-01-24 Richard Biener <rguenther@suse.de>
+ Jiufu Guo <guojiufu@linux.ibm.com>
+
+ PR tree-optimization/100740
+ PR tree-optimization/101508
+ PR tree-optimization/101972
+ PR tree-optimization/102131
+ * gcc.dg/torture/pr100740.c: New testcase.
+ * gcc.dg/torture/pr101508.c: Likewise.
+ * gcc.dg/torture/pr101972.c: Likewise.
+ * gcc.dg/torture/pr102131-1.c: Likewise.
+ * gcc.dg/torture/pr102131-2.c: Likewise.
+ * gcc.dg/torture/pr102131-3.c: Likewise.
+ * gcc.dg/torture/pr102131-4.c: Likewise.
+
+2022-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/104158
+ * gcc.dg/sancov/pr104158-7.c: Adjust for repeating of arguments
+ being allowed.
+
+2022-01-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/104158
+ * gcc.dg/spellcheck-options-24.c: New test.
+ * gcc.dg/sancov/pr104158-1.c: New test.
+ * gcc.dg/sancov/pr104158-2.c: New test.
+ * gcc.dg/sancov/pr104158-3.c: New test.
+ * gcc.dg/sancov/pr104158-4.c: New test.
+ * gcc.dg/sancov/pr104158-5.c: New test.
+ * gcc.dg/sancov/pr104158-6.c: New test.
+ * gcc.dg/sancov/pr104158-7.c: New test.
+
+2022-01-24 Kito Cheng <kito.cheng@sifive.com>
+
+ * gcc.target/riscv/attribute-19.c: Add -misa-spec=2.2
+
+2022-01-24 Jiufu Guo <guojiufu@linux.ibm.com>
+
+ PR tree-optimization/102087
+ * gcc.dg/pr102087_1.c: New test.
+
+2022-01-24 LiaoShihua <shihua@iscas.ac.cn>
+
+ * gcc.target/riscv/arch-9.c: Update the check info.
+ * gcc.target/riscv/arch-10.c: Ditto.
+ * gcc.target/riscv/arch-12.c: Ditto.
+
+2022-01-24 David Edelsohn <dje.gcc@gmail.com>
+
+ * gcc.dg/analyzer/torture/pr104159.c: Ignore psabi warning.
+
+2022-01-24 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/104188
+ * gcc.target/i386/pr104188.c: New test.
+
2022-01-23 Will Wray <wjwray@gmail.com>
PR c++/55227
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog
index 8301ee0..61d7635 100644
--- a/libatomic/ChangeLog
+++ b/libatomic/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-24 Martin Liska <mliska@suse.cz>
+
+ * acinclude.m4: Remove duplicate
+ LIBAT_CHECK_LINKER_FEATURES.
+ * configure: Regenerate.
+
2021-07-21 Martin Sebor <msebor@redhat.com>
PR bootstrap/101379
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 512bbab..b099e2f 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,13 @@
+2022-01-24 Marek Polacek <polacek@redhat.com>
+
+ PR preprocessor/104030
+ * include/cpplib.h (enum cpp_bidirectional_level): Add
+ bidirectional_ucn. Set values explicitly.
+ * internal.h (cpp_reader): Adjust warn_bidi_p.
+ * lex.cc (maybe_warn_bidi_on_close): Don't warn about UCNs
+ unless UCN checking is on.
+ (maybe_warn_bidi_on_char): Likewise.
+
2022-01-18 Richard Biener <rguenther@suse.de>
* include/line-map.h (class line_maps): Re-arrange fields
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 6c44645..8bfdacd 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * ieee/issignaling_fallback.h: New file.
+ * ieee/ieee_helper.c: Include issignaling_fallback.h when target
+ does not define issignaling macro.
+
2022-01-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* ieee/issignaling_fallback.h: Remove file.