On Mon, May 25, 2020 at 01:07:27PM +0200, Miroslav Benes wrote: > > I'll try to find out which optimization does this, because it is a > > slightly different scenario than hiding __noreturn from the callees. > > Probably -fno-ipa-pure-const again. > > And it is indeed -fno-ipa-pure-const again. It still seems odd to me that GCC's dead end detection seems to break with -fno-ipa-pure-const. Do you know if these issues can be fixed on the GCC side? -- Josh