From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130399 invoked by alias); 3 Jun 2019 09:46:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 130385 invoked by uid 89); 3 Jun 2019 09:46:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*i:sk:6a07e45, H*f:sk:6a07e45, 90695, HContent-Transfer-Encoding:8bit X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Jun 2019 09:46:04 +0000 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 91B003086222; Mon, 3 Jun 2019 09:46:03 +0000 (UTC) Received: from localhost (unknown [10.33.36.135]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3B0AE1001DE4; Mon, 3 Jun 2019 09:46:03 +0000 (UTC) Date: Mon, 03 Jun 2019 09:46:00 -0000 From: Jonathan Wakely To: Szabolcs Nagy Cc: "libstdc++@gcc.gnu.org" , "gcc-patches@gcc.gnu.org" , nd Subject: Re: [PATCH] Add noexcept to tuple<> and simplify tuple noexcept-specifiers Message-ID: <20190603094602.GC2599@redhat.com> References: <20190531145802.GA602@redhat.com> <6a07e458-c242-c95c-5716-6d1b442e1553@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6a07e458-c242-c95c-5716-6d1b442e1553@arm.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-06/txt/msg00048.txt.bz2 On 03/06/19 09:44 +0000, Szabolcs Nagy wrote: >On 31/05/2019 15:58, Jonathan Wakely wrote: >>     * include/std/tuple (tuple<>): Add noexcept to allocator-extended >>     constructors. >>     (tuple::__nothrow_default_constructible()): New helper >>     function. >>     (tuple::tuple(), explicit tuple::tuple()): Use helper. >> >> Tested powerpc64le-linux, committed to trunk. > >on aarch64* i see > >FAIL: g++.dg/cpp0x/noexcept15.C -std=c++14 (test for excess errors) > >In file included from /S/gcc/testsuite/g++.dg/cpp0x/noexcept15.C:4: >/B/aarch64-none-linux-gnu/libstdc++-v3/include/type_traits: In instantiation of 'struct std::is_nothrow_move_constructible': >/S/gcc/testsuite/g++.dg/cpp0x/noexcept15.C:14:5: required from 'single::single(single&&) [with Tp = Blob]' >/S/gcc/testsuite/g++.dg/cpp0x/noexcept15.C:23:51: required from 'constexpr single::type> make_single(Tp&&) [with Tp = >Blob&; typename std::decay<_Tp>::type = Blob]' >/S/gcc/testsuite/g++.dg/cpp0x/noexcept15.C:31:18: required from here >/B/aarch64-none-linux-gnu/libstdc++-v3/include/type_traits:1111:52: error: static assertion failed: template argument must be a complete class >or an unbounded array Yes, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90695