https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123506
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Roger Sayle <[email protected]>: https://gcc.gnu.org/g:9f9b5d6946f60777694338f00652475240bf2f3e commit r16-7157-g9f9b5d6946f60777694338f00652475240bf2f3e Author: Roger Sayle <[email protected]> Date: Thu Jan 29 18:48:14 2026 +0000 Allow CONCATs in emit_group_load_1. This one line patch is a pre-requisite to a solution to PR target/123506; an effort to improve middle-end code for returning structures. Currently, emit_group_load_1 contains code to handle a CONCAT returned by force_reg. This tweak avoids the call for force_reg if the source is already a CONCAT, which allows this subroutine to be re-used by target-specific implementations of emit_group_load. Many thanks to Jeff Law for cross-platform testing. 2026-01-29 Roger Sayle <[email protected]> gcc/ChangeLog * expr.cc (emit_group_load_1): Don't call force_reg if orig_src is already a CONCAT.
