public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111075] New: ICE on g++.dg/torture/tail-padding1.C on darwin Date: Sat, 19 Aug 2023 14:16:37 +0000 [thread overview] Message-ID: <bug-111075-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075 Bug ID: 111075 Summary: ICE on g++.dg/torture/tail-padding1.C on darwin Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fxcoudert at gcc dot gnu.org Target Milestone: --- ICE on valid C++ code, reduced from the test failure of g++.dg/torture/tail-padding1.C observed on x86_64-apple-darwin20 (see for example at https://gcc.gnu.org/pipermail/gcc-testresults/2023-August/793205.html): $ cat z.C struct X { ~X() {} int n; char d; }; struct Y { Y(); char c[3]; }; struct Z : X, virtual Y { Z(); }; X f() { X nrvo; __builtin_memset(&nrvo, 0, sizeof(X)); return nrvo; } Z::Z() : Y(), X(f()) {} $ /tmp/irun/bin/g++ -Os z.C z.C: In copy constructor ‘constexpr X::X(const X&)’: z.C:1:8: internal compiler error: in cxx_eval_call_expression, at cp/constexpr.cc:2918 1 | struct X { ~X() {} int n; char d; }; | ^
next reply other threads:[~2023-08-19 14:16 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-08-19 14:16 fxcoudert at gcc dot gnu.org [this message] 2023-08-19 14:17 ` [Bug c++/111075] " fxcoudert at gcc dot gnu.org 2023-09-08 20:52 ` fxcoudert at gcc dot gnu.org 2024-03-04 13:01 ` [Bug c++/111075] [14 Regression] " rguenth at gcc dot gnu.org 2024-03-07 23:24 ` law at gcc dot gnu.org 2024-03-13 13:26 ` mpolacek at gcc dot gnu.org 2024-03-27 15:30 ` jakub at gcc dot gnu.org 2024-03-27 16:30 ` [Bug c++/111075] [13/14 " jakub at gcc dot gnu.org 2024-03-27 17:36 ` jakub at gcc dot gnu.org 2024-05-21 9:16 ` [Bug c++/111075] [13/14/15 " jakub 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-111075-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).