aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2026-02-04 00:16:33 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2026-02-04 00:16:33 +0000
commitd77d64766af4aa84afdf50e35917c6f124c74c86 (patch)
tree8c7752f73a6c00d792408ed8eaaba566257def2a
parent53913b45f2dc4ba0f81845670d0877b7638d53d3 (diff)
downloadgcc-trunk.zip
gcc-trunk.tar.gz
gcc-trunk.tar.bz2
Daily bump.HEADtrunkmaster
-rw-r--r--gcc/ChangeLog136
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog9
-rw-r--r--gcc/algol68/ChangeLog5
-rw-r--r--gcc/analyzer/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog29
-rw-r--r--gcc/d/ChangeLog50
-rw-r--r--gcc/fortran/ChangeLog13
-rw-r--r--gcc/testsuite/ChangeLog80
-rw-r--r--include/ChangeLog5
-rw-r--r--libgomp/ChangeLog28
-rw-r--r--libphobos/ChangeLog10
-rw-r--r--libstdc++-v3/ChangeLog14
13 files changed, 387 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cdb4db2..047e1a8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,139 @@
+2026-02-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR other/123841
+ * acinclude.m4 (gcc_GAS_FLAGS): Check $gas_flag, $gnu_ld_flag
+ instead of $gas, $gnu_ld.
+ * configure.ac: Likewise.
+ (gas_flag): Determine if not already set.
+ (gnu_ld_flag): Likewise.
+ (ld_32_opt): Only set after gnu_ld_flag is set.
+ (ld_64_opt): Likewise.
+ * configure: Regenerate.
+
+2026-02-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR other/123841
+ * acinclude.m4 (gcc_GAS_FLAGS): Handle Darwin as cases separately.
+ * configure: Regenerate.
+
+2026-02-03 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR middle-end/118608
+ * expr.cc (store_field_updates_msb_p): New helper function that
+ now also handles BYTES_BIG_ENDIAN targets.
+ (expand_assignment): Use the above function when deciding to emit
+ a required sign/zero extension.
+ * rtlanal.cc (truncated_to_mode): Call targetm.mode_rep_extended
+ to check whether an explicit TRUNCATE is required (i.e. performs
+ an extension) on this target.
+ * config/mips/mips.md (*extenddi_truncate<mode>): Handle all
+ SUBDI modes, not just SHORT modes.
+
+2026-02-03 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR middle-end/123826
+ * tree-ssa-math-opts.cc (gimple_expand_builtin_pow): Add test
+ for flag_errno_math.
+ * fold-const-call.cc (fold_const_pow): Reorganize, eliminating
+ call to real_powi, and letting do_mpfr_arg2 do all the heavy
+ lifting.
+
+2026-02-03 Alfie Richards <alfie.richards@arm.com>
+
+ PR target/123548
+ * config/aarch64/aarch64-builtins.cc
+ (aarch64_builtins): Rename AARCH64_PL<X> to
+ AARCH64_PREFETCH_PL<X>.
+ (aarch64_init_prefetch_builtin): Rename to...
+ (aarch64_init_prefetch_builtins): ...this and change builtin
+ names.
+ (AARCH64_INIT_PREFETCH_BUILTIN): Change to not add
+ "__builtin_aarch64__" prefix and to register builtins.
+ (handle_arm_acle_h): Add call to aarch64_init_prefetch_builtins.
+ (aarch64_init_pcdphint_builtins): Move __pldir code to init
+ prefetch builtins.
+ (aarch64_general_init_builtins): Remove call to
+ aarch64_init_prefetch_builtin.
+ (aarch64_expand_prefetch_builtin): Update names of PL<X>
+ builtins.`
+ * config/aarch64/arm_acle.h
+ (__pld): Remove
+ (__pli): Likewise.
+ (__plix): Likewise.
+ (__pldx): Likewise.
+ (__pldir): Likewise.
+
+2026-02-03 Jeff Law <jeffrey.law@oss.qualcomm.com>
+
+ PR rtl-optimization/123322
+ * combine.cc (try_combine): Consider an IF_THEN_ELSE "good" when
+ evaluating if 4 insn combinations should be tried.
+ * config/riscv/iterators.md (zero_is_neutral_op): New iterator.
+ (zero_is_neutral_op_c): Likewise.
+ (any_shift_rotate): Likewise.
+ * config/riscv/riscv.cc (riscv_rtx_costs): Recognize the conditional
+ AND RTL and cost is appropriately.
+ * config/riscv/zicond.md: Add patterns to rewrite general conditional
+ move sequences into simpler forms.
+
+2026-02-03 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
+
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac (gcc_cv_header_afunix_h): New test.
+ (HAVE_AFUNIX_H): New AC_DEFINE.
+ * diagnostics/sarif-sink.cc: Conditionally include afunix.h
+ if it's available, else fall back to internal definition.
+
+2026-02-03 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
+
+ PR middle-end/123892
+ * collect2.cc: Migrate from CONST_CAST2() macro to
+ const_cast<>() C++ expression.
+ * config/sparc/driver-sparc.cc: Likewise.
+ * gcc-ar.cc: Likewise.
+ * gcc.cc: Likewise.
+ * toplev.cc: Likewise.
+ * tree-nested.cc: Likewise.
+
+2026-02-03 Richard Biener <rguenther@suse.de>
+
+ PR ipa/123416
+ * ipa-modref.cc (ipa_merge_modref_summary_after_inlining):
+ Fix typo in condtion for load merging when no callee summary.
+
+2026-02-03 Xi Ruoyao <xry111@xry111.site>
+
+ Revert:
+ 2025-11-08 Lulu Cheng <chenglulu@loongson.cn>
+
+ PR target/122097
+ * config/loongarch/loongarch.cc
+ (loongarch_const_vector_same_bytes_p): Add processing for
+ floating-point vector data.
+
+2026-02-03 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/predicates.md (const_vector_neg_fp_operand):
+ New define_predicate.
+ (reg_or_vector_neg_fp_operand): New define_predicate.
+ * config/loongarch/lasx.md (copysign<mode>3): Remove.
+ (xorsign<mode>3): Remove.
+ * config/loongarch/lsx.md (copysign<mode>3): Remove.
+ (@xorsign<mode>3): Remove.
+ * config/loongarch/simd.md (copysign<mode>3): New define_expand.
+ (@xorsign<mode>3): New define_expand.
+ (and<mode>3): Only allow IVEC instead of ALLVEC.
+ (ior<mode>3): Likewise.
+ (xor<mode>3): Likewise.
+ * config/loongarch/loongarch.cc (loongarch_print_operand): No
+ longer allow floating-point vector constants for %V.
+ (loongarch_const_vector_bitimm_set_p): Always return false for
+ floating-point vector constants.
+ (loongarch_build_signbit_mask): Factor out force_reg.
+ (loongarch_emit_swrsqrtsf): Use integer vector mode instead of
+ floating-point vector mode when masking zero inputs.
+
2026-02-02 David Malcolm <dmalcolm@redhat.com>
PR diagnostics/110522
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 8140e9d..1ee7e08 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260203
+20260204
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index e0d4ec2..4bab1ad 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,12 @@
+2026-02-03 Eric Botcazou <ebotcazou@adacore.com>
+
+ * checks.adb (Apply_Discriminant_Check): Bail out for a source type
+ that is a class-wide type whose root type has no discriminants.
+ * exp_ch4.adb (Expand_N_Type_Conversion): If the target type is an
+ access type, emit null access checks before accessibility checks.
+ * sem_util.adb (In_Return_Value): Deal again with assignments to
+ return objects.
+
2026-02-02 Eric Botcazou <ebotcazou@adacore.com>
PR ada/89159
diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog
index c990a71..83dc59a 100644
--- a/gcc/algol68/ChangeLog
+++ b/gcc/algol68/ChangeLog
@@ -1,3 +1,8 @@
+2026-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * a68-parser-extract.cc (a68_extract_indicants): Don't call FORWARD if
+ skip_module_text returns NO_NODE.
+
2026-02-01 Jose E. Marchesi <jemarch@gnu.org>
* a68-low-bits.cc (a68_bits_test): Do not get a parameter with the
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 8a9acb6..27ec861 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,10 @@
+2026-02-03 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/116865
+ * region-model-manager.cc
+ (region_model_manager::get_offset_region): Use POINTER_PLUS_EXPR
+ rather than PLUS_EXPR for pointer offsets.
+
2026-01-31 David Malcolm <dmalcolm@redhat.com>
PR analyzer/123880
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 29c6547..fb23c28 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,32 @@
+2026-02-03 Marek Polacek <polacek@redhat.com>
+
+ * constexpr.cc (is_std_allocator): Don't check for __new_allocator.
+ (is_std_allocator_allocate): Make static.
+ * cp-tree.h (is_std_allocator_allocate): Remove declaration.
+ * reflect.cc (check_out_of_consteval_use): Don't call
+ is_std_allocator_allocate.
+ (check_consteval_only_fn): Likewise.
+
+2026-02-03 Marek Polacek <polacek@redhat.com>
+
+ * reflect.cc (compare_reflections): Handle comparing annotations
+ and types specially, use cp_tree_equal for the rest.
+ * tree.cc (cp_tree_equal) <case NAMESPACE_DECL>: New.
+
+2026-02-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/123920
+ * reflect.cc (eval_data_member_spec): Break out of the loop
+ if value is integer_zerop even in the field
+ && TREE_CODE (field) != RANGE_EXPR case and use a single
+ test for integer_zerop (value) in the whole loop.
+
+2026-02-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/123918
+ * semantics.cc (cexpr_str::extract): Bypass cpp_translate_string
+ for len == 0.
+
2026-02-02 Marek Polacek <polacek@redhat.com>
Boris Staletic <boris.staletic@protonmail.com>
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index 2790ee0..bb21bb3 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,53 @@
+2026-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * dmd/VERSION: Bump version to v2.112.0.
+ * dmd/MERGE: Merge upstream dmd 24a41073c2.
+ * d-attribs.cc (build_attributes): Update for new front-end interface.
+ * d-builtins.cc (build_frontend_type): Likewise.
+ (matches_builtin_type): Likewise.
+ (d_init_versions): Predefine D_Profile when compiling with profile
+ enabled.
+ * d-codegen.cc (get_array_length): Update for new front-end interface.
+ (lower_struct_comparison): Likewise.
+ (build_array_from_val): Likewise.
+ (get_function_type): Likewise.
+ (get_frameinfo): Likewise.
+ * d-compiler.cc (Compiler::paintAsType): Likewise.
+ * d-convert.cc (convert_expr): Likewise.
+ (convert_for_rvalue): Likewise.
+ (convert_for_assignment): Likewise.
+ (d_array_convert): Likewise.
+ * d-diagnostic.cc (verrorReport): Rename to ...
+ (vreportDiagnostic): ... this.
+ (verrorReportSupplemental): Rename to ...
+ (vsupplementalDiagnostic): ... this.
+ * d-lang.cc (d_handle_option): Handle -std=d2024 and -std=d202y.
+ (d_parse_file): Update for new front-end interface.
+ * d-target.cc (Target::fieldalign): Likewise.
+ (Target::isVectorTypeSupported): Likewise.
+ (Target::isVectorOpSupported): Likewise.
+ * decl.cc (get_symbol_decl): Likewise.
+ (DeclVisitor::visit): Likewise.
+ (DeclVisitor::visit (FuncDeclaration *)): Do NRVO on `__result' decl.
+ * expr.cc (needs_postblit): Remove.
+ (needs_dtor): Remove.
+ (lvalue_p): Remove.
+ (ExprVisitor::visit): Update for new front-end interface.
+ (ExprVisitor::visit (AssignExp *)): Update for front-end lowering
+ expression using templates.
+ * imports.cc (ImportVisitor::visit): Update for new front-end
+ interface.
+ * intrinsics.def (INTRINSIC_VA_ARG): Update signature.
+ (INTRINSIC_C_VA_ARG): Update signature.
+ (INTRINSIC_VASTART): Update signature.
+ * lang.opt: Add -std=d2024 and -std=d202y.
+ * toir.cc (IRVisitor::visit): Update for new front-end interface.
+ * typeinfo.cc (TypeInfoVisitor::visit): Likewise.
+ (TypeInfoVisitor::visit (TypeInfoStructDeclaration *)): Ensure
+ semantic is ran on all TypeInfo members.
+ (base_vtable_offset): Update for new front-end interface.
+ * types.cc (TypeVisitor::visit): Likewise.
+
2026-01-31 Iain Buclaw <ibuclaw@gdcproject.org>
* dmd/MERGE: Merge upstream dmd e1f6680f50.
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index c8f9e22..394dd47 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,16 @@
+2026-02-03 Kirill Chilikin <chilikin.k@gmail.com>
+
+ PR fortran/117303
+ * trans-intrinsic.cc (conv_isocbinding_function):
+ Assign the reference returned by C_FUNLOC to a variable.
+
+2026-02-03 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/123952
+ * symbol.cc (gfc_copy_dummy_sym): Ensure that external, array
+ valued destination symbols have the correct interface so that
+ conflicts do not arise when adding attributes.
+
2026-01-31 Paul Thomas <pault@gcc.gnu.org>
* array.cc (resolve_array_list): Use macro IS_PDT.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0397838..48be4ef 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,83 @@
+2026-02-03 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/116865
+ * c-c++-common/analyzer/ice-pr116865.c: New test.
+
+2026-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * algol68/compile/error-module-definition-1.a68: New test.
+ * algol68/compile/error-module-definition-2.a68: New test.
+
+2026-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * gdc.dg/pr90601.d: Adjust test.
+ * lib/gdc-utils.exp: Handle new compiler options.
+
+2026-02-03 Kirill Chilikin <chilikin.k@gmail.com>
+
+ PR fortran/117303
+ * gfortran.dg/c_funloc_tests_7.f90:
+ Updated test due to changed code generation.
+ * gfortran.dg/c_funloc_tests_9.f90: New test.
+
+2026-02-03 Pengxuan Zheng <pengxuan.zheng@oss.qualcomm.com>
+
+ * gcc.dg/pr123109.c: Move to...
+ * gcc.dg/pr123109-vector.c: ...here.
+ * gcc.dg/pr123109-scalar.c: New test.
+
+2026-02-03 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/123952
+ * gfortran.dg/pr123952.f90: New test.
+
+2026-02-03 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR middle-end/118608
+ * gcc.target/mips/pr118608-1.c: New test case.
+ * gcc.target/mips/pr118608-2.c: Likewise.
+ * gcc.target/mips/pr118608-3.c: Likewise.
+ * gcc.target/mips/pr118608-4.c: Likewise.
+
+2026-02-03 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR middle-end/123826
+ * gcc.dg/errno-2.c: New test case.
+ * gcc.dg/errno-3.c: Likewise.
+
+2026-02-03 Alfie Richards <alfie.richards@arm.com>
+
+ PR target/123548
+ * gcc.target/aarch64/pldir.c: Move to...
+ * gcc.target/aarch64/acle/pldir.c: ...here.
+ * gcc.target/aarch64/builtin_pld_pli_illegal.c: Removed.
+ * gcc.target/aarch64/acle/pld_pli_illegal.c: New test.
+ * gcc.target/aarch64/builtin_pld_pli.c: Removed.
+ * gcc.target/aarch64/acle/pld_pli.c: New test.
+ * gcc.target/aarch64/pr123548.c: New test.
+
+2026-02-03 Christophe Lyon <christophe.lyon@arm.com>
+
+ * lib/target-supports.exp
+ (check_effective_target_arm_neon_ok_nocache): Add "-mcpu=unset
+ -march=armv7-a+simd -mfpu=auto" to the list.
+
+2026-02-03 Jeff Law <jeffrey.law@oss.qualcomm.com>
+
+ PR rtl-optimization/123322
+ * gcc.target/riscv/pr123322.c: New test.
+
+2026-02-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR libstdc++/123921
+ * g++.dg/reflect/feat2.C: Add also test for __cpp_lib_define_static.
+ * g++.dg/reflect/feat3.C: New test.
+
+2026-02-03 Richard Biener <rguenther@suse.de>
+
+ PR ipa/123416
+ * gcc.dg/torture/pr123416.c: New testcase.
+
2026-02-02 Patrick Palka <ppalka@redhat.com>
* g++.dg/cpp23/feat-cxx2b.C: Adjust expected __cpp_deduction_guides
diff --git a/include/ChangeLog b/include/ChangeLog
index 999c704..2c3ffbf 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2026-02-03 Andrew Stubbs <ams@baylibre.com>
+
+ * cuda/cuda.h (CUpointer_attribute): New enum.
+ (cuPointerGetAttribute): New prototype.
+
2025-12-12 mengqinggang <mengqinggang@loongson.cn>
Jiajie Chen <c@jia.je>
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 75daccb..f678eba 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,31 @@
+2026-02-03 Andrew Stubbs <ams@baylibre.com>
+
+ PR libgomp/121813
+ PR libgomp/113213
+ * libgomp-plugin.h (GOMP_OFFLOAD_is_accessible_ptr): New prototype.
+ * libgomp.h
+ (struct gomp_device_descr): Add GOMP_OFFLOAD_is_accessible_ptr.
+ * libgomp.texi: Update omp_target_is_accessible docs.
+ * plugin/cuda-lib.def (cuPointerGetAttribute): New entry.
+ * plugin/plugin-gcn.c (struct hsa_runtime_fn_info): Add
+ hsa_amd_svm_attributes_get_fn and hsa_amd_pointer_info_fn.
+ (init_hsa_runtime_functions): Add hsa_amd_svm_attributes_get and
+ hsa_amd_pointer_info.
+ (enum accessible): New enum type.
+ (host_memory_is_accessible): New function.
+ (device_memory_is_accessible): New function.
+ (GOMP_OFFLOAD_is_accessible_ptr): New function.
+ * plugin/plugin-nvptx.c (GOMP_OFFLOAD_is_accessible_ptr): Likewise.
+ * target.c (omp_target_is_accessible): Call is_accessible_ptr_func.
+ (gomp_load_plugin_for_device): Add is_accessible_ptr.
+ * testsuite/libgomp.c-c++-common/target-is-accessible-1.c: Rework
+ to match more details of the GPU implementation.
+ * testsuite/libgomp.fortran/target-is-accessible-1.f90: Likewise.
+ * testsuite/libgomp.c-c++-common/target-is-accessible-2.c: New test.
+ * testsuite/libgomp.c-c++-common/target-is-accessible-3.c: New test.
+ * testsuite/libgomp.c-c++-common/target-is-accessible-4.c: New test.
+ * testsuite/libgomp.c-c++-common/target-is-accessible-5.c: New test.
+
2026-01-20 Matthew Malcolmson <mmalcolmson@nvidia.com>
PR libgomp/122356
diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog
index 4a5435f..475de52 100644
--- a/libphobos/ChangeLog
+++ b/libphobos/ChangeLog
@@ -1,3 +1,13 @@
+2026-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * libdruntime/MERGE: Merge upstream druntime 24a41073c2.
+ * libdruntime/__importc_builtins.di: Reimplement.
+ * src/MERGE: Merge upstream phobos 808314eb2.
+ * testsuite/libphobos.aa/test_aa.d: Adjust test.
+ * testsuite/libphobos.gc/forkgc2.d: Removed.
+ * testsuite/libphobos.thread/filterthrownglobal.d: New test.
+ * testsuite/libphobos.thread/filterthrownmethod.d: New test.
+
2026-01-31 Iain Buclaw <ibuclaw@gdcproject.org>
* libdruntime/MERGE: Merge upstream druntime e1f6680f50.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a1e4297..89fe75f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,17 @@
+2026-02-03 Marek Polacek <polacek@redhat.com>
+
+ * include/bits/new_allocator.h (__new_allocator::allocate,
+ __new_allocator::deallocate): Add missing constexpr.
+
+2026-02-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR libstdc++/123921
+ * include/bits/version.def (define_static): New with the
+ same values as reflection.
+ * include/bits/version.h: Regenerate.
+ * include/std/meta: Define also __glibcxx_want_define_static before
+ including bits/version.h.
+
2026-02-02 Patrick Palka <ppalka@redhat.com>
* include/bits/regex_executor.tcc (_ExecutorFrameBase):