public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/104731] New: 27_io/filesystem/iterators/error_reporting.cc FAILs Date: Tue, 01 Mar 2022 10:40:54 +0000 [thread overview] Message-ID: <bug-104731-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104731 Bug ID: 104731 Summary: 27_io/filesystem/iterators/error_reporting.cc FAILs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: *-*-solaris2.11 Since 20220202, the 27_io/filesystem/iterators/error_reporting.cc test FAILs on Solaris (32 and 64-bit, sparc and x86): +FAIL: 27_io/filesystem/iterators/error_reporting.cc (test for excess errors) Excess errors: /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/bits/char_traits.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 7 bytes into a region of size 6 overflows the destination [-Wstringop-overflow=] Full output is In file included from /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/ios:40, from /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/istream:38, from /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/sstream:38, from /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/complex:45, from /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/ccomplex:39, from /vol/gcc/src/hg/master/local/libstdc++-v3/include/precompiled/stdc++.h:54: In static member function 'static std::char_traits<char>::char_type* std::char_traits<char>::copy(char_type*, const char_type*, std::size_t)', inlined from 'dirent* readdir(DIR*)' at /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/27_io/filesystem/iterators/error_reporting.cc:52: /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/bits/char_traits.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 7 bytes into a region of size 6 overflows the destination [-Wstringop-overflow=] /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/27_io/filesystem/iterators/error_reporting.cc: In function 'dirent* readdir(DIR*)': /var/gcc/regression/master/11.4-gcc-gas/build/sparc-sun-solaris2.11/libstdc++-v3/include/bits/char_traits.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' writing 7 bytes into a region of size 6 overflows the destination [-Wstringop-overflow=] /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/27_io/filesystem/iterators/error_reporting.cc: In function 'dirent* readdir(DIR*)': /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/27_io/filesystem/iterators/error_reporting.cc:31: note: at offset 18 into destination object 'global_dirent' of size 24 <sys/dirent.h> has char d_name[1]; /* name of file */ which conforms to POSIX.1 AFAICS.
next reply other threads:[~2022-03-01 10:40 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-01 10:40 ro at gcc dot gnu.org [this message] 2022-03-01 10:41 ` [Bug libstdc++/104731] " ro at gcc dot gnu.org 2022-03-01 12:27 ` redi at gcc dot gnu.org 2022-03-01 12:30 ` redi at gcc dot gnu.org 2022-03-01 12:33 ` redi at gcc dot gnu.org 2022-05-06 8:32 ` jakub at gcc dot gnu.org 2022-05-06 13:52 ` cvs-commit at gcc dot gnu.org 2022-05-06 13:54 ` redi at gcc dot gnu.org 2022-05-09 10:13 ` ro at CeBiTec dot Uni-Bielefeld.DE 2022-05-09 11:27 ` redi at gcc dot gnu.org 2022-05-09 11:29 ` cvs-commit at gcc dot gnu.org 2022-05-09 11:33 ` ro at CeBiTec dot Uni-Bielefeld.DE 2022-05-09 12:02 ` cvs-commit at gcc dot gnu.org 2022-05-09 12:03 ` redi at gcc dot gnu.org 2022-06-15 8:15 ` cvs-commit at gcc dot gnu.org 2022-11-23 10:20 ` cvs-commit at gcc dot gnu.org 2022-12-21 11:37 ` cvs-commit at gcc dot gnu.org 2022-12-22 11:45 ` cvs-commit at gcc dot gnu.org 2023-04-27 20:08 ` cvs-commit at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-104731-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).