Re: [PATCH] libstdc++: Remove duplicate include header from ranges_algobase.h

Michael Levine (BLOOMBERG/ 731 LEX) mlevine55@bloomberg.net
Mon Jul 22 19:52:43 GMT 2024


The bits/stl_algobase.h header was added to bits/ranges_algobase.h separately through two related commits:

https://github.com/gcc-mirror/gcc/commit/674d213ab91871652e96dc2de06e6f50682eebe0

https://github.com/gcc-mirror/gcc/commit/0bb1db32ccf54a9de59bea718f7575f7ef22abf5

The comment for the first time it is included in the file is also incorrect (my error from that 2nd PR) since it is really being included for __memcmp, not __memcpy

This patch removes the duplicate header include.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20240722/a3fd264b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: removeduplicateinclude.patch
Type: application/octet-stream
Size: 617 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20240722/a3fd264b/attachment.obj>


More information about the Gcc-patches mailing list