[PATCH] libstdc++: bvector: undef always_inline macro

Alexandre Oliva oliva@adacore.com
Wed Nov 15 05:08:40 GMT 2023


On Nov 14, 2023, Alexandre Oliva <oliva@adacore.com> wrote:

> Not only that.  It also seems to cause failures, but I messed up in my
> testing and didn't catch them.

Confirmed, at least xtreme-header* regresses, so I reverted it.

What now?  Do we (a) stick to the policy, and amend headers that use
_GLIBCXX_ALWAYS_INLINE to (a.i) define it after any other headers, and
(a.ii) undefine it at the end, (b) use Patrick's suggestion of
implementing it in c++config.h, (c) formally relax the current
(incompletely-implemented) policy and allow headers to leave the macro
defined, so that others can rely on it, or (d) introduce a new header
with the sole purpose of getting this macro defined?

-- 
Alexandre Oliva, happy hacker            https://FSFLA.org/blogs/lxo/
   Free Software Activist                   GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity
Excluding neuro-others for not behaving ""normal"" is *not* inclusive


More information about the Libstdc++ mailing list