https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105874
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:90129d39ca0fc1d2ac9cf960379feccea878bd90 commit r13-1378-g90129d39ca0fc1d2ac9cf960379feccea878bd90 Author: Eric Botcazou <ebotca...@adacore.com> Date: Fri Jul 1 09:59:05 2022 +0200 Amend fix for PR middle-end/105874 The original fix is very likely too big a hammer. gcc/ PR middle-end/105874 * expr.cc (expand_expr_real_1) <normal_inner_ref>: Force EXPAND_MEMORY for the expansion of the inner reference only in the usual cases where a memory reference is required.