mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 01:50:33 +08:00
Daily bump.
This commit is contained in:
parent
8c15a6cefa
commit
89c4a0b195
@ -1,3 +1,7 @@
|
||||
2025-02-28 Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
||||
|
||||
* MAINTAINERS: Added myself as write after approval and DCO.
|
||||
|
||||
2025-02-19 Thomas Schwinge <tschwinge@baylibre.com>
|
||||
|
||||
* configure.ac (unsupported_languages) [GCN, nvptx]: Add 'ada'.
|
||||
|
109
gcc/ChangeLog
109
gcc/ChangeLog
@ -1,3 +1,112 @@
|
||||
2025-03-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR jit/117047
|
||||
* acinclude.m4 (gcc_CHECK_ATTRIBUTE_ALIAS): New.
|
||||
* configure.ac: Add gcc_CHECK_ATTRIBUTE_ALIAS.
|
||||
* ggc.h (ggc_internal_alloc): Remove ATTRIBUTE_MALLOC from
|
||||
overload with finalizer pointer. Call ggc_internal_alloc_no_dtor
|
||||
in inline overload without finalizer pointer.
|
||||
(ggc_internal_alloc_no_dtor): Declare.
|
||||
(ggc_internal_cleared_alloc): Remove ATTRIBUTE_MALLOC from
|
||||
overload with finalizer pointer. Call
|
||||
ggc_internal_cleared_alloc_no_dtor in inline overload without
|
||||
finalizer pointer.
|
||||
(ggc_internal_cleared_alloc_no_dtor): Declare.
|
||||
(ggc_alloc): Call ggc_internal_alloc_no_dtor if no finalization
|
||||
is needed.
|
||||
(ggc_alloc_no_dtor): Call ggc_internal_alloc_no_dtor.
|
||||
(ggc_cleared_alloc): Call ggc_internal_cleared_alloc_no_dtor if no
|
||||
finalization is needed.
|
||||
(ggc_vec_alloc): Call ggc_internal_alloc_no_dtor if no finalization
|
||||
is needed.
|
||||
(ggc_cleared_vec_alloc): Call ggc_internal_cleared_alloc_no_dtor if no
|
||||
finalization is needed.
|
||||
* ggc-page.cc (ggc_internal_alloc): If HAVE_ATTRIBUTE_ALIAS, turn
|
||||
overload with finalizer into alias to ggc_internal_alloc_ and
|
||||
rename it to ...
|
||||
(ggc_internal_alloc_): ... this, make it extern "C".
|
||||
(ggc_internal_alloc_no_dtor): New alias if HAVE_ATTRIBUTE_ALIAS,
|
||||
otherwise new noinline wrapper.
|
||||
* ggc-common.cc (ggc_internal_cleared_alloc): If HAVE_ATTRIBUTE_ALIAS,
|
||||
turn overload with finalizer into alias to ggc_internal_alloc_ and
|
||||
rename it to ...
|
||||
(ggc_internal_cleared_alloc_): ... this, make it extern "C".
|
||||
(ggc_internal_cleared_alloc_no_dtor): New alias if
|
||||
HAVE_ATTRIBUTE_ALIAS, otherwise new noinline wrapper.
|
||||
* ggc-none.cc (ggc_internal_alloc): If HAVE_ATTRIBUTE_ALIAS, turn
|
||||
overload with finalizer into alias to ggc_internal_alloc_ and
|
||||
rename it to ...
|
||||
(ggc_internal_alloc_): ... this, make it extern "C".
|
||||
(ggc_internal_alloc_no_dtor): New alias if HAVE_ATTRIBUTE_ALIAS,
|
||||
otherwise new wrapper.
|
||||
(ggc_internal_cleared_alloc): If HAVE_ATTRIBUTE_ALIAS, turn overload
|
||||
with finalizer into alias to ggc_internal_alloc_ and rename it to ...
|
||||
(ggc_internal_cleared_alloc_): ... this, make it extern "C".
|
||||
(ggc_internal_cleared_alloc_no_dtor): New alias if
|
||||
HAVE_ATTRIBUTE_ALIAS, otherwise new wrapper.
|
||||
* genmatch.cc (ggc_internal_cleared_alloc, ggc_free): Formatting fix.
|
||||
(ggc_internal_cleared_alloc_no_dtor): Define.
|
||||
* config.in: Regenerate.
|
||||
* configure: Regenerate.
|
||||
|
||||
2025-03-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/115871
|
||||
* omp-simd-clone.cc (simd_clone_adjust): For SIMD_CLONE_ARG_TYPE_MASK
|
||||
and sc->mask_mode not VOIDmode, set elem_type to the characteristic
|
||||
type rather than boolean_type_node.
|
||||
|
||||
2025-03-01 Jan Dubiec <jdx@o2.pl>
|
||||
|
||||
PR target/109189
|
||||
* config/h8300/h8300.cc (h8300_print_operand): Replace %ld format
|
||||
strings with HOST_WIDE_INT_PRINT_DEC macro in order to silence
|
||||
-Wformat warnings when building on Windows/MinGW64.
|
||||
|
||||
2025-02-28 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR ipa/118243
|
||||
* ipa-sra.cc (pull_accesses_from_callee): New parameters
|
||||
caller_ipcp_ts and param_idx. Check that scalar pulled accesses would
|
||||
not clash with a known IPA-CP aggregate constant.
|
||||
(param_splitting_across_edge): Pass IPA-CP transformation summary and
|
||||
caller parameter index to pull_accesses_from_callee.
|
||||
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR ipa/111245
|
||||
* ipa-modref.cc (modref_access_analysis::analyze_store): Do
|
||||
not guard the check of whether the stmt could throw by
|
||||
cfun->can_throw_non_call_exceptions.
|
||||
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR rtl-optimization/117712
|
||||
* expr.cc (force_operand): Handle {,UNSIGNED_}FIX with
|
||||
FIX operand using expand_fix on the inner FIX operand.
|
||||
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/87984
|
||||
* tree-ssa-dom.cc (dom_opt_dom_walker::optimize_stmt): Do
|
||||
not perform redundant store elimination to hard register
|
||||
variables.
|
||||
* tree-ssa-sccvn.cc (eliminate_dom_walker::eliminate_stmt):
|
||||
Likewise.
|
||||
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/66279
|
||||
* gimplify.cc (gimplify_asm_expr): Copy TREE_PURPOSE before
|
||||
rewriting it for "+" processing.
|
||||
|
||||
2025-02-28 H.J. Lu <hjl.tools@gmail.com>
|
||||
|
||||
* config/i386/i386.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
|
||||
Moved to ...
|
||||
* config/i386/i386.cc (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
|
||||
Here.
|
||||
|
||||
2025-02-27 Pan Li <pan2.li@intel.com>
|
||||
|
||||
PR target/118931
|
||||
|
@ -1 +1 @@
|
||||
20250228
|
||||
20250301
|
||||
|
@ -1,3 +1,9 @@
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* c.opt (Wc++26-extensions): Add CppReason(CPP_W_CXX26_EXTENSIONS).
|
||||
* c-cppbuiltin.cc (c_cpp_builtins): Predefine __cpp_pp_embed=202502
|
||||
for C++26.
|
||||
|
||||
2025-02-13 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/118822
|
||||
|
@ -1,3 +1,33 @@
|
||||
2025-02-28 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/114913
|
||||
PR c++/110822
|
||||
* constexpr.cc (replace_decl_r): If we've replaced something
|
||||
inside of an ADDR_EXPR, call cxx_mark_addressable and
|
||||
recompute_tree_invariant_for_addr_expr on the resulting ADDR_EXPR.
|
||||
|
||||
2025-02-28 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/118986
|
||||
* constexpr.cc (cxx_eval_call_expression): Check that the types match
|
||||
before calling replace_decl, if not, set *non_constant_p.
|
||||
(maybe_constant_init_1): Don't strip INIT_EXPR if it would change the
|
||||
type of the expression.
|
||||
|
||||
2025-02-28 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/119038
|
||||
* lambda.cc (maybe_generic_this_capture): Consider xobj
|
||||
member functions as well, not just iobj. Update function
|
||||
comment.
|
||||
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/119045
|
||||
* constexpr.cc (cxx_eval_store_expression) <case REALPART_EXPR>:
|
||||
Assert that refs->is_empty () rather than probe == target.
|
||||
(cxx_eval_store_expression) <case IMAGPART_EXPR>: Likewise.
|
||||
|
||||
2025-02-27 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/118928
|
||||
|
@ -1,3 +1,20 @@
|
||||
2025-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
PR d/116961
|
||||
* d-codegen.cc (build_float_cst): Change new_value type from real_t to
|
||||
real_value.
|
||||
* d-ctfloat.cc (CTFloat::fabs): Default initialize the return value.
|
||||
(CTFloat::ldexp): Likewise.
|
||||
(CTFloat::parse): Likewise.
|
||||
* d-longdouble.cc (longdouble::add): Likewise.
|
||||
(longdouble::sub): Likewise.
|
||||
(longdouble::mul): Likewise.
|
||||
(longdouble::div): Likewise.
|
||||
(longdouble::mod): Likewise.
|
||||
(longdouble::neg): Likewise.
|
||||
* d-port.cc (Port::isFloat32LiteralOutOfRange): Likewise.
|
||||
(Port::isFloat64LiteralOutOfRange): Likewise.
|
||||
|
||||
2025-02-25 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
PR d/118654
|
||||
|
@ -1,3 +1,9 @@
|
||||
2025-02-28 Andre Vehreschild <vehre@gcc.gnu.org>
|
||||
|
||||
PR fortran/118730
|
||||
* resolve.cc: Mark unused derived type variable with finalizers
|
||||
referenced to execute finalizer when leaving scope.
|
||||
|
||||
2025-02-27 Andre Vehreschild <vehre@gcc.gnu.org>
|
||||
|
||||
PR fortran/118789
|
||||
|
@ -1,3 +1,9 @@
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR lto/91299
|
||||
* lto-symtab.cc (lto_symtab_merge_symbols): Set DECL_EXTERNAL
|
||||
only after calling get_availability.
|
||||
|
||||
2025-02-11 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR lto/118125
|
||||
|
@ -1,3 +1,99 @@
|
||||
2025-03-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/115871
|
||||
* gcc.dg/gomp/simd-clones-8.c: New test.
|
||||
|
||||
2025-03-01 Xi Ruoyao <xry111@xry111.site>
|
||||
|
||||
* c-c++-common/toplevel-asm-1.c: Use %cc3 %cc4 instead of %c3
|
||||
%c4 on LoongArch.
|
||||
|
||||
2025-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
PR d/116961
|
||||
* gdc.dg/pr116961.d: New test.
|
||||
|
||||
2025-02-28 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/114913
|
||||
PR c++/110822
|
||||
* g++.dg/cpp0x/constexpr-nsdmi4.C: New test.
|
||||
* g++.dg/cpp0x/constexpr-nsdmi5.C: New test.
|
||||
|
||||
2025-02-28 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/118986
|
||||
* g++.dg/cpp2a/constexpr-prvalue1.C: New test.
|
||||
|
||||
2025-02-28 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR ipa/118243
|
||||
* g++.dg/ipa/pr118243.C: New test.
|
||||
|
||||
2025-02-28 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/119038
|
||||
* g++.dg/cpp23/explicit-obj-lambda15.C: New test.
|
||||
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/119045
|
||||
* g++.dg/cpp1y/constexpr-complex2.C: New test.
|
||||
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* g++.dg/cpp/embed-1.C: Adjust for pedwarn wording change and don't
|
||||
expect any error for C++26.
|
||||
* g++.dg/cpp/embed-2.C: Adjust for pedwarn wording change and don't
|
||||
expect any warning for C++26.
|
||||
* g++.dg/cpp26/feat-cxx26.C: Test __cpp_pp_embed value.
|
||||
* gcc.dg/cpp/embed-17.c: New test.
|
||||
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR lto/91299
|
||||
* gcc.dg/lto/pr91299_0.c: New testcase.
|
||||
* gcc.dg/lto/pr91299_1.c: Likewise.
|
||||
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR ipa/111245
|
||||
* g++.dg/torture/pr111245.C: New testcase.
|
||||
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR rtl-optimization/117712
|
||||
* gcc.dg/pr117712.c: New test.
|
||||
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/87984
|
||||
* gcc.target/i386/pr87984.c: New testcase.
|
||||
|
||||
2025-02-28 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/66279
|
||||
* g++.dg/pr66279.C: New testcase.
|
||||
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.target/i386/strub-pr118006.c: Remove -m32 from dg-options.
|
||||
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/118940
|
||||
* gcc.target/i386/pr118940.c: Drop -w, -g and -m32 from dg-options, move
|
||||
-march=i386 -mregparm=3 to dg-additional-options for ia32 and -fno-pie
|
||||
to dg-additional-options for pie. Reduce the test.
|
||||
|
||||
2025-02-28 Andre Vehreschild <vehre@gcc.gnu.org>
|
||||
|
||||
PR fortran/118730
|
||||
* gfortran.dg/class_array_15.f03: Remove unused variable.
|
||||
* gfortran.dg/coarray_poly_7.f90: Adapt scan-tree-dump expr.
|
||||
* gfortran.dg/coarray_poly_8.f90: Same.
|
||||
* gfortran.dg/finalize_60.f90: New test.
|
||||
|
||||
2025-02-27 Pan Li <pan2.li@intel.com>
|
||||
|
||||
PR target/118931
|
||||
|
@ -1,3 +1,12 @@
|
||||
2025-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* include/cpplib.h (enum cpp_warning_reason): Add
|
||||
CPP_W_CXX26_EXTENSIONS enumerator.
|
||||
* init.cc (lang_defaults): Set embed for GNUCXX26 and CXX26.
|
||||
* directives.cc (do_embed): Adjust pedwarn wording for embed in C++,
|
||||
use cpp_pedwarning instead of cpp_error and add CPP_W_C11_C23_COMPAT
|
||||
warning of cpp_pedwarning hasn't diagnosed anything.
|
||||
|
||||
2024-12-24 Lewis Hyatt <lhyatt@gmail.com>
|
||||
|
||||
* macro.cc (tokens_buff_new): Fix length argument to XNEWVEC.
|
||||
|
@ -1,3 +1,59 @@
|
||||
2025-02-28 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/106612
|
||||
* include/bits/iterator_concepts.h (_IterMove::__iter_ref_t):
|
||||
New alias template.
|
||||
(_IterMove::__result): Use __iter_ref_t instead of
|
||||
std::iter_reference_t.
|
||||
(_IterMove::__type): Remove incorrect __dereferenceable
|
||||
constraint.
|
||||
(_IterMove::operator()): Likewise. Add correct constraints. Use
|
||||
__iter_ref_t instead of std::iter_reference_t. Forward parameter
|
||||
as correct value category.
|
||||
(iter_swap): Add comments.
|
||||
* testsuite/24_iterators/customization_points/iter_move.cc: Test
|
||||
that iter_move is found by ADL and that rvalue arguments are
|
||||
handled correctly.
|
||||
|
||||
2025-02-28 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/105609
|
||||
* include/bits/ranges_algobase.h (__detail::__assign_one): New
|
||||
helper function.
|
||||
(__copy_or_move, __copy_or_move_backward): Use new function
|
||||
instead of std::__assign_one.
|
||||
* testsuite/25_algorithms/move/constrained.cc: Check that
|
||||
ADL iter_move is used in preference to std::move.
|
||||
* testsuite/25_algorithms/move_backward/constrained.cc:
|
||||
Likewise.
|
||||
|
||||
2025-02-28 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/112803
|
||||
* include/std/ranges (ranges::to): Add static assertions to
|
||||
enforce Mandates conditions.
|
||||
* testsuite/std/ranges/conv/112803.cc: New test.
|
||||
|
||||
2025-02-28 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR libstdc++/104606
|
||||
* include/std/optional (operator<=>): Revert r14-9771 change.
|
||||
Add constraint checking the validity of the return type
|
||||
compare_three_way_result_t before the three_way_comparable_with
|
||||
constraint.
|
||||
|
||||
2025-02-28 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR libstdc++/112490
|
||||
* include/bits/stl_iterator.h (basic_const_iterator::operator<):
|
||||
Replace non-dependent basic_const_iterator function parameter with
|
||||
a dependent one of type basic_const_iterator<_It3> where _It3
|
||||
matches _It.
|
||||
(basic_const_iterator::operator>): Likewise.
|
||||
(basic_const_iterator::operator<=): Likewise.
|
||||
(basic_const_iterator::operator>=): Likewise.
|
||||
* testsuite/24_iterators/const_iterator/112490.cc: New test.
|
||||
|
||||
2025-02-27 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/std/stacktrace (_Impl::_M_allocate): Fix outdated
|
||||
|
Loading…
x
Reference in New Issue
Block a user