[committed 2/2] libstdc++: Fix test that fails for C++98

Jonathan Wakely jwakely@redhat.com
Fri Jul 31 19:04:13 GMT 2020


Local classes have no linkage so cannot be used as template arguments in
C++98.

libstdc++-v3/ChangeLog:

         * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/sizes.cc:
         Move struct to namespace scope.


Tested powerpc64le-linux, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1390 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200731/673ce0b0/attachment.bin>


More information about the Gcc-patches mailing list