This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] avoid ifunc warnings in libatomic configure


On 10/02/2017 05:29 PM, Steve Ellcey wrote:
On Mon, 2017-10-02 at 17:00 -0600, Martin Sebor wrote:
The attached patch tweaks the configuration check for attribute
ifunc support in libatomic to avoid the new type safety warnings.
It also changes the libatomic declarations of ifunc resolvers to
avoid the new warnings.  With it conftest.c compiles successfully
(see below) as does libatomic, and no there are regressions in
tests on x86_64.  Does it look good to check in?

I haven't been paying close attention so if Steve or someone else
already submitted a patch with the libatomic_i.h changes I can take
mine out.

Martin

I haven't submitted anything for this problem.  This patch fixed things
for my aarch64 build.  I definitely needed the libatomic_i.h changes as
well as the configure change.

Great, thank you for verifying it there!  I just committed it
in r253372.

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]