https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98463
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 49911 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49911&action=edit gcc11-pr98463.patch Untested fix. Before the PR49290 changes, the empty_base = true; stuff has been guarded on !addr i.e. !lval, but since r0-109524-g11f449abc6fc745486699f2f7079497d4c582d40 it doesn't do that anymore. This patch just restores that behavior.