Daily bump.

This commit is contained in:
GCC Administrator 2025-05-02 00:24:15 +00:00
parent d3389c9623
commit 088f3168a9
6 changed files with 271 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2025-05-01 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Backported from master:
2024-06-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* fixincl.x: Regenerate.
* inclhack.def (apple_local_stdio_fn_deprecation): Also apply to
_stdio.h.
2024-08-01 Release Manager
* GCC 14.2.0 released.

View File

@ -1,3 +1,48 @@
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
2024-07-16 Iain Sandoe <iain@sandoe.co.uk>
PR c++/115434
PR c++/110871
PR c++/110872
* gimplify.cc (struct gimplify_ctx): Add a flag to show we are
expending a handler.
(gimplify_expr): When we are expanding a handler, and the body
transforms might have re-written DECL_RESULT into a gimple var,
ensure that hander references to DECL_RESULT are also re-written
to refer to the gimple var. When we are processing an EH_ELSE
expression, then add it if either of the cleanup slots is in
use.
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
2025-04-15 Iain Sandoe <iain@sandoe.co.uk>
* configure: Regenerate.
* configure.ac: Recognise PROJECT:ld-mmmm.nn.aa as an identifier
for Darwin's static linker.
2025-05-01 Iain Sandoe <iainsandoe@mini-05-seq.local>
Backported from master:
2025-04-15 Iain Sandoe <iainsandoe@mini-05-seq.local>
PR target/116827
* ginclude/stddef.h: Undefine __PTRDIFF_T and __SIZE_T for module-
enabled c++ on Darwin/macOS platforms.
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Andrew Pinski <quic_apinski@quicinc.com>
PR target/119172
* config.in: Regenerate.
* config/darwin.h (DARWIN_PLATFORM_ID): Add the option to
use -macos_version_min where available.
* configure: Regenerate.
* configure.ac: Check for ld64 support of -macos_version_min.
2025-04-30 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.md (xload_<mode>_libgcc): Clobber R21, Z.

View File

@ -1 +1 @@
20250501
20250502

View File

@ -1,3 +1,123 @@
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
2024-08-02 Iain Sandoe <iain@sandoe.co.uk>
Arsen Arsenović <arsen@aarsen.me>
PR c++/105475
* coroutines.cc (struct coroutine_info): Add from_address.
Carries the from_address member we looked up earlier.
(coro_resume_identifier): Remove. Unused.
(coro_init_identifiers): Do not initialize the above.
(struct susp_frame_data): Remove unused members, provide a CTOR.
(void_coro_handle_address): New variable. Contains the baselink
for the std::coroutine_handle<void>::address() instance method.
(get_handle_type_address): New function. Looks up and validates
handle_type::address in a given handle_type.
(get_handle_type_from_address): New function. Looks up and
validates handle_type::from_address in a given handle_type.
(coro_promise_type_found_p): Remove reliance on
coroutine_handle<> defaulting the promise type to void. Store
get_handle_type_* results where appropriate.
(struct local_vars_frame_data): Add a CTOR.
(replace_continue): Look up expression type.
(get_coroutine_from_address): New helper. Gets the
handle_type::from_address BASELINK from a coroutine_info.
(morph_fn_to_coro): Use susp_frame_data CTOR, and make the suspend
state hash map local to the morph function. Use CTOR for
local_vars_frame_data instead of brace init.
(build_actor_fn): Use the get_coroutine_from_address helper and
void_coro_handle_address.
2025-05-01 Arsen Arsenović <arsen@aarsen.me>
Backported from master:
2024-08-01 Arsen Arsenović <arsen@aarsen.me>
PR c++/112341
* coroutines.cc (struct coroutine_info): Also cache the
traits type.
(ensure_coro_initialized): New function. Makes sure we have
initialized the coroutine state successfully, or informs the
caller should it fail to do so. Extracted from
coro_promise_type_found_p.
(coro_get_traits_class): New function. Gets the (cached)
coroutine traits type for a given coroutine. Extracted from
coro_promise_type_found_p and refactored to cache the result.
(coro_promise_type_found_p): Use the two functions above.
(build_template_co_await_expr): New function. Builds a
CO_AWAIT_EXPR representing a CO_AWAIT_EXPR in a template
declaration.
(build_co_await): Use the above if processing_template_decl, and
give it a proper type.
(coro_dependent_p): New function. Returns true iff its
argument is a type-dependent expression OR the current functions
traits class is type dependent.
(finish_co_await_expr): Defer expansion only in the case
coro_dependent_p returns true.
(finish_co_yield_expr): Ditto.
(finish_co_return_stmt): Ditto.
* pt.cc (type_dependent_expression_p): Do not treat
CO_AWAIT/CO_YIELD specially.
2025-05-01 Arsen Arsenović <arsen@aarsen.me>
Backported from master:
2024-07-30 Arsen Arsenović <arsen@aarsen.me>
PR c++/115906
* parser.cc (cp_parser_unary_expression): Reject await
expressions if use of local variables is currently forbidden.
(cp_parser_yield_expression): Reject yield expressions if use of
local variables is currently forbidden.
2025-05-01 Arsen Arsenovic <arsen@aarsen.me>
Backported from master:
2024-07-30 Arsen Arsenovic <arsen@aarsen.me>
PR c++/115906
* coroutines.cc (register_local_var_uses): Only process
PARM_DECL and VAR_DECLs.
2025-05-01 Arsen Arsenović <arsen@aarsen.me>
Backported from master:
2024-07-25 Arsen Arsenović <arsen@aarsen.me>
PR c++/111728
* coroutines.cc (rewrite_param_uses): Skip unevaluated
subexpressions.
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
2024-07-16 Iain Sandoe <iain@sandoe.co.uk>
PR c++/115434
PR c++/110871
PR c++/110872
* constexpr.cc (cxx_eval_constant_expression): Handle EH_ELSE_EXPR.
* contracts.cc (finish_contract_attribute): Remove excess line.
(build_contract_condition_function): Post condition handlers are
void now.
(emit_postconditions_cleanup): Remove.
(emit_postconditions): New.
(add_pre_condition_fn_call): New.
(add_post_condition_fn_call): New.
(apply_preconditions): New.
(apply_postconditions): New.
(maybe_apply_function_contracts): New.
(apply_postcondition_to_return): Remove.
* contracts.h (apply_postcondition_to_return): Remove.
(maybe_apply_function_contracts): Add.
* coroutines.cc (coro_build_actor_or_destroy_function): Do not
copy contracts to coroutine helpers.
* decl.cc (finish_function): Handle wrapping a possibly
transformed function body in contract checks.
* typeck.cc (check_return_expr): Remove handling of post
conditions on return expressions.
2025-04-30 Patrick Palka <ppalka@redhat.com>
Backported from master:

