On 1/25/2026 12:56 PM, Roger Sayle wrote:
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.  Because this change has a chance of affecting code
generation on obscure platforms, I was hoping that Jeff (and others?) might
be able to test this change on their build farms.  Pretty please.

This patch has been tested on x86_64-pc-linux-gnu with make bootstrap
and make -k check, both with and without --target_board=unix{-m32}
with no new failures.  Ok for mainline?


2026-01-25  Roger Sayle  <[email protected]>

gcc/ChangeLog
         * expr.cc (emit_group_load_1): Don't call force_reg if orig_src
         is already a CONCAT.
Crosses were all clean.  And reviewing the patch, it's OK for the trunk.  Good luck on the rest of 123506 :-)

jeff


Reply via email to