From 607f278a3546fe6b91a881318db85d7a0dfdacd9 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Tue, 24 Jan 2023 00:17:23 +0000 Subject: Daily bump. --- gcc/ChangeLog | 210 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 32 ++++++++ gcc/fortran/ChangeLog | 19 +++++ gcc/m2/ChangeLog | 39 +++++++++ gcc/testsuite/ChangeLog | 120 +++++++++++++++++++++++++++ 6 files changed, 421 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5ac20c5..c5d6570 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,213 @@ +2023-01-23 Srinath Parvathaneni + + * doc/invoke.texi (-mbranch-protection): Update documentation. + +2023-01-23 Richard Biener + + PR target/55522 + * config/sparc/freebsd.h (ENDFILE_SPEC): Don't add crtfastmath.o + for -shared. + * config/sparc/linux.h (ENDFILE_SPEC): Likewise. + * config/sparc/linux64.h (ENDFILE_SPEC): Likewise. + * config/sparc/sp-elf.h (ENDFILE_SPEC): Likewise. + * config/sparc/sp64-elf.h (ENDFILE_SPEC): Likewise. + +2023-01-23 Srinath Parvathaneni + + * config/arm/aout.h (ra_auth_code): Add entry in enum. + * config/arm/arm.cc (emit_multi_reg_push): Add RA_AUTH_CODE register + to dwarf frame expression. + (arm_emit_multi_reg_pop): Restore RA_AUTH_CODE register. + (arm_expand_prologue): Update frame related information and reg notes + for pac/pacbit insn. + (arm_regno_class): Check for pac pseudo reigster. + (arm_dbx_register_number): Assign ra_auth_code register number in dwarf. + (arm_init_machine_status): Set pacspval_needed to zero. + (arm_debugger_regno): Check for PAC register. + (arm_unwind_emit_sequence): Print .save directive with ra_auth_code + register. + (arm_unwind_emit_set): Add entry for IP_REGNUM in switch case. + (arm_unwind_emit): Update REG_CFA_REGISTER case._ + * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Modify. + (DWARF_PAC_REGNUM): Define. + (IS_PAC_REGNUM): Likewise. + (enum reg_class): Add PAC_REG entry. + (machine_function): Add pacbti_needed state to structure. + * config/arm/arm.md (RA_AUTH_CODE): Define. + +2023-01-23 Srinath Parvathaneni + + * config.gcc ($tm_file): Update variable. + * config/arm/arm-mlib.h: Create new header file. + * config/arm/t-rmprofile (MULTI_ARCH_DIRS_RM): Rename mbranch-protection + multilib arch directory. + (MULTILIB_REUSE): Add multilib reuse rules. + (MULTILIB_MATCHES): Add multilib match rules. + +2023-01-23 Srinath Parvathaneni + + * config/arm/arm-cpus.in (cortex-m85): Define new CPU. + * config/arm/arm-tables.opt: Regenerate. + * config/arm/arm-tune.md: Likewise. + * doc/invoke.texi (Arm Options): Document -mcpu=cortex-m85. + * (-mfix-cmse-cve-2021-35465): Likewise. + +2023-01-23 Richard Biener + + PR tree-optimization/108482 + * tree-vect-generic.cc (expand_vector_operations): Fold remaining + .LOOP_DIST_ALIAS calls. + +2023-01-23 Andrea Corallo + + * config.gcc (arm*-*-*): Add 'aarch-bti-insert.o' object. + * config/arm/arm-protos.h: Update. + * config/arm/aarch-common-protos.h: Declare + 'aarch_bti_arch_check'. + * config/arm/arm.cc (aarch_bti_enabled) Update. + (aarch_bti_j_insn_p, aarch_pac_insn_p, aarch_gen_bti_c) + (aarch_gen_bti_j, aarch_bti_arch_check): New functions. + * config/arm/arm.md (bti_nop): New insn. + * config/arm/t-arm (PASSES_EXTRA): Add 'arm-passes.def'. + (aarch-bti-insert.o): New target. + * config/arm/unspecs.md (VUNSPEC_BTI_NOP): New unspec. + * config/arm/aarch-bti-insert.cc (rest_of_insert_bti): Verify arch + compatibility. + (gate): Make use of 'aarch_bti_arch_check'. + * config/arm/arm-passes.def: New file. + * config/aarch64/aarch64.cc (aarch_bti_arch_check): New function. + +2023-01-23 Andrea Corallo + + * config.gcc (aarch64*-*-*): Rename 'aarch64-bti-insert.o' into + 'aarch-bti-insert.o'. + * config/aarch64/aarch64-protos.h: Remove 'aarch64_bti_enabled' + proto. + * config/aarch64/aarch64.cc (aarch_bti_enabled): Rename. + (aarch_bti_j_insn_p, aarch_pac_insn_p): New functions. + (aarch64_output_mi_thunk) + (aarch64_print_patchable_function_entry) + (aarch64_file_end_indicate_exec_stack): Update renamed function + calls to renamed functions. + * config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Likewise. + * config/aarch64/t-aarch64 (aarch-bti-insert.o): Update + target. + * config/aarch64/aarch64-bti-insert.cc: Delete. + * config/arm/aarch-bti-insert.cc: New file including and + generalizing code from aarch64-bti-insert.cc. + * config/arm/aarch-common-protos.h: Update. + +2023-01-23 Andrea Corallo + + * config/arm/arm.h (arm_arch8m_main): Declare it. + * config/arm/arm-protos.h (arm_current_function_pac_enabled_p): + Declare it. + * config/arm/arm.cc (arm_arch8m_main): Define it. + (arm_option_reconfigure_globals): Set arm_arch8m_main. + (arm_compute_frame_layout, arm_expand_prologue) + (thumb2_expand_return, arm_expand_epilogue) + (arm_conditional_register_usage): Update for pac codegen. + (arm_current_function_pac_enabled_p): New function. + (aarch_bti_enabled) New function. + (use_return_insn): Return zero when pac is enabled. + * config/arm/arm.md (pac_ip_lr_sp, pacbti_ip_lr_sp, aut_ip_lr_sp): + Add new patterns. + * config/arm/unspecs.md (UNSPEC_PAC_NOP) + (VUNSPEC_PACBTI_NOP, VUNSPEC_AUT_NOP): Add unspecs. + +2023-01-23 Andrea Corallo + + * config/arm/t-rmprofile: Add multilib rules for march +pacbti and + mbranch-protection. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * config/arm/arm.cc (arm_file_start): Emit EABI attributes for + Tag_PAC_extension, Tag_BTI_extension, TAG_BTI_use, TAG_PACRET_use. + +2023-01-23 Andrea Corallo + Tejas Belagod + Srinath Parvathaneni + + * ginclude/unwind-arm-common.h (_Unwind_VRS_RegClass): Introduce + new pseudo register class _UVRSC_PAC. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * config/arm/arm-c.cc (arm_cpu_builtins): Define + __ARM_FEATURE_BTI_DEFAULT, __ARM_FEATURE_PAC_DEFAULT, + __ARM_FEATURE_PAUTH and __ARM_FEATURE_BTI. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * doc/sourcebuild.texi: Document arm_pacbti_hw. + +2023-01-23 Andrea Corallo + Tejas Belagod + Richard Earnshaw + + * config/arm/arm.cc (arm_configure_build_target): Parse and validate + -mbranch-protection option and initialize appropriate data structures. + * config/arm/arm.opt (-mbranch-protection): New option. + * doc/invoke.texi (Arm Options): Document it. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * config/arm/arm.h (TARGET_HAVE_PACBTI): New macro. + * config/arm/arm-cpus.in (pacbti): New feature. + * doc/invoke.texi (Arm Options): Document it. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * common/config/aarch64/aarch64-common.cc: Include aarch-common.h. + (all_architectures): Fix comment. + (aarch64_parse_extension): Rename return type, enum value names. + * config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Rename + factored out aarch_ra_sign_scope and aarch_ra_sign_key variables. + Also rename corresponding enum values. + * config/aarch64/aarch64-opts.h (aarch64_function_type): Factor + out aarch64_function_type and move it to common code as + aarch_function_type in aarch-common.h. + * config/aarch64/aarch64-protos.h: Include common types header, + move out types aarch64_parse_opt_result and aarch64_key_type to + aarch-common.h + * config/aarch64/aarch64.cc: Move mbranch-protection parsing types + and functions out into aarch-common.h and aarch-common.cc. Fix up + all the name changes resulting from the move. + * config/aarch64/aarch64.md: Fix up aarch64_ra_sign_key type name change + and enum value. + * config/aarch64/aarch64.opt: Include aarch-common.h to import + type move. Fix up name changes from factoring out common code and + data. + * config/arm/aarch-common-protos.h: Export factored out routines to both + backends. + * config/arm/aarch-common.cc: Include newly factored out types. + Move all mbranch-protection code and data structures from + aarch64.cc. + * config/arm/aarch-common.h: New header that declares types shared + between aarch32 and aarch64 backends. + * config/arm/arm-protos.h: Declare types and variables that are + made common to aarch64 and aarch32 backends - aarch_ra_sign_key, + aarch_ra_sign_scope and aarch_enable_bti. + * config/arm/arm.opt (config/arm/aarch-common.h): Include header. + (aarch_ra_sign_scope, aarch_enable_bti): Declare variable. + * config/arm/arm.cc: Add missing includes. + +2023-01-23 Tobias Burnus + + * doc/install.texi (amdgcn, nvptx): Require newlib 4.3.0. + +2023-01-23 Richard Biener + + PR tree-optimization/108449 + * cgraphunit.cc (check_global_declaration): Do not turn + undefined statics into externs. + 2023-01-22 Dimitar Dimitrov * config/pru/pru.h (CLZ_DEFINED_VALUE_AT_ZERO): Fix value for QI diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 3426cc8..9ed1bcf 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230123 +20230124 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e377041..05d4252 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,35 @@ +2023-01-23 Jason Merrill + + PR c++/107267 + * cp-gimplify.cc (cp_gimplify_init_expr): Allow unexpected elision + of trivial types. + +2023-01-23 Marek Polacek + + PR c++/107797 + * cvt.cc (ocp_convert): copy_warning when creating a new + COMPOUND_EXPR. + * init.cc (build_new_1): Suppress -Wunused-value on + compiler-generated COMPOUND_EXPRs. + +2023-01-23 Jason Merrill + + PR c++/108195 + * call.cc (build_user_type_conversion_1): Check whether the + iterators also find a list ctor. + +2023-01-23 Jason Merrill + + PR c++/108496 + * decl.cc (grokdeclarator): Check whether DECL_RESULT is already + set. + +2023-01-23 Jason Merrill + + PR c++/53288 + DR 1299 + * call.cc (extend_ref_init_temps_1): Handle ptrmem expression. + 2023-01-19 Jakub Jelinek PR c++/108437 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e5b75ed..a2f8ec7 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,22 @@ +2023-01-23 Harald Anlauf + + PR fortran/108502 + * dependency.cc (gfc_check_dependency): Prevent NULL pointer + dereference while recursively checking expressions. + +2023-01-23 Harald Anlauf + + PR fortran/108501 + * interface.cc (get_expr_storage_size): Check array subscript triplets + that we actually have integer values before trying to extract with + mpz_get_si. + +2023-01-23 Harald Anlauf + + PR fortran/108420 + * iresolve.cc (check_charlen_present): Preserve character length if + there is no array constructor. + 2023-01-21 Jerry DeLisle PR fortran/102595 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 4880f9e..1fad9e1 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,42 @@ +2023-01-23 Iain Sandoe + + PR modula2/108182 + PR modula2/108480 + * Make-lang.in: Pass libsubdir to the language init + build. + * gm2-lang.cc (INCLUDE_VECTOR): Define. + (add_one_import_path): New. + (add_m2_import_paths): New. + (gm2_langhook_post_options): Arrange to add the include + paths (and add the system ones) in the same order as C + uses. + * gm2spec.cc (build_archive_path): Remove. + (add_default_combination): Remove. + (add_default_archives): Remove. + (add_default_libs): We no longer need a '-L' option, just + emit the -l and each library in use. + (build_include_path): Remove. + (add_include): Remove. + (add_default_includes): Remove. + (library_installed): Remove. + (check_valid_library): Remove. + (check_valid_list): Remove. + (convert_abbreviation): Diagnose unhandled cases. + (lang_specific_driver): Skip options where we will add back + a validated version. + * lang-specs.h (M2CPP): Reformat, append %I when -fcpp is not + in use. Revise the cc1gm2 spec to omit mentioning options that + are handled in the c pre-processor line. + * lang.opt: Allow preprocessing and path options as input to the + cc1gm2 invocation, so that they can be passed to the preprocessor + invocation. + +2023-01-23 Iain Sandoe + + PR modula2/108405 + * gm2-libs-iso/Preemptive.mod (initPreemptive): Use a value for + extra space that is divisible by common OS pagesizes. + 2023-01-20 Gaius Mulley * gm2-libs/Args.mod (GetArg): Check index before diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5bf9136..c9d2bc3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,123 @@ +2023-01-23 Jason Merrill + + PR c++/107267 + * g++.dg/cpp0x/move2.C: New test. + +2023-01-23 Harald Anlauf + + PR fortran/108502 + * gfortran.dg/pr108502.f90: New test. + +2023-01-23 Marek Polacek + + PR c++/107797 + * g++.dg/warn/Wunused-value-1.C: New test. + +2023-01-23 Jason Merrill + + PR c++/108195 + * g++.dg/cpp0x/initlist-vect2.C: New test. + +2023-01-23 Harald Anlauf + + PR fortran/108501 + * gfortran.dg/pr108501.f90: New test. + +2023-01-23 Harald Anlauf + + PR fortran/108420 + * gfortran.dg/pr108420.f90: New test. + +2023-01-23 Jason Merrill + + PR c++/108496 + * g++.dg/template/explicit-instantiation5.C: New test. + +2023-01-23 Srinath Parvathaneni + + * g++.target/arm/pac-1.C: New test. + * gcc.target/arm/pac-15.c: Likewise. + +2023-01-23 Srinath Parvathaneni + + * gcc.target/arm/multilib.exp (multilib_config "rmprofile"): Update + tests. + * gcc.target/arm/pac-12.c: New test. + * gcc.target/arm/pac-13.c: Likewise. + * gcc.target/arm/pac-14.c: Likewise. + +2023-01-23 Srinath Parvathaneni + + * gcc.target/arm/multilib.exp: Add tests for cortex-m85. + +2023-01-23 Richard Biener + + PR tree-optimization/108482 + * gcc.dg/torture/pr108482.c: New testcase. + +2023-01-23 Andrea Corallo + + * gcc.target/arm/bti-1.c: New testcase. + * gcc.target/arm/bti-2.c: Likewise. + +2023-01-23 Andrea Corallo + + * gcc.target/arm/pac.h : New file. + * gcc.target/arm/pac-1.c : New test case. + * gcc.target/arm/pac-2.c : Likewise. + * gcc.target/arm/pac-3.c : Likewise. + * gcc.target/arm/pac-4.c : Likewise. + * gcc.target/arm/pac-5.c : Likewise. + * gcc.target/arm/pac-6.c : Likewise. + * gcc.target/arm/pac-7.c : Likewise. + * gcc.target/arm/pac-8.c : Likewise. + * gcc.target/arm/pac-9.c : Likewise. + * gcc.target/arm/pac-10.c : Likewise. + * gcc.target/arm/pac-11.c : Likewise. + +2023-01-23 Andrea Corallo + + * gcc.target/arm/multilib.exp: Add pacbti related entries. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * gcc.target/arm/acle/pacbti-m-predef-1.c: New test. + * gcc.target/arm/acle/pacbti-m-predef-3.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-6.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-7.c: Likewise. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * lib/target-supports.exp + (check_effective_target_mbranch_protection_ok): New function. + * gcc.target/arm/acle/pacbti-m-predef-2.c: New test. + * gcc.target/arm/acle/pacbti-m-predef-4.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-5.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-8.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-9.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-10.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-11.c: Likewise. + * gcc.target/arm/acle/pacbti-m-predef-12.c: Likewise. + +2023-01-23 Andrea Corallo + Tejas Belagod + + * lib/target-supports.exp: + (check_effective_target_arm_pacbti_hw): New. + +2023-01-23 Richard Biener + + PR tree-optimization/108449 + * gcc.dg/pr108449.c: New testcase. + +2023-01-23 Jason Merrill + + PR c++/53288 + DR 1299 + * g++.dg/init/lifetime4.C: New test. + 2023-01-22 Iain Sandoe * gm2/case/pass/case-pass.exp: Update for removal of concatenated -- cgit v1.1