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++/109482] New: experimental/net/internet/endpoint/cons.cc FAILs Date: Wed, 12 Apr 2023 08:27:25 +0000 [thread overview] Message-ID: <bug-109482-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109482 Bug ID: 109482 Summary: experimental/net/internet/endpoint/cons.cc FAILs Product: gcc Version: 13.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: --- Host: *-*-solaris2.11 Target: *-*-solaris2.11 Build: *-*-solaris2.11 Created attachment 54839 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54839&action=edit 32-bit i386-pc-solaris2.11 cons-cons.ii Between 20230329 (b2f327b9be81326c9e59fc6da98074c909ac7408) and 20230330 (a23b33a1bdeff7bc2289d9ebb7cb7b7ec0a605f5), the experimental/net/internet/endpoint/cons.cc test began to FAIL on Solaris (11.3 and 11.4, SPARC and x86): +FAIL: experimental/net/internet/endpoint/cons.cc (test for excess errors) +UNRESOLVED: experimental/net/internet/endpoint/cons.cc compilation failed to produce executable The log shows Excess errors: /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc:78: error: non-constant condition for static assertion /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc:78: error: accessing 'in_addr::<unnamed union>::S_addr' member instead of initialized 'in_addr::<unnamed union>::S_un_b' member in constant expression The full message is /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc: In function 'int main()': /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc:78: error: non-constant condition for static assertion /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc:78: in 'constexpr' expansion of 'test_constexpr()' /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc:63: in 'constexpr' expansion of 'test_default()' /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc:15: in 'constexpr' expansion of 'std::experimental::net::v1::ip::basic_endpoint<_InternetProtocol>::address() const [with _InternetProtocol = std::experimental::net::v1::ip::tcp]()' /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/experimental/net/internet/endpoint/cons.cc:78: error: accessing 'in_addr::<unnamed union>::S_addr' member instead of initialized 'in_addr::<unnamed union>::S_un_b' member in constant expression This is no doubt due to commit e0d77144aaa56ee6e00fd0ba520b0a5c7e052423 Author: Jonathan Wakely <jwakely@redhat.com> Date: Wed Mar 22 17:00:11 2023 +0000 libstdc++: Fix constexpr functions in <experimental/internet> but I don't know what's going on. I'm attaching the preprocessed testcase.
next reply other threads:[~2023-04-12 8:27 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-12 8:27 ro at gcc dot gnu.org [this message] 2023-04-12 8:27 ` [Bug libstdc++/109482] " ro at gcc dot gnu.org 2023-04-12 11:38 ` redi at gcc dot gnu.org 2023-04-12 12:27 ` cvs-commit at gcc dot gnu.org 2023-04-12 12:29 ` redi at gcc dot gnu.org 2023-04-12 12:47 ` m.cencora at gmail dot com 2023-04-12 12:57 ` redi at gcc dot gnu.org 2023-04-12 12:59 ` redi at gcc dot gnu.org 2023-04-12 13:17 ` redi at gcc dot gnu.org 2023-04-12 13:27 ` m.cencora at gmail dot com
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-109482-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).