From: GCC Administrator Date: Tue, 1 Aug 2023 00:18:39 +0000 (+0000) Subject: Daily bump. X-Git-Tag: basepoints/gcc-15~7248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2f31d79ad623de6809b3cf2055483525f1903ab;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/ChangeLog b/ChangeLog index b07b41cfe945..125d790f6517 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2023-07-31 Andreas Schwab + + * configure.ac (GDCFLAGS): Set default from ${CFLAGS}. + * configure: Regenerate. + * Makefile.in (GDCFLAGS): Substitute @GDCFLAGS@. + +2023-07-31 xuli + + * MAINTAINERS: Add myself. + 2023-07-25 Thomas Schwinge * MAINTAINERS: List myself as "nvptx port" maintainer. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b5899868c28..832c9409468a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,230 @@ +2023-08-01 Andrew Pinski + + PR tree-optimization/93044 + * match.pd (nested int casts): A truncation (to the same size or smaller) + can always remove the inner cast. + +2023-07-31 Hamza Mahfooz + + PR c/65213 + * doc/invoke.texi (-Wmissing-variable-declarations): Document + new option. + +2023-07-31 Andrew Pinski + + PR tree-optimization/106164 + * match.pd (`a != b & a <= b`, `a != b & a >= b`, + `a == b | a < b`, `a == b | a > b`): Handle these cases + too. + +2023-07-31 Andrew Pinski + + PR tree-optimization/106164 + * match.pd: Extend the `(X CMP1 CST1) AND/IOR (X CMP2 CST2)` + patterns to support `(X CMP1 Y) AND/IOR (X CMP2 Y)`. + +2023-07-31 Andrew Pinski + + PR tree-optimization/100864 + * generic-match-head.cc (bitwise_inverted_equal_p): New function. + * gimple-match-head.cc (bitwise_inverted_equal_p): New macro. + (gimple_bitwise_inverted_equal_p): New function. + * match.pd ((~x | y) & x): Use bitwise_inverted_equal_p + instead of direct matching bit_not. + +2023-07-31 Costas Argyris + + PR driver/77576 + * gcc-ar.cc (main): Expand argv and use + temporary response file to call ar if any + expansions were made. + +2023-07-31 Andrew MacLeod + + PR tree-optimization/110582 + * gimple-range-fold.cc (fur_list::get_operand): Do not use the + range vector for non-ssa names. + +2023-07-31 David Malcolm + + PR analyzer/109361 + * diagnostic-client-data-hooks.h (class sarif_object): New forward + decl. + (diagnostic_client_data_hooks::add_sarif_invocation_properties): + New vfunc. + * diagnostic-format-sarif.cc: Include "diagnostic-format-sarif.h". + (class sarif_invocation): Inherit from sarif_object rather than + json::object. + (class sarif_result): Likewise. + (class sarif_ice_notification): Likewise. + (sarif_object::get_or_create_properties): New. + (sarif_invocation::prepare_to_flush): Add "context" param. Use it + to call the context's add_sarif_invocation_properties hook. + (sarif_builder::flush_to_file): Pass m_context to + sarif_invocation::prepare_to_flush. + * diagnostic-format-sarif.h: New header. + * doc/invoke.texi (Developer Options): Clarify that -ftime-report + writes to stderr. Document that if SARIF diagnostic output is + requested then any timing information is written in JSON form as + part of the SARIF output, rather than to stderr. + * timevar.cc: Include "json.h". + (timer::named_items::m_hash_map): Split out type into... + (timer::named_items::hash_map_t): ...this new typedef. + (timer::named_items::make_json): New function. + (timevar_diff): New function. + (make_json_for_timevar_time_def): New function. + (timer::timevar_def::make_json): New function. + (timer::make_json): New function. + * timevar.h (class json::value): New forward decl. + (timer::make_json): New decl. + (timer::timevar_def::make_json): New decl. + * tree-diagnostic-client-data-hooks.cc: Include + "diagnostic-format-sarif.h" and "timevar.h". + (compiler_data_hooks::add_sarif_invocation_properties): New vfunc + implementation. + +2023-07-31 Stefan Schulze Frielinghaus + + * combine.cc (simplify_compare_const): Narrow comparison of + memory and constant. + (try_combine): Adapt new function signature. + (simplify_comparison): Adapt new function signature. + +2023-07-31 Kito Cheng + + * config/riscv/riscv-v.cc (expand_vec_series): Drop unused + variable. + (expand_vector_init_insert_elems): Ditto. + +2023-07-31 Hao Liu + + PR target/110625 + * config/aarch64/aarch64.cc (count_ops): Only '* count' for + single_defuse_cycle while counting reduction_latency. + +2023-07-31 Ju-Zhe Zhong + + * internal-fn.def (DEF_INTERNAL_COND_FN): New macro. + (DEF_INTERNAL_SIGNED_COND_FN): Ditto. + (COND_ADD): Remove. + (COND_SUB): Ditto. + (COND_MUL): Ditto. + (COND_DIV): Ditto. + (COND_MOD): Ditto. + (COND_RDIV): Ditto. + (COND_MIN): Ditto. + (COND_MAX): Ditto. + (COND_FMIN): Ditto. + (COND_FMAX): Ditto. + (COND_AND): Ditto. + (COND_IOR): Ditto. + (COND_XOR): Ditto. + (COND_SHL): Ditto. + (COND_SHR): Ditto. + (COND_FMA): Ditto. + (COND_FMS): Ditto. + (COND_FNMA): Ditto. + (COND_FNMS): Ditto. + (COND_NEG): Ditto. + (COND_LEN_ADD): Ditto. + (COND_LEN_SUB): Ditto. + (COND_LEN_MUL): Ditto. + (COND_LEN_DIV): Ditto. + (COND_LEN_MOD): Ditto. + (COND_LEN_RDIV): Ditto. + (COND_LEN_MIN): Ditto. + (COND_LEN_MAX): Ditto. + (COND_LEN_FMIN): Ditto. + (COND_LEN_FMAX): Ditto. + (COND_LEN_AND): Ditto. + (COND_LEN_IOR): Ditto. + (COND_LEN_XOR): Ditto. + (COND_LEN_SHL): Ditto. + (COND_LEN_SHR): Ditto. + (COND_LEN_FMA): Ditto. + (COND_LEN_FMS): Ditto. + (COND_LEN_FNMA): Ditto. + (COND_LEN_FNMS): Ditto. + (COND_LEN_NEG): Ditto. + (ADD): New macro define. + (SUB): Ditto. + (MUL): Ditto. + (DIV): Ditto. + (MOD): Ditto. + (RDIV): Ditto. + (MIN): Ditto. + (MAX): Ditto. + (FMIN): Ditto. + (FMAX): Ditto. + (AND): Ditto. + (IOR): Ditto. + (XOR): Ditto. + (SHL): Ditto. + (SHR): Ditto. + (FMA): Ditto. + (FMS): Ditto. + (FNMA): Ditto. + (FNMS): Ditto. + (NEG): Ditto. + +2023-07-31 Roger Sayle + + PR target/110843 + * config/i386/i386-features.cc (compute_convert_gain): Check + TARGET_AVX512VL (not TARGET_AVX512F) when considering V2DImode + and V4SImode rotates in STV. + (general_scalar_chain::convert_rotate): Likewise. + +2023-07-31 Kito Cheng + + * config/riscv/autovec.md (abs2): Remove `.require ()`. + * config/riscv/riscv-protos.h (get_mask_mode): Update return + type. + * config/riscv/riscv-v.cc (rvv_builder::rvv_builder): Remove + `.require ()`. + (emit_vlmax_insn): Ditto. + (emit_vlmax_fp_insn): Ditto. + (emit_vlmax_ternary_insn): Ditto. + (emit_vlmax_fp_ternary_insn): Ditto. + (emit_nonvlmax_fp_ternary_tu_insn): Ditto. + (emit_nonvlmax_insn): Ditto. + (emit_vlmax_slide_insn): Ditto. + (emit_nonvlmax_slide_tu_insn): Ditto. + (emit_vlmax_merge_insn): Ditto. + (emit_vlmax_masked_insn): Ditto. + (emit_nonvlmax_masked_insn): Ditto. + (emit_vlmax_masked_store_insn): Ditto. + (emit_nonvlmax_masked_store_insn): Ditto. + (emit_vlmax_masked_mu_insn): Ditto. + (emit_nonvlmax_tu_insn): Ditto. + (emit_nonvlmax_fp_tu_insn): Ditto. + (emit_scalar_move_insn): Ditto. + (emit_vlmax_compress_insn): Ditto. + (emit_vlmax_reduction_insn): Ditto. + (emit_vlmax_fp_reduction_insn): Ditto. + (emit_nonvlmax_fp_reduction_insn): Ditto. + (expand_vec_series): Ditto. + (expand_vector_init_merge_repeating_sequence): Ditto. + (expand_vec_perm): Ditto. + (shuffle_merge_patterns): Ditto. + (shuffle_compress_patterns): Ditto. + (shuffle_decompress_patterns): Ditto. + (expand_reduction): Ditto. + (get_mask_mode): Update return type. + * config/riscv/riscv.cc (riscv_get_mask_mode): Check vector type + is valid, and use new get_mask_mode interface. + +2023-07-31 Pan Li + + * config/riscv/riscv-vector-builtins-shapes.cc (struct alu_frm_def): + Move rm suffix before mask. + +2023-07-31 Juzhe-Zhong + + * config/riscv/autovec-vls.md (@vec_duplicate): New pattern. + * config/riscv/riscv-v.cc (autovectorize_vector_modes): Add VLS autovec + support. + 2023-07-29 Roger Sayle PR target/110790 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index adf3b9fe5187..6f43154cd32b 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230731 +20230801 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 119adee9cdd4..3f0411daaadf 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2023-07-31 Hamza Mahfooz + + PR c/65213 + * c.opt (-Wmissing-variable-declarations): New option. + 2023-07-20 Francois-Xavier Coudert PR middle-end/77928 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index ed332e5a5290..862ea79f3866 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,14 @@ +2023-07-31 Hamza Mahfooz + + PR c/65213 + * c-decl.cc (start_decl): Handle + -Wmissing-variable-declarations. + +2023-07-31 Chung-Lin Tang + + * c-parser.cc (c_parser_oacc_host_data): Add checking requiring OpenACC + host_data construct to have an use_device clause. + 2023-06-29 Qing Zhao PR c/77650 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1a4289734fd7..d73df687a2fe 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2023-07-31 Chung-Lin Tang + + * parser.cc (cp_parser_oacc_host_data): Add checking requiring OpenACC + host_data construct to have an use_device clause. + 2023-07-28 Ng YongXiang PR c++/110057 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index b584b5458887..677008fb6cea 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2023-07-31 Chung-Lin Tang + + * openmp.cc (resolve_omp_clauses): Add checking requiring + OpenACC host_data construct to have an use_device clause. + 2023-07-28 Harald Anlauf PR fortran/110825 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 42e0277e0213..b3fe921299a4 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2023-07-31 Joseph Myers + + * sv.po: Update. + 2023-07-28 Joseph Myers * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po, diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8907be1388e3..e92c80b7fedb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,85 @@ +2023-08-01 Andrew Pinski + + PR tree-optimization/93044 + * gcc.dg/tree-ssa/cast-1.c: New test. + * gcc.dg/tree-ssa/cast-2.c: New test. + +2023-07-31 Hamza Mahfooz + + PR c/65213 + * gcc.dg/Wmissing-variable-declarations.c: New test. + +2023-07-31 Andrew Pinski + + PR tree-optimization/106164 + * gcc.dg/tree-ssa/cmpbit-2.c: New test. + +2023-07-31 Andrew Pinski + + PR tree-optimization/106164 + * gcc.dg/tree-ssa/cmpbit-1.c: New test. + +2023-07-31 Andrew Pinski + + PR tree-optimization/100864 + * gcc.dg/tree-ssa/bitops-3.c: New test. + +2023-07-31 Andrew MacLeod + + * gcc.dg/pr110582.c: New. + +2023-07-31 David Malcolm + + PR analyzer/109361 + * c-c++-common/diagnostic-format-sarif-file-timevars-1.c: New test. + * c-c++-common/diagnostic-format-sarif-file-timevars-2.c: New test. + +2023-07-31 Chung-Lin Tang + + * c-c++-common/goacc/host_data-2.c: Adjust testcase. + * gfortran.dg/goacc/host_data-error.f90: New testcase. + * gfortran.dg/goacc/pr71704.f90: Adjust testcase. + +2023-07-31 Stefan Schulze Frielinghaus + + * gcc.dg/cmp-mem-const-1.c: New test. + * gcc.dg/cmp-mem-const-2.c: New test. + * gcc.dg/cmp-mem-const-3.c: New test. + * gcc.dg/cmp-mem-const-4.c: New test. + * gcc.dg/cmp-mem-const-5.c: New test. + * gcc.dg/cmp-mem-const-6.c: New test. + * gcc.target/s390/cmp-mem-const-1.c: New test. + +2023-07-31 Hao Liu + + * gcc.target/aarch64/pr110625_1.c: New testcase. + * gcc.target/aarch64/pr110625_2.c: New testcase. + +2023-07-31 Roger Sayle + + PR target/110843 + * gcc.target/i386/pr110843.c: New test case. + +2023-07-31 Pan Li + + * gcc.target/riscv/rvv/base/float-point-frm-insert-1.c: Adjust + test cases. + * gcc.target/riscv/rvv/base/float-point-frm.c: Ditto. + +2023-07-31 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/v-1.c: Adapt test. + * gcc.target/riscv/rvv/autovec/zve32f_zvl128b-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/zve64d_zvl128b-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/zve64f_zvl128b-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/vls/dup-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/dup-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/dup-3.c: New test. + * gcc.target/riscv/rvv/autovec/vls/dup-4.c: New test. + * gcc.target/riscv/rvv/autovec/vls/dup-5.c: New test. + * gcc.target/riscv/rvv/autovec/vls/dup-6.c: New test. + * gcc.target/riscv/rvv/autovec/vls/dup-7.c: New test. + 2023-07-29 Roger Sayle PR target/110790 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index c2066eb28a4b..11d44712d6aa 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,10 @@ +2023-07-31 Ian Lance Taylor + + * configure.ac: Check for _pgmptr declaration. + * fileline.c (fileline_initialize): Check for _pgmfptr before + /proc/self/exec. + * configure, config.h.in: Regenerate. + 2023-03-28 Ian Lance Taylor * elf.c (elf_zstd_read_fse): Call elf_fetch_bits after reading