diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 209 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/analyzer/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 17 | ||||
-rw-r--r-- | gcc/objc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 147 |
7 files changed, 404 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf73c34..f8e3401 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,212 @@ +2021-06-28 Indu Bhagat <indu.bhagat@oracle.com> + + * config/bpf/bpf.c (bpf_expand_prologue): Do not mark insns as + frame related. + (bpf_expand_epilogue): Likewise. + * config/bpf/bpf.h (DWARF2_FRAME_INFO): Define to 0. + Do not define DBX_DEBUGGING_INFO. + +2021-06-28 Indu Bhagat <indu.bhagat@oracle.com> + + * doc/invoke.texi: Document the CTF and BTF debug info options. + +2021-06-28 Indu Bhagat <indu.bhagat@oracle.com> + David Faust <david.faust@oracle.com> + Jose E. Marchesi <jose.marchesi@oracle.com> + Weimin Pan <weimin.pan@oracle.com> + + * Makefile.in: Add ctfc.*, ctfout.c and btfout.c files to + GTFILES. Add new object files. + * common.opt: Add CTF and BTF debug info options. + * btfout.c: New file. + * ctfc.c: Likewise. + * ctfc.h: Likewise. + * ctfout.c: Likewise. + * dwarf2ctf.c: Likewise. + * dwarf2ctf.h: Likewise. + * dwarf2cfi.c (dwarf2out_do_frame): Acknowledge CTF_DEBUG and + BTF_DEBUG. + * dwarf2out.c (dwarf2out_source_line): Likewise. + (dwarf2out_finish): Skip emitting DWARF if CTF or BTF are to + be generated. + (debug_format_do_cu): New function. + (dwarf2out_early_finish): Traverse DIEs and emit CTF/BTF for + them if requested. + Include dwarf2ctf.c. + * final.c (dwarf2_debug_info_emitted_p): Acknowledge DWARF-based debug + formats. + * flag-types.h (enum debug_info_type): Add CTF_DEBUG and BTF_DEBUG. + (CTF_DEBUG): New bitmask. + (BTF_DEBUG): Likewise. + (enum ctf_debug_info_levels): New enum. + * gengtype.c (open_base_files): Handle ctfc.h. + (main): Handle uint32_t type. + * flags.h (btf_debuginfo_p): New definition. + (dwarf_based_debuginfo_p): Likewise. + * opts.c (debug_type_names): Add entries for CTF and BTF. + (btf_debuginfo_p): New function. + (dwarf_based_debuginfo_p): Likewise. + (common_handle_option): Handle -gctfN and -gbtf options. + (set_debug_level): Set CTF_DEBUG, BTF_DEBUG whenever appropriate. + * toplev.c (process_options): Inform the user and ignore -gctfLEVEL if + frontend is not C. + +2021-06-28 Jose E. Marchesi <jose.marchesi@oracle.com> + + * dwarf2out.c (AT_class): Function is no longer static. + (AT_int): Likewise. + (AT_unsigned): Likewise. + (AT_loc): Likewise. + (get_AT): Likewise. + (get_AT_string): Likewise. + (get_AT_flag): Likewise. + (get_AT_unsigned): Likewise. + (get_AT_ref): Likewise. + (new_die_raw): Likewise. + (lookup_decl_die): Likewise. + (base_type_die): Likewise. + (add_name_attribute): Likewise. + (add_AT_int): Likewise. + (add_AT_unsigned): Likewise. + (add_AT_loc): Likewise. + (dw_get_die_tag): New function. + (dw_get_die_child): Likewise. + (dw_get_die_sib): Likewise. + (struct dwarf_file_data): Move from here to dwarf2out.h + (struct dw_attr_struct): Likewise. + * dwarf2out.h: Analogous changes. + +2021-06-28 Martin Jambor <mjambor@suse.cz> + + PR ipa/93385 + * ipa-param-manipulation.h (class ipa_param_body_adjustments): New + members m_dead_stmts and m_dead_ssas. + * ipa-param-manipulation.c + (ipa_param_body_adjustments::mark_dead_statements): New function. + (ipa_param_body_adjustments::common_initialization): Call it on + all removed but not split parameters. + (ipa_param_body_adjustments::ipa_param_body_adjustments): Initialize + new mwmbers. + (ipa_param_body_adjustments::modify_call_stmt): Remove arguments that + are dead. + * tree-inline.c (remap_gimple_stmt): Do not copy dead statements, reset + dead debug statements. + (copy_phis_for_bb): Do not copy dead PHI nodes. + +2021-06-28 Martin Jambor <mjambor@suse.cz> + + PR ipa/93385 + * symtab-clones.h (clone_info): Removed member param_adjustments. + * ipa-param-manipulation.h: Adjust initial comment to reflect how we + deal with pass-through splits now. + (ipa_param_performed_split): Removed. + (ipa_param_adjustments::modify_call): Adjusted parameters. + (class ipa_param_body_adjustments): Adjusted parameters of + register_replacement, modify_gimple_stmt and modify_call_stmt. + (ipa_verify_edge_has_no_modifications): Declare. + (ipa_edge_modifications_finalize): Declare. + * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Remove + performed_splits processing, pas only edge to padjs->modify_call, + check that call arguments were not modified if they should not have + been. + * cgraphclones.c (cgraph_node::create_clone): Do not copy performed + splits. + * ipa-param-manipulation.c (struct pass_through_split_map): New type. + (ipa_edge_modification_info): Likewise. + (ipa_edge_modification_sum): Likewise. + (ipa_edge_modifications): New edge summary. + (ipa_verify_edge_has_no_modifications): New function. + (transitive_split_p): Removed. + (transitive_split_map): Likewise. + (init_transitive_splits): Likewise. + (ipa_param_adjustments::modify_call): Adjusted to use the new edge + summary instead of performed_splits. + (ipa_param_body_adjustments::register_replacement): Drop dummy + parameter, set base_index of the created ipa_param_body_replacement. + (phi_arg_will_live_p): New function. + (ipa_param_body_adjustments::common_initialization): Do not create + IPA_SRA dummy decls. + (simple_tree_swap_info): Removed. + (remap_split_decl_to_dummy): Likewise. + (record_argument_state_1): New function. + (record_argument_state): Likewise. + (ipa_param_body_adjustments::modify_call_stmt): New parameter + orig_stmt. Do not work with dummy decls, save necessary info about + changes to ipa_edge_modifications. + (ipa_param_body_adjustments::modify_gimple_stmt): New parameter + orig_stmt, pass it to modify_call_stmt. + (ipa_param_body_adjustments::modify_cfun_body): Adjust call to + modify_gimple_stmt. + (ipa_edge_modifications_finalize): New function. + * tree-inline.c (remap_gimple_stmt): Pass original statement to + modify_gimple_stmt. + (copy_phis_for_bb): Do not copy dead PHI nodes. + (expand_call_inline): Do not remap performed_splits. + (update_clone_info): Likewise. + * toplev.c: Include ipa-param-manipulation.h. + (toplev::finalize): Call ipa_edge_modifications_finalize. + +2021-06-28 Andrew Pinski <apinski@marvell.com> + + * tree-ssa-phiopt.c (replace_phi_edge_with_variable): Duplicate range + info if we're the only things setting the target PHI. + (value_replacement): Don't duplicate range here. + (minmax_replacement): Likewise. + +2021-06-28 Richard Biener <rguenther@suse.de> + + PR tree-optimization/101229 + * gimple-walk.c (gimple_walk_op): Handle PHIs. + +2021-06-28 Martin Liska <mliska@suse.cz> + + * config/v850/v850.c (construct_dispose_instruction): Allocate + a bigger buffer. + (construct_prepare_instruction): Likewise. + +2021-06-28 Martin Liska <mliska@suse.cz> + + * config/v850/v850.c (v850_option_override): Build default + target node. + (v850_can_inline_p): New. Allow MASK_PROLOG_FUNCTION to be + ignored for inlining. + (TARGET_CAN_INLINE_P): New. + +2021-06-28 Richard Biener <rguenther@suse.de> + + PR tree-optimization/101207 + * tree-vect-slp.c (vect_optimize_slp): Do BB reduction + permute eliding for load permutations properly. + +2021-06-28 Richard Biener <rguenther@suse.de> + + PR tree-optimization/101173 + * gimple-loop-interchange.cc + (tree_loop_interchange::valid_data_dependences): Disallow outer + loop dependence distance of zero. + +2021-06-28 liuhongt <hongtao.liu@intel.com> + + PR target/100648 + * config/i386/sse.md (*avx_cmp<mode>3_lt): New + define_insn_and_split. + (*avx_cmp<mode>3_ltint): Ditto. + (*avx2_pcmp<mode>3_3): Ditto. + (*avx2_pcmp<mode>3_4): Ditto. + (*avx2_pcmp<mode>3_5): Ditto. + +2021-06-28 liuhongt <hongtao.liu@intel.com> + + * config/i386/i386-builtin.def (IX86_BUILTIN_BLENDVPD256, + IX86_BUILTIN_BLENDVPS256, IX86_BUILTIN_PBLENDVB256, + IX86_BUILTIN_BLENDVPD, IX86_BUILTIN_BLENDVPS, + IX86_BUILTIN_PBLENDVB128): Replace icode with + CODE_FOR_nothing. + * config/i386/i386.c (ix86_gimple_fold_builtin): Fold blendv + builtins. + * config/i386/sse.md (*<sse4_1_avx2>_pblendvb_lt_subreg_not): + New pre_reload splitter. + 2021-06-27 Andrew Pinski <apinski@marvell.com> PR middle-end/101230 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 47b060d5..f814e09 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210628 +20210629 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 11001cd..0841a93 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,10 @@ +2021-06-28 Martin Sebor <msebor@redhat.com> + + * gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu): + Replace TREE_NO_WARNING with suppress_warning. + (gnat_gimplify_expr): Same. + * gcc-interface/utils.c (gnat_pushdecl): Same. + 2021-06-21 Gary Dismukes <dismukes@adacore.com> * checks.adb (Selected_Range_Checks): In the case of a diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 3630b2e..cc0eb11 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,15 @@ +2021-06-28 David Malcolm <dmalcolm@redhat.com> + + * analyzer.h (byte_offset_t): New typedef. + * store.cc (bit_range::dump_to_pp): Dump as a byte range if + possible. + (bit_range::as_byte_range): New. + (byte_range::dump_to_pp): New. + * store.h (class byte_range): New forward decl. + (struct bit_range): Add comment. + (bit_range::as_byte_range): New decl. + (struct byte_range): New. + 2021-06-22 David Malcolm <dmalcolm@redhat.com> PR analyzer/101143 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index aded48c..f9c97b0 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,20 @@ +2021-06-28 Martin Sebor <msebor@redhat.com> + + * trans-array.c (trans_array_constructor): Replace direct uses + of TREE_NO_WARNING with warning_suppressed_p, and suppress_warning. + * trans-decl.c (gfc_build_qualified_array): Same. + (gfc_build_dummy_array_decl): Same. + (generate_local_decl): Same. + (gfc_generate_function_code): Same. + * trans-openmp.c (gfc_omp_clause_default_ctor): Same. + (gfc_omp_clause_copy_ctor): Same. + * trans-types.c (get_dtype_type_node): Same. + (gfc_get_desc_dim_type): Same. + (gfc_get_array_descriptor_base): Same. + (gfc_get_caf_vector_type): Same. + (gfc_get_caf_reference_type): Same. + * trans.c (gfc_create_var_np): Same. + 2021-06-23 Tobias Burnus <tobias@codesourcery.com> * dump-parse-tree.c (show_omp_clauses): Fix enum type used diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 2c8acae..bb84045 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,14 @@ +2021-06-28 Martin Sebor <msebor@redhat.com> + + * objc-act.c (objc_maybe_build_modify_expr): Replace direct uses + of TREE_NO_WARNING with warning_suppressed_p, and suppress_warning. + (objc_build_incr_expr_for_property_ref): Same. + (objc_build_struct): Same. + (synth_module_prologue): Same. + * objc-gnu-runtime-abi-01.c (gnu_runtime_01_initialize): Same. + * objc-next-runtime-abi-01.c (next_runtime_01_initialize): Same. + * objc-next-runtime-abi-02.c (next_runtime_02_initialize): Same. + 2021-06-08 Bernd Edlinger <bernd.edlinger@hotmail.de> * Make-lang.in (cc1-obj-checksum.c): Check previous diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 241fec5..a80c438 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,150 @@ +2021-06-28 Martin Sebor <msebor@redhat.com> + + * g++.dg/uninit-pr74762.C: New test. + * g++.dg/warn/uninit-pr74765.C: Same. + +2021-06-28 Indu Bhagat <indu.bhagat@oracle.com> + David Faust <david.faust@oracle.com> + + * lib/gcc-dg.exp (gcc-dg-frontend-supports-ctf): New procedure. + (gcc-dg-debug-runtest): Add -gctf support. + * gcc.dg/debug/btf/btf-1.c: New test. + * gcc.dg/debug/btf/btf-2.c: Likewise. + * gcc.dg/debug/btf/btf-anonymous-struct-1.c: Likewise. + * gcc.dg/debug/btf/btf-anonymous-union-1.c: Likewise. + * gcc.dg/debug/btf/btf-array-1.c: Likewise. + * gcc.dg/debug/btf/btf-bitfields-1.c: Likewise. + * gcc.dg/debug/btf/btf-bitfields-2.c: Likewise. + * gcc.dg/debug/btf/btf-bitfields-3.c: Likewise. + * gcc.dg/debug/btf/btf-cvr-quals-1.c: Likewise. + * gcc.dg/debug/btf/btf-enum-1.c: Likewise. + * gcc.dg/debug/btf/btf-forward-1.c: Likewise. + * gcc.dg/debug/btf/btf-function-1.c: Likewise. + * gcc.dg/debug/btf/btf-function-2.c: Likewise. + * gcc.dg/debug/btf/btf-int-1.c: Likewise. + * gcc.dg/debug/btf/btf-pointers-1.c: Likewise. + * gcc.dg/debug/btf/btf-struct-1.c: Likewise. + * gcc.dg/debug/btf/btf-typedef-1.c: Likewise. + * gcc.dg/debug/btf/btf-union-1.c: Likewise. + * gcc.dg/debug/btf/btf-variables-1.c: Likewise. + * gcc.dg/debug/btf/btf.exp: Likewise. + * gcc.dg/debug/ctf/ctf-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-anonymous-struct-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-anonymous-union-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-array-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-array-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-array-3.c: Likewise. + * gcc.dg/debug/ctf/ctf-array-4.c: Likewise. + * gcc.dg/debug/ctf/ctf-attr-mode-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-attr-used-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-bitfields-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-bitfields-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-bitfields-3.c: Likewise. + * gcc.dg/debug/ctf/ctf-bitfields-4.c: Likewise. + * gcc.dg/debug/ctf/ctf-complex-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-cvr-quals-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-cvr-quals-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-cvr-quals-3.c: Likewise. + * gcc.dg/debug/ctf/ctf-cvr-quals-4.c: Likewise. + * gcc.dg/debug/ctf/ctf-enum-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-enum-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-file-scope-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-float-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-forward-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-forward-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-func-index-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-function-pointers-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-function-pointers-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-function-pointers-3.c: Likewise. + * gcc.dg/debug/ctf/ctf-functions-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-int-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-objt-index-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-pointers-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-pointers-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-preamble-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-skip-types-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-skip-types-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-skip-types-3.c: Likewise. + * gcc.dg/debug/ctf/ctf-skip-types-4.c: Likewise. + * gcc.dg/debug/ctf/ctf-skip-types-5.c: Likewise. + * gcc.dg/debug/ctf/ctf-skip-types-6.c: Likewise. + * gcc.dg/debug/ctf/ctf-str-table-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-struct-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-struct-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-struct-array-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-struct-pointer-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-struct-pointer-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-typedef-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-typedef-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-typedef-3.c: Likewise. + * gcc.dg/debug/ctf/ctf-typedef-struct-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-typedef-struct-2.c: Likewise. + * gcc.dg/debug/ctf/ctf-typedef-struct-3.c: Likewise. + * gcc.dg/debug/ctf/ctf-union-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-variables-1.c: Likewise. + * gcc.dg/debug/ctf/ctf-variables-2.c: Likewise. + * gcc.dg/debug/ctf/ctf.exp: Likewise. + * gcc.dg/debug/btf/btf-bitfields-4.c: New file. + * gcc.dg/debug/btf/btf-datasec-1.c: New file. + * gcc.dg/debug/btf/btf-function-3.c: New file. + * gcc.dg/debug/btf/btf-pointers-2.c: New file. + * gcc.dg/debug/btf/btf-struct-2.c: New file. + * gcc.dg/debug/btf/btf-variables-2.c: New file. + * gcc.dg/debug/btf/btf-variables-3.c: New file. + * gcc.dg/debug/ctf/ctf-debug-1.c: New file. + * gcc.dg/debug/ctf/ctf-debug-2.c: New file. + * gcc.dg/debug/ctf/ctf-function-pointers-4.c: New file. + * gcc.dg/debug/ctf/ctf-skip-types-7.c: New file. + * gcc.dg/debug/ctf/ctf-skip-types-8.c: New file. + * gcc.dg/debug/ctf/ctf-struct-array-2.c: New file. + +2021-06-28 Indu Bhagat <indu.bhagat@oracle.com> + + * lib/gcc-dg.exp (gcc-dg-target-supports-debug-format): New procedure. + +2021-06-28 Martin Jambor <mjambor@suse.cz> + + PR ipa/93385 + * gcc.dg/ipa/pr93385.c: New test. + * gcc.dg/ipa/ipa-sra-23.c: Likewise. + * gcc.dg/ipa/ipa-sra-24.c: Likewise. + * g++.dg/ipa/ipa-sra-4.C: Likewise. + +2021-06-28 Richard Biener <rguenther@suse.de> + + PR tree-optimization/101229 + * gcc.dg/torture/pr101229.c: New testcase. + +2021-06-28 Richard Biener <rguenther@suse.de> + + PR tree-optimization/101207 + * gcc.dg/vect/bb-slp-pr101207.c: New testcase. + +2021-06-28 Richard Biener <rguenther@suse.de> + + PR tree-optimization/101173 + * gcc.dg/torture/pr101173.c: New testcase. + +2021-06-28 liuhongt <hongtao.liu@intel.com> + + PR target/100648 + * g++.target/i386/avx2-pr54700-2.C: Adjust testcase. + * g++.target/i386/avx512vl-pr54700-1a.C: New test. + * g++.target/i386/avx512vl-pr54700-1b.C: New test. + * g++.target/i386/avx512vl-pr54700-2a.C: New test. + * g++.target/i386/avx512vl-pr54700-2b.C: New test. + * gcc.target/i386/avx512vl-pr100648.c: New test. + * gcc.target/i386/avx512vl-blendv-1.c: New test. + * gcc.target/i386/avx512vl-blendv-2.c: New test. + +2021-06-28 liuhongt <hongtao.liu@intel.com> + + * gcc.target/i386/funcspec-8.c: Replace + __builtin_ia32_blendvpd with __builtin_ia32_roundps_az. + * gcc.target/i386/blendv-1.c: New test. + * gcc.target/i386/blendv-2.c: New test. + 2021-06-27 Andrew Pinski <apinski@marvell.com> * gcc.dg/torture/pr101230-1.c: New test. |