https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62189

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
You need to change your expected outcome of your test-suite. According to the
C++ standard, the expected outcome is 0. As of [func.wrap.func.con] p9:

Postconditions: !*this if any of the following hold:
— f is a null function pointer value.
[..]

Therefore, gcc 4.9.1 is right.

Reply via email to