https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989
--- Comment #92 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:b129d6b5f5f13995d57d677afcb3e94d0d9c327f commit r14-3119-gb129d6b5f5f13995d57d677afcb3e94d0d9c327f Author: Jakub Jelinek <ja...@redhat.com> Date: Thu Aug 10 09:22:03 2023 +0200 expr: Small optimization [PR102989] Small optimization to avoid testing modifier multiple times. 2023-08-10 Jakub Jelinek <ja...@redhat.com> PR c/102989 * expr.cc (expand_expr_real_1) <case MEM_REF>: Add an early return for EXPAND_WRITE or EXPAND_MEMORY modifiers to avoid testing it multiple times.