[Bug ipa/53896] nonreturning function suggested as 'pure' candidate

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 5 10:50:00 GMT 2017


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.


More information about the Gcc-bugs mailing list