public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/96282] [8/9/10/11 Regression] internal compiler error: in output_constructor_regular_field Date: Wed, 29 Jul 2020 09:07:57 +0000 [thread overview] Message-ID: <bug-96282-4-TinHdw0btC@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-96282-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96282 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection, | |needs-reduction | CC| |marxin at gcc dot gnu.org --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Reduced test-case: #include <array> template <typename T, typename Ix, Ix Size> class Pen : std::array<T, Size> { typedef std::array<T, Size> arr; public: // Removing either "constexpr" or ": arr()" from the following // line seems to work around the problem. constexpr Pen() : arr() { } }; class Farm { public: enum Sheep { BAA, ZZZ }; template<typename T> using SheepPen = Pen<T, Sheep, ZZZ>; }; class Fence { public: constexpr Fence() { length = 12; } int length = 0; }; void cull() { static Farm::SheepPen<Fence> s; } Will you look at it Richi?
next prev parent reply other threads:[~2020-07-29 9:07 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-22 12:13 [Bug c++/96282] New: " terra at gnome dot org 2020-07-22 12:14 ` [Bug c++/96282] " terra at gnome dot org 2020-07-22 14:13 ` [Bug c++/96282] [8/9/10/11 Regression] " rguenth at gcc dot gnu.org 2020-07-22 15:35 ` jakub at gcc dot gnu.org 2020-07-29 9:07 ` marxin at gcc dot gnu.org [this message] 2020-07-31 20:33 ` ppalka at gcc dot gnu.org 2020-08-05 19:08 ` cvs-commit at gcc dot gnu.org 2020-08-07 12:40 ` [Bug c++/96282] [8/9/10 " ppalka at gcc dot gnu.org 2021-02-01 13:41 ` cvs-commit at gcc dot gnu.org 2021-04-21 21:09 ` [Bug c++/96282] [8/9 " cvs-commit at gcc dot gnu.org 2021-05-14 14:01 ` [Bug c++/96282] [8 " 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-96282-4-TinHdw0btC@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).