diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 246aec13542..3968cf2e2b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,175 @@ +2023-09-20 Andrew MacLeod + + * gimple-range-cache.cc (ssa_cache::merge_range): Change meaning + of the return value. + (ssa_cache::dump): Don't print GLOBAL RANGE header. + (ssa_lazy_cache::merge_range): Adjust return value meaning. + (ranger_cache::dump): Print GLOBAL RANGE header. + +2023-09-20 Aldy Hernandez + + * range-op-float.cc (foperator_unordered_ge::fold_range): Remove + special casing. + (foperator_unordered_gt::fold_range): Same. + (foperator_unordered_lt::fold_range): Same. + (foperator_unordered_le::fold_range): Same. + +2023-09-20 Jakub Jelinek + + * builtins.h (type_to_class): Declare. + * builtins.cc (type_to_class): No longer static. Return + int rather than enum. + * doc/extend.texi (__builtin_classify_type): Document. + +2023-09-20 Juzhe-Zhong + + PR target/110751 + * internal-fn.cc (expand_fn_using_insn): Support undefined rtx value. + * optabs.cc (maybe_legitimize_operand): Ditto. + (can_reuse_operands_p): Ditto. + * optabs.h (enum expand_operand_type): Ditto. + (create_undefined_input_operand): Ditto. + +2023-09-20 Tobias Burnus + + * gimplify.cc (gimplify_bind_expr): Call GOMP_alloc/free for + 'omp allocate' variables; move stack cleanup after other + cleanup. + (omp_notice_variable): Process original decl when decl + of the value-expression for a 'omp allocate' variable is passed. + * omp-low.cc (scan_omp_1_op): Handle 'omp allocate' variables + +2023-09-20 Yanzhang Wang + + * simplify-rtx.cc (simplify_context::simplify_binary_operation_1): + support simplifying vector int not only scalar int. + +2023-09-20 Juzhe-Zhong + + * config/riscv/vector-iterators.md: Extend VLS floating-point. + +2023-09-20 Juzhe-Zhong + + * config/riscv/riscv-vsetvl.cc (vector_insn_info::operator==): Fix bug. + +2023-09-20 Iain Sandoe + + * config/darwin.h: + (SUBTARGET_DRIVER_SELF_SPECS): Move handling of 'shared' into the same + specs as 'dynamiclib'. (STARTFILE_SPEC): Handle 'shared'. + +2023-09-20 Richard Biener + + PR tree-optimization/111489 + * params.opt (-param uninit-max-chain-len=): Raise default to 8. + +2023-09-20 Richard Biener + + PR tree-optimization/111489 + * doc/invoke.texi (--param uninit-max-chain-len): Document. + (--param uninit-max-num-chains): Likewise. + * params.opt (-param=uninit-max-chain-len=): New. + (-param=uninit-max-num-chains=): Likewise. + * gimple-predicate-analysis.cc (MAX_NUM_CHAINS): Define to + param_uninit_max_num_chains. + (MAX_CHAIN_LEN): Define to param_uninit_max_chain_len. + (uninit_analysis::init_use_preds): Avoid VLA. + (uninit_analysis::init_from_phi_def): Likewise. + (compute_control_dep_chain): Avoid using MAX_CHAIN_LEN in + template parameter. + +2023-09-20 Jakub Jelinek + + * match.pd ((x << c) >> c): Use MAX_FIXED_MODE_SIZE instead of + GET_MODE_PRECISION of TImode or DImode depending on whether + TImode is supported scalar mode. + * gimple-lower-bitint.cc (bitint_precision_kind): Likewise. + * expr.cc (expand_expr_real_1): Likewise. + * tree-ssa-sccvn.cc (eliminate_dom_walker::eliminate_stmt): Likewise. + * ubsan.cc (ubsan_encode_value, ubsan_type_descriptor): Likewise. + +2023-09-20 Lehua Ding + + * config/riscv/autovec-opt.md (*not): Move and rename. + (*n): Ditto. + (*vtrunc): Ditto. + (*trunc): Ditto. + (*narrow_): Ditto. + (*narrow__scalar): Ditto. + (*single_widen_mult): Ditto. + (*single_widen_mul): Ditto. + (*single_widen_mult): Ditto. + (*single_widen_mul): Ditto. + (*dual_widen_fma): Ditto. + (*dual_widen_fma): Ditto. + (*single_widen_fma): Ditto. + (*single_widen_fma): Ditto. + (*dual_fma): Ditto. + (*single_fma): Ditto. + (*dual_fnma): Ditto. + (*dual_widen_fnma): Ditto. + (*single_fnma): Ditto. + (*single_widen_fnma): Ditto. + (*dual_fms): Ditto. + (*dual_widen_fms): Ditto. + (*single_fms): Ditto. + (*single_widen_fms): Ditto. + (*dual_fnms): Ditto. + (*dual_widen_fnms): Ditto. + (*single_fnms): Ditto. + (*single_widen_fnms): Ditto. + +2023-09-20 Jakub Jelinek + + PR c++/111392 + * attribs.cc (decl_attributes): Don't warn on omp::directive attribute + on vars or function decls if -fopenmp or -fopenmp-simd. + +2023-09-20 Lehua Ding + + PR target/111488 + * config/riscv/autovec-opt.md: Add missed operand. + +2023-09-20 Omar Sandoval + + PR debug/111409 + * dwarf2out.cc (output_macinfo): Don't call optimize_macinfo_range if + dwarf_split_debug_info. + +2023-09-20 Juzhe-Zhong + + * config/riscv/riscv-v.cc (can_find_related_mode_p): New function. + (vectorize_related_mode): Add VLS related modes. + * config/riscv/vector-iterators.md: Extend VLS modes. + +2023-09-20 Surya Kumari Jangala + + PR rtl-optimization/110071 + * ira-color.cc (improve_allocation): Consider cost of callee + save registers. + +2023-09-20 mengqinggang + Xi Ruoyao + + * configure: Regenerate. + * configure.ac: Checking assembler for -mno-relax support. + Disable relaxation when probing leb128 support. + +2023-09-20 Lulu Cheng + + * config.in: Regenerate. + * config/loongarch/genopts/loongarch.opt.in: Add compilation option + mrelax. And set the initial value of explicit-relocs according to the + detection status. + * config/loongarch/gnu-user.h: When compiling with -mno-relax, pass the + --no-relax option to the linker. + * config/loongarch/loongarch-driver.h (ASM_SPEC): When compiling with + -mno-relax, pass the -mno-relax option to the assembler. + * config/loongarch/loongarch-opts.h (HAVE_AS_MRELAX_OPTION): Define macro. + * config/loongarch/loongarch.opt: Regenerate. + * configure: Regenerate. + * configure.ac: Add detection of support for binutils relax function. + 2023-09-19 Ben Boeckel * doc/invoke.texi: Document -fdeps-format=, -fdeps-file=, and diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c6af87ba008..707983c08eb 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230920 +20230921 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 51f5ec5e017..30ce662c301 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2023-09-20 Jakub Jelinek + + PR c++/111392 + * c-omp.cc (c_omp_directives): Add commented out groupprivate + directive entry. + 2023-09-19 Ben Boeckel * c-opts.cc (c_common_handle_option): Add fdeps_file variable and diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index ac8ef09065c..c23f7560bb4 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2023-09-20 Jakub Jelinek + + * c-parser.cc (c_parser_postfix_expression_after_primary): Parse + __builtin_classify_type call with typename as argument. + 2023-09-19 Richard Biener PR c/111468 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2a9165c9433..66adfcd8274 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,57 @@ +2023-09-20 Jakub Jelinek + + * parser.cc (cp_parser_postfix_expression): Parse + __builtin_classify_type call with typename as argument. + * pt.cc (tsubst_copy_and_build): Handle __builtin_classify_type + with dependent typename as argument. + +2023-09-20 Patrick Palka + + PR c++/111471 + * cxx-pretty-print.cc (cxx_pretty_printer::expression) + : Handle class NTTP objects by printing + their type and value. + : Strip const VIEW_CONVERT_EXPR + wrappers for class NTTPs. + (pp_cxx_template_argument_list): Don't handle class NTTP + objects here. + +2023-09-20 Patrick Palka + + * pt.cc (tsubst_function_decl): Don't bother computing 'argvec' + when 'lambda_fntype' is set. + (tsubst_template_decl): Make sure we return a TEMPLATE_DECL + during specialization lookup. In the non-class non-function + template case, use tsubst_decl directly with use_spec_table=false, + update DECL_TI_ARGS and call register_specialization like + tsubst_decl would have done if use_spec_table=true. + +2023-09-20 Jakub Jelinek + + PR c++/111392 + * parser.h (struct cp_lexer): Add in_omp_decl_attribute member. + * cp-tree.h (cp_maybe_parse_omp_decl): Declare. + * parser.cc (cp_parser_handle_statement_omp_attributes): Diagnose + omp::decl attribute on statements. Adjust diagnostic wording for + omp::decl. + (cp_parser_omp_directive_args): Add DECL_P argument, set TREE_PUBLIC + to it on the DEFERRED_PARSE tree. + (cp_parser_omp_sequence_args): Adjust caller. + (cp_parser_std_attribute): Handle omp::decl attribute. + (cp_parser_omp_var_list): If parser->lexer->in_omp_decl_attribute + don't expect any arguments, instead create clause or TREE_LIST for + that decl. + (cp_parser_late_parsing_omp_declare_simd): Adjust diagnostic wording + for omp::decl. + (cp_maybe_parse_omp_decl): New function. + (cp_parser_omp_declare_target): If + parser->lexer->in_omp_decl_attribute and first token isn't name or + comma invoke cp_parser_omp_var_list. + * decl2.cc (cplus_decl_attributes): Adjust diagnostic wording for + omp::decl. Handle omp::decl on declarations. + * name-lookup.cc (finish_using_directive): Adjust diagnostic wording + for omp::decl. + 2023-09-19 Ben Boeckel * mapper-client.cc, mapper-client.h (open_module_client): Accept diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 875a938113f..cc53d4cacab 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,159 @@ +2023-09-20 Lewis Hyatt + + PR preprocessor/90400 + * c-c++-common/cpp/pr90400.c: New test. + +2023-09-20 Lewis Hyatt + + PR preprocessor/61474 + * c-c++-common/cpp/pr61474-2.h: New test. + * c-c++-common/cpp/pr61474.c: New test. + * c-c++-common/cpp/pr61474.h: New test. + +2023-09-20 Patrick O'Neill + + * gcc.target/riscv/rvv/autovec/vls/def.h: Remove unneeded math.h + import. + +2023-09-20 Aldy Hernandez + + * gcc.dg/tree-ssa/vrp-float-relations-5.c: New test. + * gcc.dg/tree-ssa/vrp-float-relations-6.c: New test. + +2023-09-20 Jakub Jelinek + + * c-c++-common/builtin-classify-type-1.c: New test. + * g++.dg/ext/builtin-classify-type-1.C: New test. + * g++.dg/ext/builtin-classify-type-2.C: New test. + * gcc.dg/builtin-classify-type-1.c: New test. + +2023-09-20 Patrick Palka + + PR c++/111471 + * g++.dg/concepts/diagnostic19.C: New test. + +2023-09-20 Tobias Burnus + + * c-c++-common/gomp/allocate-11.c: Remove C-only dg-message + for 'sorry, unimplemented'. + * c-c++-common/gomp/allocate-12.c: Likewise. + * c-c++-common/gomp/allocate-15.c: Likewise. + * c-c++-common/gomp/allocate-9.c: Likewise. + * c-c++-common/gomp/allocate-10.c: New test. + * c-c++-common/gomp/allocate-17.c: New test. + +2023-09-20 Yanzhang Wang + + * gcc.target/riscv/rvv/base/simplify-vdiv.c: New test. + +2023-09-20 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/widen/widen-10.c: Adapt test. + * gcc.target/riscv/rvv/autovec/widen/widen-11.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-12.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/vls/ext-4.c: New test. + * gcc.target/riscv/rvv/autovec/vls/ext-5.c: New test. + * gcc.target/riscv/rvv/autovec/vls/trunc-4.c: New test. + * gcc.target/riscv/rvv/autovec/vls/trunc-5.c: New test. + +2023-09-20 Richard Biener + + PR tree-optimization/111489 + * gcc.dg/uninit-pr111489.c: New testcase. + +2023-09-20 Jakub Jelinek + + PR c++/111392 + * g++.dg/gomp/attrs-19.C: New test. + * g++.dg/gomp/attrs-20.C: New test. + * g++.dg/gomp/attrs-21.C: New test. + +2023-09-20 Omar Sandoval + + PR debug/111409 + * gcc.dg/pr111409.c: New test. + +2023-09-20 Jiufu Guo + + * gcc.dg/tree-ssa/pr111303.c: Rename to ... + * gcc.dg/tree-ssa/pr111324.c: ... this. + +2023-09-20 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/binop/narrow-1.c: Adapt testcase. + * gcc.target/riscv/rvv/autovec/binop/narrow-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/binop/narrow-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/cmp/vcond-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/cmp/vcond-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/cmp/vcond-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/cmp/vcond-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/partial/slp-18.c: Ditto. + * gcc.target/riscv/rvv/autovec/partial/slp-19.c: Ditto. + * gcc.target/riscv/rvv/autovec/pr110950.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-10.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-11.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-12.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-10.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-11.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-12.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/vls/def.h: Ditto. + * gcc.target/riscv/rvv/autovec/vls/div-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/vls/shift-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-7.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-8.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-9.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-4.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-5.c: Ditto. + * gcc.target/riscv/rvv/autovec/widen/widen-complicate-6.c: Ditto. + * gcc.target/riscv/rvv/autovec/zve32f-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/vls/avg-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/avg-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/avg-3.c: New test. + * gcc.target/riscv/rvv/autovec/vls/avg-4.c: New test. + * gcc.target/riscv/rvv/autovec/vls/avg-5.c: New test. + * gcc.target/riscv/rvv/autovec/vls/avg-6.c: New test. + * gcc.target/riscv/rvv/autovec/vls/ext-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/ext-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/ext-3.c: New test. + * gcc.target/riscv/rvv/autovec/vls/trunc-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/trunc-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/trunc-3.c: New test. + +2023-09-20 Surya Kumari Jangala + + PR rtl-optimization/110071 + * gcc.target/powerpc/pr110071.c: New test. + 2023-09-19 Ben Boeckel * g++.dg/modules/depreport-2.modmap: New test. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 4b15c89fee8..1a5ff99dcb5 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,11 @@ +2023-09-20 Lewis Hyatt + + PR preprocessor/61474 + * files.cc (_cpp_find_file): Set DONT_READ to TRUE for fake + include files. + (_cpp_fake_include): Pass a unique cpp_dir* address so + the fake file will not be found when looked up for real. + 2023-09-19 Ben Boeckel * include/cpplib.h: Add cpp_fdeps_format enum. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 25561ad0f7b..02bf993b5bf 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2023-09-20 Pekka Seppänen + + * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): + Use const unsigned type and a builtin. + 2023-09-06 Jakub Jelinek PR c/102989 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index b14b244821c..8bc930b3eb9 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,17 @@ +2023-09-20 Tobias Burnus + + * libgomp.texi (OpenMP 5.1 Impl.): Mark 'omp allocate' as + implemented for C only. + * testsuite/libgomp.c/allocate-4.c: New test. + * testsuite/libgomp.c/allocate-5.c: New test. + * testsuite/libgomp.c/allocate-6.c: New test. + +2023-09-20 Jakub Jelinek + + PR c++/111392 + * libgomp.texi: Mark decl attribute was added to the C++ attribute + syntax as implemented. + 2023-09-19 Jakub Jelinek PR libgomp/111413