View File

@ -1,3 +1,88 @@
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
2024-08-02 Iain Sandoe <iain@sandoe.co.uk>
Arsen Arsenović <arsen@aarsen.me>
PR c++/105475
* g++.dg/coroutines/pr103868.C: Add std::coroutine_handle
members we check for now.
* g++.dg/coroutines/pr105287.C: Ditto.
* g++.dg/coroutines/pr105301.C: Ditto.
* g++.dg/coroutines/pr94528.C: Ditto.
* g++.dg/coroutines/pr94879-folly-1.C: Ditto.
* g++.dg/coroutines/pr94883-folly-2.C: Ditto.
* g++.dg/coroutines/pr98118.C: Ditto.
* g++.dg/coroutines/pr105475.C: New test.
* g++.dg/coroutines/pr105475-1.C: New test.
* g++.dg/coroutines/pr105475-2.C: New test.
* g++.dg/coroutines/pr105475-3.C: New test.
* g++.dg/coroutines/pr105475-4.C: New test.
* g++.dg/coroutines/pr105475-5.C: New test.
* g++.dg/coroutines/pr105475-6.C: New test.
* g++.dg/coroutines/pr105475-broken-spec.C: New test.
* g++.dg/coroutines/pr105475-broken-spec-2.C: New test.
2025-05-01 Arsen Arsenović <arsen@aarsen.me>
Backported from master:
2024-08-01 Arsen Arsenović <arsen@aarsen.me>
PR c++/112341
* g++.dg/coroutines/pr112341-2.C: New test.
* g++.dg/coroutines/pr112341-3.C: New test.
* g++.dg/coroutines/torture/co-yield-03-tmpl-nondependent.C: New
test.
* g++.dg/coroutines/pr112341.C: New test.
2025-05-01 Arsen Arsenović <arsen@aarsen.me>
Backported from master:
2024-07-30 Arsen Arsenović <arsen@aarsen.me>
PR c++/115906
* g++.dg/coroutines/pr115906-yield.C: New test.
* g++.dg/coroutines/pr115906.C: New test.
* g++.dg/coroutines/co-await-syntax-02-outside-fn.C: Don't rely
on default arguments.
* g++.dg/coroutines/co-yield-syntax-01-outside-fn.C: Ditto.
2025-05-01 Arsen Arsenovic <arsen@aarsen.me>
Backported from master:
2024-07-30 Arsen Arsenovic <arsen@aarsen.me>
PR c++/115906
* g++.dg/coroutines/coro-function-decl.C: New test.
2025-05-01 Arsen Arsenović <arsen@aarsen.me>
Backported from master:
2024-07-25 Arsen Arsenović <arsen@aarsen.me>
PR c++/111728
* g++.dg/coroutines/pr111728.C: New test.
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
2024-07-16 Iain Sandoe <iain@sandoe.co.uk>
PR c++/115434
PR c++/110871
PR c++/110872
* g++.dg/contracts/pr115434.C: New test.
* g++.dg/coroutines/pr110871.C: New test.
* g++.dg/coroutines/pr110872.C: New test.
2025-05-01 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
2025-03-13 Iain Sandoe <iain@sandoe.co.uk>
* lib/gm2.exp: Arrange for a '-B' option to be added for the
libstdc++ paths on targets that need it.
2025-04-30 Harald Anlauf <anlauf@gmx.de>
Backported from master:

View File

@ -1,3 +1,14 @@
2025-05-01 Mark Mentovai <mark@mentovai.com>
Backported from master:
2024-09-24 Mark Mentovai <mark@mentovai.com>
PR target/116809
* config.host: Build legacy libgcc_s.1 on hosts before macOS 10.12.
* config/i386/t-darwin: Remove reference to legacy libgcc_s.1
* config/rs6000/t-darwin: Likewise.
* config/t-darwin-libgccs1: New file.
2025-03-27 Jakub Jelinek <jakub@redhat.com>
Backported from master: