diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98ea9dee0d56191b46ccb27c19bb1352b1a8c255..09fcb06e4d171f4368832030f1170dfe299808e4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,78 @@ +2024-01-26 Hans-Peter Nilsson <hp@axis.com> + + * cgraphunit.cc (process_function_and_variable_attributes): Tweak + the warning for an attribute-always_inline without inline declaration. + +2024-01-26 Robin Dapp <rdapp@ventanamicro.com> + + PR other/113575 + * genopinit.cc (main): Split init_all_optabs into functions + of 1000 patterns each. + +2024-01-26 Tobias Burnus <tburnus@baylibre.com> + + * config.gcc (amdgcn-*-*): Add gfx1030 and gfx1100 to + TM_MULTILIB_CONFIG. + * doc/install.texi (Configuration amdgcn-*-*): Mention gfx1030/gfx1100. + * doc/invoke.texi (AMD GCN Options): Add gfx1030 and gfx1100 to + -march/-mtune. + +2024-01-26 Andrew Stubbs <ams@baylibre.com> + + * config/gcn/gcn-opts.h (TARGET_PACKED_WORK_ITEMS): Add TARGET_RDNA3. + * config/gcn/gcn-valu.md (all_convert): New iterator. + (<convop><V_INT_1REG_ALT:mode><V_INT_1REG:mode>2<exec>): New + define_expand, and rename the old one to ... + (*<convop><V_INT_1REG_ALT:mode><V_INT_1REG:mode>_sdwa<exec>): ... this. + (extend<V_INT_1REG_ALT:mode><V_INT_1REG:mode>2<exec>): Likewise, to ... + (extend<V_INT_1REG_ALT:mode><V_INT_1REG:mode>_sdwa<exec>): .. this. + (*<convop><V_INT_1REG_ALT:mode><V_INT_1REG:mode>_shift<exec>): New. + * config/gcn/gcn.cc (gcn_global_address_p): Use "offsetbits" correctly. + (gcn_hsa_declare_function_name): Update the vgpr counting for gfx1100. + * config/gcn/gcn.md (<u>mulhisi3): Disable on RDNA3. + (<u>mulqihi3_scalar): Likewise. + +2024-01-26 Richard Biener <rguenther@suse.de> + + PR tree-optimization/113602 + * tree-data-ref.cc (dr_analyze_innermost): Fail when + the base object isn't addressable. + +2024-01-26 Tobias Burnus <tburnus@baylibre.com> + + * config/gcn/gcn-hsa.h (ABI_VERSION_SPEC): New; creates the + "--amdhsa-code-object-version=" argument. + (ASM_SPEC): Use it; replace previous version of it. + +2024-01-26 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + * config/riscv/riscv-vsetvl.cc (pre_vsetvl::earliest_fuse_vsetvl_info): Refine some codes. + (pre_vsetvl::emit_vsetvl): Ditto. + +2024-01-26 Jiahao Xu <xujiahao@loongson.cn> + + * config/loongarch/lasx.md (vec_extract<mode>_0): + New define_insn_and_split patten. + +2024-01-26 Jiahao Xu <xujiahao@loongson.cn> + + * config/loongarch/loongarch.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Define. + +2024-01-26 Li Wei <liwei@loongson.cn> + + * config/loongarch/loongarch.cc (loongarch_emit_swdivsf): Adjust. + +2024-01-26 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + PR target/113469 + * config/riscv/riscv-vsetvl.cc (pre_vsetvl::compute_lcm_local_properties): Fix bug. + +2024-01-26 Andrew Pinski <quic_apinski@quicinc.com> + + PR target/100212 + * config/aarch64/aarch64.cc (aarch64_classify_index): Avoid + undefined shift after the call to exact_log2. + 2024-01-25 Andrew Pinski <quic_apinski@quicinc.com> PR target/100204 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 49fe65fc58c89f66b55a08d43a5adef5ebb7232b..ac1f00e466c02afc6ae1f0bafc149782f613fb54 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240126 +20240127 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4dbf0bc14c9551ea929fcbee1cad6d635c63a8a1..8ee3b4b481bad5882fc4d96ccc21fae9b6083486 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,27 @@ +2024-01-26 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/113580 + * module.cc (struct post_process_data): Create. + (trees_in::post_decls): Use. + (trees_in::post_process): Return entire vector at once. + Change overload to take post_process_data instead of tree. + (trees_out::write_function_def): Write needed flags from + DECL_STRUCT_FUNCTION. + (trees_in::read_function_def): Read them and pass to + post_process. + (module_state::read_cluster): Write flags into cfun. + +2024-01-26 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/112899 + * cp-tree.h (note_variable_template_instantiation): Rename to... + (note_vague_linkage_variable): ...this. + * decl2.cc (note_variable_template_instantiation): Rename to... + (note_vague_linkage_variable): ...this. + * pt.cc (instantiate_decl): Rename usage of above function. + * module.cc (trees_in::read_var_def): Remember pending statics + that we stream in. + 2024-01-25 Jakub Jelinek <jakub@redhat.com> PR c++/113599 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 21d26c84a414d3173b019b2f0e2496f3c3590099..923732445e4e0c0539d7804a28a26f4faee5d239 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,33 @@ +2024-01-26 Gaius Mulley <gaiusmod2@gmail.com> + + * gm2-compiler/M2Check.mod (dumpIndice): New procedure. + (dumpIndex): New procedure. + (dumptInfo): New procedure. + (buildError4): Add comment and pass formal and actual to + MetaError4. Improve text describing error. + (buildError2): Generate different error descriptions for + the three error kinds. + (checkConstMeta): Add block comment. Add more meta checks + and call doCheckPair to complete string const checking. + Add tinfo parameter. + (checkConstEquivalence): Add tinfo parameter. + * gm2-compiler/M2GCCDeclare.mod (PrintVerboseFromList): + Print the length of a const string. + * gm2-compiler/M2GenGCC.mod (CodeParam): Remove parameters + op1, op2 and op3. + (doParam): Add paramtok parameter. Use paramtok instead rather + than CurrentQuadToken. + (CodeParam): Rewrite. + * gm2-compiler/M2Quads.mod (CheckProcedureParameters): + Add comments explaining that const strings are not checked + in M2Quads.mod. + (FailParameter): Use MetaErrorT2 with tokpos rather than + MetaError2. + (doBuildBinaryOp): Assign OldPos and OperatorPos before the + IF block. + * gm2-compiler/SymbolTable.mod (PutConstString): Add call to + InitWhereDeclaredTok. + 2024-01-25 Gaius Mulley <gaiusmod2@gmail.com> * gm2-libs/libc.def (lseek): Change the second parameter diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 409f23b42050d13ab22608a9b9c15637c283d9f1..496d94f3ff5ad03ca4eba200b32395f6fd4e1b54 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,86 @@ +2024-01-26 Hans-Peter Nilsson <hp@axis.com> + + * g++.dg/Wattributes-3.C: Adjust expected warning. + * gcc.dg/fail_always_inline.c: Ditto. + +2024-01-26 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/113580 + * g++.dg/modules/pr113580_a.C: New test. + * g++.dg/modules/pr113580_b.C: New test. + +2024-01-26 Maciej W. Rozycki <macro@embecosm.com> + + * gcc.target/riscv/cset-sext-rtl.c: New file. + * gcc.target/riscv/cset-sext-rtl32.c: New file. + * gcc.target/riscv/cset-sext-sfb-rtl.c: New file. + * gcc.target/riscv/cset-sext-sfb-rtl32.c: New file. + * gcc.target/riscv/cset-sext-thead-rtl.c: New file. + * gcc.target/riscv/cset-sext-ventana-rtl.c: New file. + * gcc.target/riscv/cset-sext-zicond-rtl.c: New file. + * gcc.target/riscv/cset-sext-zicond-rtl32.c: New file. + +2024-01-26 Maciej W. Rozycki <macro@embecosm.com> + + * gcc.target/riscv/pr105314-rtl.c: New file. + * gcc.target/riscv/pr105314-rtl32.c: New file. + +2024-01-26 Maciej W. Rozycki <macro@embecosm.com> + + * gcc.target/riscv/pr105314.c: Scan the RTL "ce1" pass too. + +2024-01-26 Maciej W. Rozycki <macro@embecosm.com> + + * gcc.target/riscv/pr105314.c: Replace `dg-options' command with + `dg-skip-if'. Also reject "bne" with `dg-final'. + +2024-01-26 Gaius Mulley <gaiusmod2@gmail.com> + + * gm2/pim/fail/badpointer4.mod: New test. + * gm2/pim/fail/strconst.def: New test. + +2024-01-26 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/112899 + * g++.dg/modules/init-4_a.C: New test. + * g++.dg/modules/init-4_b.C: New test. + * g++.dg/modules/init-6_a.H: New test. + * g++.dg/modules/init-6_b.C: New test. + +2024-01-26 Richard Biener <rguenther@suse.de> + + PR tree-optimization/113602 + * gcc.dg/pr113602.c: New testcase. + +2024-01-26 Jiahao Xu <xujiahao@loongson.cn> + + * gcc.target/loongarch/vect-extract.c: New test. + +2024-01-26 Jiahao Xu <xujiahao@loongson.cn> + + * gcc.target/loongarch/short-circuit.c: New test. + +2024-01-26 chenxiaolong <chenxiaolong@loongson.cn> + + * gcc.dg/signbit-2.c: Added additional "-mlsx" compilation options. + * gfortran.dg/graphite/vect-pr40979.f90: Dito. + * gfortran.dg/vect/fast-math-mgrid-resid.f: Dito. + +2024-01-26 Li Wei <liwei@loongson.cn> + + * gcc.target/loongarch/invariant-recip.c: New test. + +2024-01-26 Andrew Pinski <quic_apinski@quicinc.com> + + PR testsuite/109705 + * gcc.dg/vect/pr25413a.c: Expect 1 vectorized loops for !vect_long_mult + and 2 for vect_long_mult. + +2024-01-26 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + PR target/113469 + * gcc.target/riscv/rvv/autovec/pr113469.c: New test. + 2024-01-25 Jakub Jelinek <jakub@redhat.com> PR c++/113599 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 6829d0549c7512cad921251c43130cc306b837dd..2b3cc3d44e99b2b44ecc4cc66ff2aac9e93b9a5a 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2024-01-26 Andrew Stubbs <ams@baylibre.com> + + * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3. + 2024-01-23 Zac Walker <zacwalker@microsoft.com> * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index f0b66582ecdd1375a4c5538a0fcc9f181301144b..fb0ed4fdd2a6e5e3dcc7d4207c154f2b235a9c2b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,28 @@ +2024-01-26 Richard Biener <rguenther@suse.de> + + * plugin/plugin-gcn.c (suitable_hsa_agent_p): Filter out + agents with unsupported ISA. + +2024-01-26 Richard Biener <rguenther@suse.de> + + * plugin/plugin-gcn.c + (EF_AMDGPU_MACH::EF_AMDGPU_MACH_UNSUPPORTED): Add. + (isa_code): Return that instead of -1. + (GOMP_OFFLOAD_init_device): Adjust. + +2024-01-26 Tobias Burnus <tburnus@baylibre.com> + + * testsuite/libgomp.c/declare-variant-4.h: Add variant functions + for gfx1030 and gfx1100. + * testsuite/libgomp.c/declare-variant-4-gfx1030.c: New test. + * testsuite/libgomp.c/declare-variant-4-gfx1100.c: New test. + +2024-01-26 Andrew Stubbs <ams@baylibre.com> + + * config/gcn/time.c (RTC_TICKS): Configure RDNA3. + (omp_get_wtime): Add RDNA3-compatible variant. + * plugin/plugin-gcn.c (max_isa_vgprs): Tune for gfx1030 and gfx1100. + 2024-01-24 Tobias Burnus <tburnus@baylibre.com> Sandra Loosemore <sandra@codesourcery.com>