https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106075 --- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Also note that the longjmp testcase will not get misoptimized since we consider longjmp as using all global memory.