diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-05-26 00:16:41 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-05-26 00:16:41 +0000 |
commit | 2bc6dacecb2ba60f1f06f310c6887a26b09cdba8 (patch) | |
tree | 8647de62827b198bad5b0adb21f7bab1fc3a1c2b /gcc | |
parent | a6e94287d31525b3ad0963ad22a92e9f3dbcd3cf (diff) | |
download | gcc-2bc6dacecb2ba60f1f06f310c6887a26b09cdba8.zip gcc-2bc6dacecb2ba60f1f06f310c6887a26b09cdba8.tar.gz gcc-2bc6dacecb2ba60f1f06f310c6887a26b09cdba8.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 294 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 20 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 62 |
7 files changed, 394 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3c90e2..897c704 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,297 @@ +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-gori.cc (class logical_stmt_cache): Delete + (logical_stmt_cache::logical_stmt_cache ): Delete. + (logical_stmt_cache::~logical_stmt_cache): Delete. + (logical_stmt_cache::cache_entry::dump): Delete. + (logical_stmt_cache::get_range): Delete. + (logical_stmt_cache::cached_name ): Delete. + (logical_stmt_cache::same_cached_name): Delete. + (logical_stmt_cache::cacheable_p): Delete. + (logical_stmt_cache::slot_diagnostics ): Delete. + (logical_stmt_cache::dump): Delete. + (gori_compute_cache::gori_compute_cache): Delete. + (gori_compute_cache::~gori_compute_cache): Delete. + (gori_compute_cache::compute_operand_range): Delete. + (gori_compute_cache::cache_stmt): Delete. + * gimple-range-gori.h (gori_compute::compute_operand_range): Remove + virtual. + (class gori_compute_cache): Delete. + +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range.cc (fold_using_range::range_of_range_op): Use m_gori + intead of m_cache. + (fold_using_range::range_of_address): Adjust. + (fold_using_range::range_of_phi): Adjust. + * gimple-range.h (class fur_source): Adjust. + (fur_source::fur_source): Adjust. + +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-gori.cc (gori_compute::expr_range_at_stmt): Rename + from expr_range_in_bb and adjust. + (gori_compute::compute_name_range_op): Adjust. + (gori_compute::optimize_logical_operands): Adjust. + (gori_compute::compute_logical_operands_in_chain): Adjust. + (gori_compute::compute_operand1_range): Adjust. + (gori_compute::compute_operand2_range): Adjust. + (ori_compute_cache::cache_stmt): Adjust. + * gimple-range-gori.h (gori_compute): Rename prototype. + +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range.cc (gimple_ranger::range_of_expr): Non-null should be + checked only after range_of_stmt, not range_on_entry. + (gimple_ranger::range_on_entry): Check for non-null in any + predecessor block, if it is not already non-null. + (gimple_ranger::range_on_exit): DOnt check for non-null after + range on entry call. + (gimple_ranger::dump_bb): New. Split from dump. + (gimple_ranger::dump): Adjust. + * gimple-range.h (class gimple_ranger): Adjust. + +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-cache.cc (struct range_timestamp): Delete. + (class temporal_cache): Adjust. + (temporal_cache::get_timestamp): Delete. + (temporal_cache::set_dependency): Delete. + (temporal_cache::temporal_value): Adjust. + (temporal_cache::current_p): Take dependencies as params. + (temporal_cache::set_timestamp): Adjust. + (temporal_cache::set_always_current): Adjust. + (ranger_cache::get_non_stale_global_range): Adjust. + (ranger_cache::register_dependency): Delete. + * gimple-range-cache.h (class range_cache): Adjust. + +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-gori.cc (range_def_chain::range_def_chain): init + bitmap obstack. + (range_def_chain::~range_def_chain): Dispose of obstack rather than + each individual bitmap. + (range_def_chain::set_import): New. + (range_def_chain::get_imports): New. + (range_def_chain::chain_import_p): New. + (range_def_chain::register_dependency): Rename from build_def_chain + and set imports. + (range_def_chain::def_chain_in_bitmap_p): New. + (range_def_chain::add_def_chain_to_bitmap): New. + (range_def_chain::has_def_chain): Just check first depenedence. + (range_def_chain::get_def_chain): Process imports, use generic + register_dependency routine. + (range_def_chain::dump): New. + (gori_map::gori_map): Allocate import list. + (gori_map::~gori_map): Release imports. + (gori_map::exports): Check for past allocated block size. + (gori_map::imports): New. + (gori_map::def_chain_in_export_p): Delete. + (gori_map::is_import_p): New. + (gori_map::maybe_add_gori): Handle imports. + (gori_map::dump): Adjust output, add imports. + (gori_compute::has_edge_range_p): Remove def_chain_in_export call. + (gori_export_iterator::gori_export_iterator): New. + (gori_export_iterator::next): New. + (gori_export_iterator::get_name): New. + * gimple-range-gori.h (range_def_chain): Add imports and direct + dependecies via struct rdc. + (range_def_chain::depend1): New. + (range_def_chain::depend2): New. + (class gori_map): Adjust. + (FOR_EACH_GORI_IMPORT_NAME): New. + (FOR_EACH_GORI_EXPORT_NAME): New. + (class gori_export_iterator): New. + +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-cache.cc (ranger_cache::ranger_cache): Move initial + export cache filling to here. + * gimple-range-gori.cc (gori_compute::gori_compute) : From Here. + +2021-05-25 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-gori.cc (range_def_chain): Move to gimple-range-gori.h. + (gori_map): Move to gimple-range-gori.h. + (gori_compute::gori_compute): Adjust. + (gori_compute::~gori_compute): Delete. + (gori_compute::compute_operand_range_switch): Adjust. + (gori_compute::compute_operand_range): Adjust. + (gori_compute::compute_logical_operands): Adjust. + (gori_compute::has_edge_range_p ): Adjust. + (gori_compute::set_range_invariant): Delete. + (gori_compute::dump): Adjust. + (gori_compute::outgoing_edge_range_p): Adjust. + * gimple-range-gori.h (class range_def_chain): Relocate here. + (class gori_map): Relocate here. + (class gori_compute): Inherit from gori_map, and adjust. + +2021-05-25 Aldy Hernandez <aldyh@redhat.com> + + * value-range.cc (range_tests_legacy): Use + build_nonstandard_integer_type instead of int and short. + +2021-05-25 Eric Botcazou <ebotcazou@adacore.com> + + * gimplify.c (gimplify_decl_expr): Clear TREE_READONLY on the DECL + when really creating an initialization statement for it. + +2021-05-25 Eric Botcazou <ebotcazou@adacore.com> + + * tree-inline.c (setup_one_parameter): Fix thinko in new condition. + +2021-05-25 Kito Cheng <kito.cheng@sifive.com> + + * config/riscv/riscv.h (ASM_SPEC): Pass -mno-relax. + +2021-05-25 Martin Liska <mliska@suse.cz> + + PR tree-optimization/92860 + PR target/99592 + * optc-save-gen.awk: Remove exceptions. + +2021-05-25 Martin Liska <mliska@suse.cz> + + * asan.h (sanitize_coverage_p): New function. + * doc/extend.texi: Document it. + * fold-const.c (fold_range_test): Use sanitize_flags_p + instead of flag_sanitize_coverage. + (fold_truth_andor): Likewise. + * sancov.c: Likewise. + * tree-ssa-ifcombine.c (ifcombine_ifandif): Likewise. + * ipa-inline.c (sanitize_attrs_match_for_inline_p): Handle + -fsanitize-coverage when inlining. + +2021-05-25 Cooper Qu <cooper.qu@linux.alibaba.com> + + * config/csky/csky-modes.def : Fix copyright. + +2021-05-25 Cooper Qu <cooper.qu@linux.alibaba.com> + + * config/csky/csky-modes.def : Amend copyright. + * config/csky/csky_insn_fpuv2.md : Likewise. + * config/csky/csky_insn_fpuv3.md : Likewise. + +2021-05-25 Richard Biener <rguenther@suse.de> + + PR middle-end/100727 + * calls.c (initialize_argument_information): Explicitely test + for WITH_SIZE_EXPR. + * gimple-expr.c (mark_addressable): Skip outer WITH_SIZE_EXPR. + +2021-05-25 Geng Qi <gengqi@linux.alibaba.com> + + * config/csky/csky.h (FRAME_POINTER_REGNUM): Use + HARD_FRAME_POINTER_REGNUM and FRAME_POINTER_REGNUM instead of + the signle definition. The signle definition may not work well + at simplify_subreg_regno(). + (HARD_FRAME_POINTER_REGNUM): New. + (ELIMINABLE_REGS): Add for HARD_FRAME_POINTER_REGNUM. + * config/csky/csky.c (get_csky_live_regs, csky_can_eliminate, + csky_initial_elimination_offset, csky_expand_prologue, + csky_expand_epilogue): Add for HARD_FRAME_POINTER_REGNUM. + +2021-05-25 Geng Qi <gengqi@linux.alibaba.com> + + * config/csky/csky.c (csky_option_override): + Init csky_arch_isa_features[] in advance, so TARGET_DSP + and TARGET_DIV can be set well. + +2021-05-25 Geng Qi <gengqi@linux.alibaba.com> + + * config/csky/constraints.md ("l", "h"): Delete. + * config/csky/csky.h (reg_class, REG_CLASS_NAMES, + REG_CLASS_CONTENTS): Delete LO_REGS and HI_REGS. + * config/csky/csky.c (regno_reg_classm, + csky_secondary_reload, csky_register_move_cost): + Use HILO_REGS instead of LO_REGS and HI_REGS. + +2021-05-25 Geng Qi <gengqi@linux.alibaba.com> + + * config/csky/constraints.md ("W"): New constriant for mem operand + with base reg, index register. + ("Q"): Renamed and modified "csky_valid_fpuv2_mem_operand" to + "csky_valid_mem_constraint_operand" to deal with both "Q" and "W" + constraint. + ("Dv"): New constraint for const double value that can be used at + fmovi instruction. + * config/csky/csky-modes.def (HFmode): New mode. + * config/csky/csky-protos.h (csky_valid_fpuv2_mem_operand): Rename + to "csky_valid_mem_constraint_operand" and support new constraint + "W". + (csky_get_movedouble_length): New. + (fpuv3_output_move): New. + (fpuv3_const_double): New. + * config/csky/csky.c (csky_option_override): New arch CK860 with fpv3. + (decompose_csky_address): Refine. + (csky_print_operand): New "CONST_DOUBLE" operand. + (csky_output_move): Support fpv3 instructions. + (csky_get_movedouble_length): New. + (fpuv3_output_move): New. + (fpuv3_const_double): New. + (csky_emit_compare): Cover float comparsion. + (csky_emit_compare_float): Refine. + (csky_vaild_fpuv2_mem_operand): Rename to + "csky_valid_mem_constraint_operand" and support new constraint "W". + (ck860_rtx_costs): New. + (csky_rtx_costs): Add the cost calculation of CK860. + (regno_reg_class): New vregs for fpuv3. + (csky_dbx_regno): Likewise. + (csky_cpu_cpp_builtins): New builtin macro for fpuv3. + (csky_conditional_register_usage): Suporrot fpuv3. + (csky_dwarf_register_span): Suporrot fpuv3. + (csky_init_builtins, csky_mangle_type): Support "__fp16" type. + (ck810_legitimate_index_p): Support fp16. + * config/csky/csky.h (TARGET_TLS): ADD CK860. + (CSKY_VREG_P, CSKY_VREG_LO_P, CSKY_VREG_HI_P): Support fpuv3. + (TARGET_SINGLE_FPU): Support fpuv3. + (TARGET_SUPPORT_FPV3): New. + (FIRST_PSEUDO_REGISTER): Change to 202 to hold the new fpuv3 registers. + (FIXED_REGISTERS, CALL_REALLY_USED_REGISTERS, REGISTER_NAMES, + REG_CLASS_CONTENTS): Support fpuv3. + * config/csky/csky.md (movsf): Move to cksy_insn_fpu.md and refine. + (csky_movsf_fpv2): Likewise. + (ck801_movsf): Likewise. + (csky_movsf): Likewise. + (movdf): Likewise. + (csky_movdf_fpv2): Likewise. + (ck801_movdf): Likewise. + (csky_movdf): Likewise. + (movsicc): Refine. Use "comparison_operatior" instead of + "ordered_comparison_operatior". + (addsicc): Likewise. + (CSKY_FIRST_VFP3_REGNUM, CSKY_LAST_VFP3_REGNUM): New constant. + (call_value_internal_vh): New. + * config/csky/csky_cores.def (CK860): New arch and cpu. + (fpv3_hf): New. + (fpv3_hsf): New. + (fpv3_sdf): New. + (fpv3): New. + * config/csky/csky_insn_fpu.md: Refactor. Separate all float patterns + into emit-patterns and match-patterns, remain the emit-patterns here, + and move the match-patterns to csky_insn_fpuv2.md or + csky_insn_fpuv3.md. + * config/csky/csky_insn_fpuv2.md: New file for fpuv2 instructions. + * config/csky/csky_insn_fpuv3.md: New file and new patterns for fpuv3 + isntructions. + * config/csky/csky_isa.def (fcr): New. + (fpv3_hi): New. + (fpv3_hf): New. + (fpv3_sf): New. + (fpv3_df): New. + (CK860): New definition for ck860. + * config/csky/csky_tables.opt (ck860): New processors ck860, + ck860f. And new arch ck860. + (fpv3_hf): New. + (fpv3_hsf): New. + (fpv3_hdf): New. + (fpv3): New. + * config/csky/predicates.md (csky_float_comparsion_operator): Delete + "geu", "gtu", "leu", "ltu", which will never appear at float comparison. + * config/csky/t-csky-elf: Support 860. + * config/csky/t-csky-linux: Likewise. + * doc/md.texi: Add "Q" and "W" constraints for C-SKY. + 2021-05-24 Aaron Sawdey <acsawdey@linux.ibm.com> * config/rs6000/genfusion.pl (gen_logical_addsubf): Refactor to diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index e64bfab..f3c7e4f 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210525 +20210526 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b5ba177..14a8c58 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2021-05-25 Martin Liska <mliska@suse.cz> + + * doc/share/conf.py: Fix Sphinx 4.0.x error. + 2021-05-21 Piotr Trojanek <trojanek@adacore.com> * gcc-interface/trans.c (Raise_Error_to_gnu): Add an assertion. diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 43d4c5e..28544c7 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,23 @@ +2021-05-25 Martin Liska <mliska@suse.cz> + + PR tree-optimization/92860 + PR target/99592 + * c-attribs.c (handle_optimize_attribute): Save target node + before calling parse_optimize_options and save it in case + it changes. + * c-pragma.c (handle_pragma_target): Similarly for pragma. + (handle_pragma_pop_options): Likewise here. + +2021-05-25 Martin Liska <mliska@suse.cz> + + * c-attribs.c (handle_no_sanitize_coverage_attribute): New. + +2021-05-25 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/99928 + * c-omp.c (c_omp_split_clauses): Copy reduction to teams when teams is + combined with simd and not with taskloop or for. + 2021-05-21 Jakub Jelinek <jakub@redhat.com> PR middle-end/99928 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2eb793e..1cbd043 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2021-05-25 Jakub Jelinek <jakub@redhat.com> + + PR c++/100666 + * call.c (convert_arg_to_ellipsis): For expressions with NULLPTR_TYPE + and side-effects, temporarily disable -Wunused-result warning when + building COMPOUND_EXPR. + 2021-05-21 Jakub Jelinek <jakub@redhat.com> PR middle-end/99928 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e614039..b30db1c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2021-05-25 Tobias Burnus <tobias@codesourcery.com> + Johannes Nendwich <a08727063@unet.univie.ac.at> + + * intrinsic.texi (GERROR, GETARGS, GETLOG, NORM2, PARITY, RANDOM_INIT, + RANDOM_NUMBER): Fix typos and copy'n'paste errors. + 2021-05-24 Tobias Burnus <tobias@codesourcery.com> PR fortran/86470 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 00550f6..72d4f58 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,65 @@ +2021-05-25 Jakub Jelinek <jakub@redhat.com> + + PR c++/100666 + * g++.dg/cpp1z/nodiscard8.C: New test. + * g++.dg/cpp1z/nodiscard9.C: New test. + +2021-05-25 Martin Liska <mliska@suse.cz> + + * gcc.dg/sancov/attribute.c: New test. + +2021-05-25 Cooper Qu <cooper.qu@linux.alibaba.com> + + * gcc.target/csky/fpuv3/fpuv3.exp : Amend copyright. + +2021-05-25 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/99928 + * c-c++-common/gomp/pr99928-8.c: Remove xfails from omp teams r21 and + r28 checks. + * c-c++-common/gomp/pr99928-9.c: Likewise. + * c-c++-common/gomp/pr99928-10.c: Likewise. + +2021-05-25 Geng Qi <gengqi@linux.alibaba.com> + + * gcc.target/csky/fpuv3/fpuv3.exp: New. + * gcc.target/csky/fpuv3/fpv3_div.c: New. + * gcc.target/csky/fpuv3/fpv3_fadd.c: New. + * gcc.target/csky/fpuv3/fpv3_fdtos.c: New. + * gcc.target/csky/fpuv3/fpv3_fftoi_rm.c: New. + * gcc.target/csky/fpuv3/fpv3_fftoi_rz.c: New. + * gcc.target/csky/fpuv3/fpv3_fhtos.c: New. + * gcc.target/csky/fpuv3/fpv3_fitof.c: New. + * gcc.target/csky/fpuv3/fpv3_fmov.c: New. + * gcc.target/csky/fpuv3/fpv3_fmovi.c: New. + * gcc.target/csky/fpuv3/fpv3_fmula.c: New. + * gcc.target/csky/fpuv3/fpv3_fmuls.c: New. + * gcc.target/csky/fpuv3/fpv3_fneg.c: New. + * gcc.target/csky/fpuv3/fpv3_fnmula.c: New. + * gcc.target/csky/fpuv3/fpv3_fnmuls.c: New. + * gcc.target/csky/fpuv3/fpv3_fstod.c: New. + * gcc.target/csky/fpuv3/fpv3_fstoh.c: New. + * gcc.target/csky/fpuv3/fpv3_fsub.c: New. + * gcc.target/csky/fpuv3/fpv3_fxtof.c: New. + * gcc.target/csky/fpuv3/fpv3_h.c: New. + * gcc.target/csky/fpuv3/fpv3_hs.c: New. + * gcc.target/csky/fpuv3/fpv3_hsz.c: New. + * gcc.target/csky/fpuv3/fpv3_hz.c: New. + * gcc.target/csky/fpuv3/fpv3_ls.c: New. + * gcc.target/csky/fpuv3/fpv3_lsz.c: New. + * gcc.target/csky/fpuv3/fpv3_lt.c: New. + * gcc.target/csky/fpuv3/fpv3_ltz.c: New. + * gcc.target/csky/fpuv3/fpv3_max.c: New. + * gcc.target/csky/fpuv3/fpv3_min.c: New. + * gcc.target/csky/fpuv3/fpv3_mul.c: New. + * gcc.target/csky/fpuv3/fpv3_mula.c: New. + * gcc.target/csky/fpuv3/fpv3_muls.c: New. + * gcc.target/csky/fpuv3/fpv3_ne.c: New. + * gcc.target/csky/fpuv3/fpv3_nez.c: New. + * gcc.target/csky/fpuv3/fpv3_recip.c: New. + * gcc.target/csky/fpuv3/fpv3_sqrt.c: New. + * gcc.target/csky/fpuv3/fpv3_unordered.c: New. + 2021-05-24 Aaron Sawdey <acsawdey@linux.ibm.com> * gcc.target/powerpc/fusion-p10-logadd.c: New file. |