https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to akrl from comment #9) > Hello, > > this is apparently affecting Emacs build as well [1]. > I there a suggested way we could work around this bug? Maybe a flag to > prevent the optimization which we could use on affected systems? > > Thanks > > Andrea > > [1] <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72145> The remaining issue is analyzed to be caused by SRA so you can check whether -fno-tree-sra fixes it for you.