cxx-mem-model merge [6 of 9] - libstdc++-v3
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Tue Nov 8 19:54:00 GMT 2011
> From: Andrew MacLeod <amacleod@redhat.com>
> Date: Mon, 7 Nov 2011 15:44:47 +0100
> >> On 11/06/2011 07:38 PM, Hans-Peter Nilsson wrote:
> >>> This (formally a change in the range 181027:181034) got me three
> >>> libstdc++ regressions for cris-elf,
> >> yes, I have a final pending patch which didn't make it to the branch
> >> before the merge. It changes the behaviour of atomic_flag on targets
> >> with no compare_and_swap. I *think* it will resolve your problem.
> >>
> >> I've attached the early version of the patch which you can try. Its
> >> missing a documentation change I was going to add tomorrow before
> >> submitting, but we can see if it resolves your problem. Give it a shot
> >> and let me know.
> > Sorry, no it didn't help. No additional regressions either
> > though, but the undef'd reference changed to two:
> I should also change it so that the compiler issues an error if
> atomic_thread_fence doesn't resolve to a something since that implies
> there is no __sync_sychronize() either, which is also minimally expected
> at this point. It should never become an external reference.
JFTR, you already know this; I saw some commits go by that I
thought was addressing this, but didn't, and then I realized
it'd be better to track it using bugzilla, so I entered PR51038.
brgds, H-P
More information about the Libstdc++
mailing list