[PATCH] libstdc++: Remove unused config/cpu/i486/atomicity.h file [PR122172]

Hans-Peter Nilsson hp@axis.com
Tue Oct 7 17:31:34 GMT 2025


> From: Jonathan Wakely <jwakely@redhat.com>
> Date: Tue, 7 Oct 2025 17:32:55 +0100

> On Tue, 7 Oct 2025 at 17:29, Hans-Peter Nilsson <hp@axis.com> wrote:
> >
> > > From: Jonathan Wakely <jwakely@redhat.com>
> >
> > > This file is no longer used, because we always use the definitions in
> > > config/cpu/generic/atomicity_builtins/atomicity.h now.
> > >
> > > HP confirmed that the code generated by __atomic_fetch_add is fine and
> > > we don't need the handwritten assembly.
> >
> > Right, just please s/i486/CRIS/ in the subject.
> 
> Doh! I'm also planning to remove config/cpu/i486/atomicity.h which is
> also unused, and I reused the commit message.

Didn't look like this patch was in a series, so:
aren't all libstdc++-v3/config/cpu/*/atomicity.h unused?

(To all -other- wise guys: no, * doesn't match "generic" here,
as there's no libstdc++-v3/config/cpu/generic/atomicity.h)

Not to be confused with
config/cpu/generic/atomicity_builtins/atomicity.h and
config/cpu/generic/atomicity_mutex/atomicity.h (or: a
confusion being cleared up).

brgds, H-P


More information about the Libstdc++ mailing list