diff --git a/ChangeLog b/ChangeLog index 58c7a0a0d7a..929fecc0cf9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2024-04-16 Thomas Schwinge + + * configure.ac (have_cargo): Force to "no" in Canadian cross + configurations + * configure: Regenerate. + +2024-04-16 Thomas Schwinge + + * configure: Regenerate. + 2024-04-15 Pierre-Emmanuel Patry * configure: Regenerate. diff --git a/config/ChangeLog b/config/ChangeLog index 40c5c39a805..31a81461b49 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2024-04-16 Thomas Schwinge + + * acx.m4 (ACX_PROG_CARGO): Use 'AC_CHECK_PROGS'. + 2024-04-15 Pierre-Emmanuel Patry * acx.m4: Add a macro to check for rust diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4439423e4a..76ebf091fa4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,58 @@ +2024-04-16 Andrew Pinski + + PR c/92880 + * doc/extend.texi (Using Vector Instructions): Add that + the base_types could be a typedef of them. + +2024-04-16 Richard Biener + + PR tree-optimization/114736 + * tree-vect-slp.cc (vect_optimize_slp_pass::is_cfg_latch_edge): + Do not consider VEC_PERM_EXPRs as PHI use. + +2024-04-16 Richard Biener + + PR tree-optimization/114733 + * tree-vect-loop.cc (vectorizable_nonlinear_induction): Reject + neg induction vectorization of single element vectors. + +2024-04-16 Jakub Jelinek + + * tree.cc (array_type_nelts): Ensure 2 spaces after . in comment + instead of just one. + (build_variant_type_copy): Likewise. + (tree_check_failed): Likewise. + (build_atomic_base): Likewise. + * ipa-free-lang-data.cc (fld_incomplete_type_of): Use an indefinite + article rather than a. + +2024-04-16 Fei Gao + + * config/riscv/riscv.cc (riscv_expand_conditional_move): + replace or with add when expanding zicond if possible. + +2024-04-16 Alexandre Oliva + + PR middle-end/112938 + * ipa-strub.cc (pass_ipa_strub::execute): Drop volatility from + indirected parm. + (maybe_make_indirect): Restore volatility in dereferences. + +2024-04-16 Lulu Cheng + + * config/loongarch/loongarch.opt.urls: Regenerate. + * config/mn10300/mn10300.opt.urls: Likewise. + * config/msp430/msp430.opt.urls: Likewise. + * config/nds32/nds32-elf.opt.urls: Likewise. + * config/nds32/nds32-linux.opt.urls: Likewise. + * config/nds32/nds32.opt.urls: Likewise. + * config/pru/pru.opt.urls: Likewise. + * config/riscv/riscv.opt.urls: Likewise. + * config/rx/rx.opt.urls: Likewise. + * config/sh/sh.opt.urls: Likewise. + * config/sparc/sparc.opt.urls: Likewise. + * doc/invoke.texi: Add indexes for some compilation options. + 2024-04-15 Georg-Johann Lay * config/avr/avr-mcus.def: Add: avr16du14, avr16du20, avr16du28, diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 3524543c892..02796385530 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240416 +20240417 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 74c457d8f58..5ba3f1c242e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2024-04-16 Jakub Jelinek + + PR c++/114706 + * constexpr.cc (check_bit_cast_type): Handle ARRAY_TYPE. + 2024-04-15 Nathaniel Shead Patrick Palka diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a270aea0c56..b0b066852df 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,12 @@ +2024-04-16 Harald Anlauf + + PR fortran/113793 + * resolve.cc (resolve_allocate_expr): Reject ALLOCATE with SOURCE= + or MOLD= specifier for unequal length. + * trans-stmt.cc (gfc_trans_allocate): If an allocatable character + variable has fixed length, use it and do not use the source length. + With bounds-checking enabled, add a runtime check for same length. + 2024-04-10 Harald Anlauf PR fortran/106500 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 3d185fe2e59..2b0ad183398 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,100 @@ +2024-04-16 Gaius Mulley + + PR modula2/114745 + * gm2-compiler/M2Code.mod (DumpLangDecl): Replace with ... + (GetDumpDecl): ... this. + (DumpLangGimple): Replace with ... + (GetDumpGimple): ... this. + * gm2-compiler/M2GenGCC.mod: + * gm2-compiler/M2LangDump.mod (GetDumpLangQuadFilename): Replace with ... + (GetDumpQuadFilename): ... this. + (GetDumpLangDeclFilename): Replace with ... + (GetDumpDeclFilename): ... this. + (GetDumpLangGimpleFilename): Replace with ... + (GetDumpGimpleFilename): ... this. + * gm2-compiler/M2Options.def (GetDumpLangDeclFilename): New + procedure function. + (GetDumpDeclFilename): Ditto. + (SetDumpLangDeclFilename): New procedure. + (SetDumpDeclFilename): Ditto. + (GetDumpLangQuadFilename): New procedure function. + (GetDumpQuadFilename): Ditto + (SetDumpLangQuadFilename): New procedure. + (SetDumpQuadFilename): Ditto. + (GetDumpLangGimpleFilename): New procedure function. + (GetDumpGimpleFilename): Ditto. + (SetDumpLangGimpleFilename): New procedure. + (SetDumpGimpleFilename): Ditto. + (GetDumpLangGimple): New procedure function. + (SetM2Dump): New procedure. + (GetDumpGimple): New procedure function. + (GetDumpQuad): Ditto. + (GetDumpDecl): Ditto. + * gm2-compiler/M2Options.mod (DumpLangDeclFilename): Remove. + (DumpLangQuadFilename): Ditto. + (DumpLangGimpleFilename): Ditto. + (DumpDeclFilename): New variable. + (DumpQuadFilename): Ditto. + (DumpGimpleFilename): Ditto. + (DebugTraceTree): New variable. + (SetQuadDebugging): Rewrite. + (GetDumpLangDeclFilename): Replace with ... + (GetDumpDeclFilename): ... this. + (SetDumpLangQuadFilename): Replace with ... + (SetDumpQuadFilename): ... this. + (GetDumpLangGimpleFilename): Replace with ... + (GetDumpGimpleFilename): ... this. + (SetDumpLangGimpleFilename): Replace with ... + (SetDumpGimpleFilename): ... this. + (GetDumpLangGimple): Remove. + (MatchDump): New procedure function. + (SetM2Dump): New procedure. + (GetDumpGimple): New procedure function. + (GetDumpQuad): Ditto. + (GetDumpDecl): Ditto. + (GetDumpLangGimple): Ditto. + * gm2-compiler/M2Quads.mod (BreakAtQuad): Assigned to 140. + (BuildTypeCoercion): Add ConstExpr parameter. + Check for const parameter in a const expression. + Create a constant temporary if in a const expression. + (BuildCastFunction): Pass ConstExpr to BuildTypeCoercion. + (BuildFunctionCall): Pass ConstExpr to BuildTypeCoercion. + * gm2-compiler/PCSymBuild.mod (buildConstFunction): Test for Cast + and call InitConvert. + (ErrorConstFunction): Add CAST to the error message. + * gm2-compiler/SymbolTable.mod (GetConstStringContent): Remove + unused procedure. + * gm2-gcc/m2decl.cc (m2decl_DeclareKnownConstant): Copy value + and change type of value. + * gm2-gcc/m2options.h (M2Options_GetDumpLangDeclFilename): Remove. + (M2Options_SetDumpLangDeclFilename): Ditto. + (M2Options_GetDumpLangQuadFilename): Ditto. + (M2Options_SetDumpLangQuadFilename): Ditto. + (M2Options_GetDumpLangGimpleFilename): Ditto. + (M2Options_SetDumpLangGimpleFilename): Ditto. + (M2Options_GetDumpLangGimple): Ditto. + (M2Options_GetDumpDeclFilename): New function. + (M2Options_SetDumpDeclFilename): Ditto. + (M2Options_GetDumpQuadFilename): Ditto. + (M2Options_SetDumpQuadFilename): Ditto. + (M2Options_GetDumpGimpleFilename): Ditto. + (M2Options_SetDumpGimpleFilename): Ditto. + (M2Options_SetM2Dump): Ditto. + (M2Options_GetDumpGimple): Ditto. + * gm2-gcc/m2pp.cc (GM2): New define. + (m2pp_type_lowlevel): Remove linefeed. + (m2pp_identifier): Add type description for const. + (m2pp_assignment): Display lhs/rhs types. + (m2pp_dump_gimple): Replace GetDumpLangGimple with GetDumpGimple. + * gm2-lang.cc (ENABLE_QUAD_DUMP_ALL): Remove. + (ENABLE_M2DUMP_ALL): New define. + (gm2_langhook_handle_option): Remove commented options + OPT_fdump_lang_all, OPT_fdump_lang_decl_, OPT_fdump_lang_gimple, + OPT_fdump_lang_gimple_, OPT_fdump_lang_quad and + OPT_fdump_lang_quad_. + Add commented options OPT_fm2_dump_, OPT_fm2_dump_decl_, + OPT_fm2_dump_gimple_ and OPT_fm2_dump_quad_. + 2024-04-09 Gaius Mulley * tools-src/makeSystem: Invoke ${COMPILER} once and adjust diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b98588c16a..2442b0ce417 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,46 @@ +2024-04-16 Gaius Mulley + + PR modula2/114745 + * gm2/iso/const/pass/constcast.mod: New test. + * gm2/iso/const/pass/constodd.mod: New test. + * gm2/pim/pass/tinyindr.mod: New test. + +2024-04-16 Tamar Christina + + PR tree-optimization/114403 + * gcc.dg/vect/vect-early-break_124-pr114403.c: Fix check loop. + +2024-04-16 Harald Anlauf + + PR fortran/113793 + * gfortran.dg/allocate_with_source_29.f90: New test. + * gfortran.dg/allocate_with_source_30.f90: New test. + * gfortran.dg/allocate_with_source_31.f90: New test. + +2024-04-16 Richard Biener + + PR tree-optimization/114736 + * gfortran.dg/vect/pr114736.f90: New testcase. + +2024-04-16 Richard Biener + + PR tree-optimization/114733 + * gcc.dg/vect/pr114733.c: New testcase. + +2024-04-16 Jakub Jelinek + + PR c++/114706 + * g++.dg/cpp2a/bit-cast17.C: New test. + +2024-04-16 Fei Gao + + * gcc.target/riscv/zicond-prefer-add-to-or.c: New test. + +2024-04-16 Alexandre Oliva + + PR middle-end/112938 + * g++.dg/strub-internal-pr112938.cc: New. + 2024-04-15 Jørgen Kvalsvik PR gcov-profile/114720 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 9184cfc34ca..337a16bf098 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,21 @@ +2024-04-16 Chung-Lin Tang + + * libgomp.h (REFCOUNT_ACC_MAP_DATA): Define as (REFCOUNT_SPECIAL | 2). + * oacc-mem.c (acc_map_data): Adjust to use REFCOUNT_ACC_MAP_DATA, + initialize dynamic_refcount as 1. + (acc_unmap_data): Adjust to use REFCOUNT_ACC_MAP_DATA, + (goacc_map_var_existing): Add REFCOUNT_ACC_MAP_DATA case. + (goacc_exit_datum_1): Add REFCOUNT_ACC_MAP_DATA case, respect + REFCOUNT_ACC_MAP_DATA when decrementing/finalizing. Force lowest + dynamic_refcount to be 1 for REFCOUNT_ACC_MAP_DATA. + (goacc_enter_data_internal): Add REFCOUNT_ACC_MAP_DATA case. + * target.c (gomp_increment_refcount): Return early for + REFCOUNT_ACC_MAP_DATA case. + (gomp_decrement_refcount): Likewise. + * testsuite/libgomp.oacc-c-c++-common/lib-96.c: New testcase. + * testsuite/libgomp.oacc-c-c++-common/unmap-infinity-1.c: Adjust + testcase error output scan test. + 2024-04-08 Thomas Schwinge * plugin/plugin-gcn.c (init_hsa_context): Add and handle diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b208d50d0dc..0e456421a35 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2024-04-16 Jonathan Wakely + + * config/locale/dragonfly/numeric_members.cc: Fix typos in + comments. + * config/locale/gnu/numeric_members.cc: Likewise. + 2024-04-15 Jonathan Wakely * doc/xml/manual/abi.xml: Replace "" with "14.1.0".