https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53896
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Ok, after a discussion with Honza, we're not planning to fix that. As mentioned in the warning info, it's still up to user to mark the function as pure. Having a call to a noreturn function in a condition is tricky to handle by compiler.