[committed] libstdc++: Protect against macros

Matthias Kretz m.kretz@gsi.de
Tue Jun 6 12:23:37 GMT 2023


pushed to trunk, will backport later

tested on x86_64-pc-linux-gnu

------- >8 --------

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

libstdc++-v3/ChangeLog:

	* include/experimental/bits/simd.h (__bit_cast): Use
	__gnu__::__vector_size__ instead of gnu::vector_size.
---
 libstdc++-v3/include/experimental/bits/simd.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


--
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Centre for Heavy Ion Research               https://gsi.de
 stdₓ::simd
──────────────────────────────────────────────────────────────────────────
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-Protect-against-macros.patch
Type: text/x-patch
Size: 1228 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20230606/b2ef670a/attachment.bin>


More information about the Libstdc++ mailing list