[Bug c/81854] weak alias of an incompatible symbol accepted

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 2 23:57:00 GMT 2017


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

--- Comment #17 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Mon Oct  2 23:57:19 2017
New Revision: 253372

URL: https://gcc.gnu.org/viewcvs?rev=253372&root=gcc&view=rev
Log:
Clean up more fallout from r252976.

libatomic/ChangeLog:
2017-10-02  Martin Sebor  <msebor@redhat.com>

        PR c/81854
        * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
        a function pointer rather than void* to avoid GCC 8 warnings.
        * configure: Regenerate.
        * libatomic_i.h: Declare ifunc resolvers to return function
        pointers rather than void*.

Modified:
    trunk/libatomic/ChangeLog
    trunk/libatomic/acinclude.m4
    trunk/libatomic/configure
    trunk/libatomic/libatomic_i.h


More information about the Gcc-bugs mailing list