public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "victor.dyachenko at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/114147] New: tuple allocator-extended constructor requires non-explicit default constructor
Date: Wed, 28 Feb 2024 10:39:06 +0000	[thread overview]
Message-ID: <bug-114147-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114147

            Bug ID: 114147
           Summary: tuple allocator-extended constructor requires
                    non-explicit default constructor
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: victor.dyachenko at protonmail dot com
  Target Milestone: ---

GCC 10.1 fails to compile this code (GCC 9.1 is OK):

#include <tuple>
#include <memory>

struct C {
    explicit C() = default;
};

int main()
{
    std::tuple<C, int> t(std::allocator_arg, std::allocator<char>{});
}

             reply	other threads:[~2024-02-28 10:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 10:39 victor.dyachenko at protonmail dot com [this message]
2024-02-28 10:48 ` [Bug libstdc++/114147] " victor.dyachenko at protonmail dot com
2024-02-28 11:18 ` victor.dyachenko at protonmail dot com
2024-02-28 11:21 ` [Bug libstdc++/114147] [10/11/12/13 Regression] " redi at gcc dot gnu.org
2024-02-28 13:49 ` [Bug libstdc++/114147] [11/12/13 " victor.dyachenko at protonmail dot com
2024-02-28 14:31 ` [Bug libstdc++/114147] [11/12/13/14 " redi at gcc dot gnu.org
2024-02-29 20:38 ` redi at gcc dot gnu.org
2024-03-01 15:12 ` redi at gcc dot gnu.org
2024-03-04 20:25 ` cvs-commit at gcc dot gnu.org
2024-03-16 10:19 ` [Bug libstdc++/114147] [11/12/13 " cvs-commit at gcc dot gnu.org
2024-03-18 14:03 ` [Bug libstdc++/114147] [11/12 " cvs-commit at gcc dot gnu.org
2024-03-18 14:14 ` [Bug libstdc++/114147] [11 " redi at gcc dot gnu.org
2024-05-02 10:53 ` cvs-commit at gcc dot gnu.org
2024-05-02 10:54 ` redi 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-114147-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: link
Be 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).