public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67844] New: Cannot make tuple of class with template constructor
@ 2015-10-04 18:41 rbock at eudoxos dot de
  2015-10-04 21:29 ` [Bug c++/67844] [6 Regression] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rbock at eudoxos dot de @ 2015-10-04 18:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67844
           Summary: Cannot make tuple of class with template constructor
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rbock at eudoxos dot de
  Target Milestone: ---

Created attachment 36443
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36443&action=edit
struct with template constructor, instantiate, try to make_tuple from the
instance

If the constructor of a class is a template (see attached code), trying to call
make_tuple on an instance of this class fails to compile with g++-6.0.0.

The first error in the output is 

include/c++/6.0.0/type_traits:138:12: error: invalid use of incomplete type
‘struct std::is_convertible<const std::tuple<A>&, A>’

g++-4.9 as well as clang-3.[456] compile the code just fine.
>From gcc-bugs-return-498730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 04 19:13:55 2015
Return-Path: <gcc-bugs-return-498730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61280 invoked by alias); 4 Oct 2015 19:13:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 61244 invoked by uid 48); 4 Oct 2015 19:13:51 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/67843] experimental/filesystem/iterators/directory_iterator.cc fails on armv5t
Date: Sun, 04 Oct 2015 19:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67843-4-SxuYcOZprA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67843-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67843-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-10/txt/msg00285.txt.bz2
Content-length: 246

https://gcc.gnu.org/bugzilla/show_bug.cgi?idg843

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm unable to build an armv7 toolchain, it keeps failing with an ICE, so I'll
need more information to do anything about this.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-05  9:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-04 18:41 [Bug c++/67844] New: Cannot make tuple of class with template constructor rbock at eudoxos dot de
2015-10-04 21:29 ` [Bug c++/67844] [6 Regression] " redi at gcc dot gnu.org
2015-10-05  1:55 ` ville.voutilainen at gmail dot com
2015-10-05  7:47 ` ville.voutilainen at gmail dot com
2015-10-05  8:43 ` rbock at eudoxos dot de
2015-10-05  9:58 ` ville at gcc dot gnu.org
2015-10-05  9:58 ` ville.voutilainen at gmail dot com

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).