https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71924
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- On second thought, the right fix is to report the problem consistently for all kinds of storage, including auto variables, alloca-ted storage, and compound literals.