https://gcc.gnu.org/g:0454eec362dd9b62ed1fe1df02590bd60af75ed9
commit r14-9740-g0454eec362dd9b62ed1fe1df02590bd60af75ed9 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Tue Apr 2 00:17:27 2024 +0000 Daily bump. Diff: --- gcc/ChangeLog | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 5 +++++ gcc/m2/ChangeLog | 44 +++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 35 ++++++++++++++++++++++++++++++++++ 5 files changed, 135 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63330b2ff9f..bc10edf3258 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,53 @@ +2024-04-01 Yang Yujie <yangyu...@loongson.cn> + + * config/loongarch/genopts/loongarch.opt.in: Mark -m[no-]recip as + aliases to -mrecip={all,none}, respectively. + * config/loongarch/loongarch.opt: Regenerate. + * config/loongarch/loongarch-def.h (ABI_FPU_64): Rename to... + (ABI_FPU64_P): ...this. + (ABI_FPU_32): Rename to... + (ABI_FPU32_P): ...this. + (ABI_FPU_NONE): Rename to... + (ABI_NOFPU_P): ...this. + (ABI_LP64_P): Define. + * config/loongarch/loongarch.cc (loongarch_init_print_operand_punct): + Merged into loongarch_global_init. + (loongarch_cpu_option_override): Renamed to + loongarch_target_option_override. + (loongarch_option_override_internal): Move the work after + loongarch_config_target into loongarch_target_option_override. + (loongarch_global_init): Define. + (INIT_TARGET_FLAG): Move to loongarch-opts.cc. + (loongarch_option_override): Call loongarch_global_init + separately. + * config/loongarch/loongarch-opts.cc (loongarch_parse_mrecip_scheme): + Split the parsing of -mrecip=<string> from + loongarch_option_override_internal. + (loongarch_generate_mrecip_scheme): Define. Split from + loongarch_option_override_internal. + (loongarch_target_option_override): Define. Renamed from + loongarch_cpu_option_override. + (loongarch_init_misc_options): Define. Split from + loongarch_option_override_internal. + (INIT_TARGET_FLAG): Move from loongarch.cc. + * config/loongarch/loongarch-opts.h (loongarch_target_option_override): + New prototype. + (loongarch_parse_mrecip_scheme): New prototype. + (loongarch_init_misc_options): New prototype. + (TARGET_ABI_LP64): Simplify with ABI_LP64_P. + * config/loongarch/loongarch.h (TARGET_RECIP_DIV): Simplify. + Do not reference specific CPU architecture (LA664). + (TARGET_RECIP_SQRT): Same. + (TARGET_RECIP_RSQRT): Same. + (TARGET_RECIP_VEC_DIV): Same. + (TARGET_RECIP_VEC_SQRT): Same. + (TARGET_RECIP_VEC_RSQRT): Same. + +2024-04-01 Lulu Cheng <chengl...@loongson.cn> + + * doc/invoke.texi: Add descriptions for the compilation + options. + 2024-03-31 Jeff Law <j...@ventanamicro.com> * config/riscv/xiangshan.md (xiangshan_jump): Add branch, jalr, ret diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6a6c7bc8980..2edad605e1d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240401 +20240402 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 55e55268b5a..b64f127aad6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2024-04-01 Jason Merrill <ja...@redhat.com> + + * typeck.cc (maybe_warn_about_returning_address_of_local): + Permerror in C++26. + 2024-03-28 Jason Merrill <ja...@redhat.com> PR c++/100667 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index eec43264341..1c5fc2e71be 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,47 @@ +2024-04-01 Gaius Mulley <gaiusm...@gmail.com> + + PR modula2/114548 + * gm2-compiler/M2Quads.mod (ConvertToAddress): Pass + procedure, false parameters to BuildConvertFunction. + (PushOne): Pass procedure, true parameters to + BuildConvertFunction. + Remove usused parameter internal. + (BuildPseudoBy): Remove parameter to PushOne. + (BuildIncProcedure): Ditto. + (BuildDecProcedure): Ditto. + (BuildFunctionCall): Add ConstExpr parameter to + BuildPseudoFunctionCall. + (BuildConstFunctionCall): Add procedure and true to + BuildConvertFunction. + (BuildPseudoFunctionCall): Add ConstExpr parameter. + Pass ProcSym and ConstExpr to BuildLengthFunction, + BuildConvertFunction, BuildOddFunction, BuildAbsFunction, + BuildCapFunction, BuildValFunction, BuildChrFunction, + BuildOrdFunction, BuildIntFunction, BuildTruncFunction, + BuildFloatFunction, BuildAddAdrFunction, BuildSubAdrFunction, + BuildDifAdrFunction, BuildCastFunction, BuildReFunction, + BuildImFunction and BuildCmplxFunction. + (BuildAddAdrFunction): Add ProcSym, ConstExpr parameters and + check for constant parameters. + (BuildSubAdrFunction): Ditto. + (BuildDifAdrFunction): Ditto. + (ConstExprError): Ditto. + (BuildLengthFunction): Ditto. + (BuildOddFunction): Ditto. + (BuildAbsFunction): Ditto. + (BuildCapFunction): Ditto. + (BuildChrFunction): Ditto. + (BuildOrdFunction): Ditto. + (BuildIntFunction): Ditto. + (BuildValFunction): Ditto. + (BuildCastFunction): Ditto. + (BuildConvertFunction): Ditto. + (BuildTruncFunction): Ditto. + (BuildFloatFunction): Ditto. + (BuildReFunction): Ditto. + (BuildImFunction): Ditto. + (BuildCmplxFunction): Ditto. + 2024-03-31 Christophe Lyon <christophe.l...@linaro.org> * Make-lang.in (m2.install-info): Fix rule. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a3797468bfb..b87da1dcc00 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,38 @@ +2024-04-01 Gaius Mulley <gaiusm...@gmail.com> + + PR modula2/114548 + * gm2/iso/const/fail/expression.mod: New test. + * gm2/iso/const/fail/iso-const-fail.exp: New test. + * gm2/iso/const/fail/testabs.mod: New test. + * gm2/iso/const/fail/testaddadr.mod: New test. + * gm2/iso/const/fail/testcap.mod: New test. + * gm2/iso/const/fail/testcap2.mod: New test. + * gm2/iso/const/fail/testchr.mod: New test. + * gm2/iso/const/fail/testchr2.mod: New test. + * gm2/iso/const/fail/testcmplx.mod: New test. + * gm2/iso/const/fail/testfloat.mod: New test. + * gm2/iso/const/fail/testim.mod: New test. + * gm2/iso/const/fail/testint.mod: New test. + * gm2/iso/const/fail/testlength.mod: New test. + * gm2/iso/const/fail/testodd.mod: New test. + * gm2/iso/const/fail/testord.mod: New test. + * gm2/iso/const/fail/testre.mod: New test. + * gm2/iso/const/fail/testtrunc.mod: New test. + * gm2/iso/const/fail/testval.mod: New test. + * gm2/iso/const/pass/constbool.mod: New test. + * gm2/iso/const/pass/constbool2.mod: New test. + * gm2/iso/const/pass/constbool3.mod: New test. + +2024-04-01 Jason Merrill <ja...@redhat.com> + + * g++.dg/conversion/pr16333.C: Change dg-warning to dg-message. + * g++.dg/cpp0x/constexpr-48324.C + * g++.dg/other/pr94326.C + * g++.dg/warn/Wreturn-local-addr-2.C + * g++.old-deja/g++.jason/warning8.C: Likewise. + * g++.dg/cpp1y/auto-fn6.C: Check that others don't complain. + * g++.dg/warn/Wreturn-local-addr-5.C: Expect error in C++26. + 2024-03-31 Pan Li <pan2...@intel.com> * gcc.target/riscv/rvv/base/target_attribute_v_with_intrinsic-7.c: