https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121007
--- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #11) > Though even there is uninitialized read I guess from temp.a. > That said, LRA obviously shouldn't hang even on code which has UB at runtime. Of course. It isn't *necessarily* UB even, perhaps this code isn't executed at all, the compiler should just finish compiling it! Instead of getting into some trivial infinite loop. Has anyone figured out what causes that loop, btw? Or what triggers it at least? It seems obvious something else in LRA does not handle VMX addresses correctly either, but what? And, of course, what do we do about it? Something that works generically so we do not get such PRs ever again would be marvelous :-)