diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-05-06 14:31:06 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-05-06 14:51:35 +0100 |
commit | aa8bdfee1db818b9a56908ab0197ff02c54bf281 (patch) | |
tree | b146de66f6ef7f5ed91fdac9477cadaf46b67e46 /libgomp/libgomp.map | |
parent | e112e37f2920bcc9185e53b754d9145aac912c72 (diff) | |
download | gcc-aa8bdfee1db818b9a56908ab0197ff02c54bf281.zip gcc-aa8bdfee1db818b9a56908ab0197ff02c54bf281.tar.gz gcc-aa8bdfee1db818b9a56908ab0197ff02c54bf281.tar.bz2 |
libstdc++: Fix test that fails on Solaris [PR104731]
On Solaris the dirent::d_name member is a single char, causing this test
to fail with warnings about buffer overflow. Change the test to use a
union with additional space for writing a string to the d_name member.
libstdc++-v3/ChangeLog:
PR libstdc++/104731
* testsuite/27_io/filesystem/iterators/error_reporting.cc:
Use a trailing char array as storage for dirent::d_name.
Diffstat (limited to 'libgomp/libgomp.map')
0 files changed, 0 insertions, 0 deletions