This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] libstdc++/28671
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 31 Aug 2006 20:06:15 +0200
- Subject: Re: [v3] libstdc++/28671
- References: <20060831124919.4e18dbb4.bkoz@redhat.com>
Benjamin Kosnik wrote:
This removes inlined helper function definitions from atomicity.h,
restoring the behavior present in 3.2-4.1 libstdc++.
Why this heavy hand? Only because of the x86 quirks we are penalizing
everything else and now we have to reopen libstdc++/24692.
If we change the test for _GLIBCXX_ATOMIC_BUILTINS to be smarter (in
particular, it can simply be skipped whenever that target provides an
implementation of the atomic functions) then we can fix the issue in a
better way.
Paolo.