From patchwork Wed Oct 15 08:47:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 399820 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 531F01400A3 for ; Wed, 15 Oct 2014 19:47:36 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; q=dns; s=default; b=qC943Hg2GgervL7yO 5j8sVgPhqJDIsN2EOfVzcq4V9wHQtSaHEconuQnFkgeAl9031A4oRhh1ephgZjCl 8L+iBik+qja3GNj70z+T1VTeXXOlprYcjXXrBulbDOYwarLGj6NRmOSFpvzYxUJh WODE6jsOa/Zw0T5V1yNrEoBOqY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; s=default; bh=zMg7Ex1e7Ta3JmpMdd5cPhJ rTOA=; b=bP1yQVNsczQ3wjLaGcPWJ3ZBUAkbBlvce6j5I0uPtsUyD70HUKnl8nE TnJb0y6cwnN8GglAcT+v6hjLi6wFYBwNrBAVeXLsU6gZPbaXrY3OcFA2N8Kx3nPK SDL1jQ6gr8Siq8r5Vr5mpVvGRvJjboymQPbdHjT/NiDrS+0lOPq0= Received: (qmail 22247 invoked by alias); 15 Oct 2014 08:47:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 22162 invoked by uid 89); 15 Oct 2014 08:47:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: aserp1040.oracle.com Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 15 Oct 2014 08:47:25 +0000 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s9F8lJpR014380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Oct 2014 08:47:20 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s9F8lI05022569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Oct 2014 08:47:19 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s9F8lIvC022521; Wed, 15 Oct 2014 08:47:18 GMT Received: from [192.168.1.4] (/79.52.197.187) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 15 Oct 2014 01:47:17 -0700 Message-ID: <543E3492.2010201@oracle.com> Date: Wed, 15 Oct 2014 10:47:14 +0200 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: DJ Delorie , Jason Merrill CC: nathan@codesourcery.com, gcc-patches@gcc.gnu.org Subject: Re: __intN patch 3/5: main __int128 -> __intN conversion. References: <201408132211.s7DMBGBu016387@greed.delorie.com> <201408220515.s7M5Fhpa007479@greed.delorie.com> <201408221924.s7MJOcjB022631@greed.delorie.com> <201408260303.s7Q33nqm024601@greed.delorie.com> <201409302314.s8UNE7LP020494@greed.delorie.com> <542CC4FA.70609@redhat.com> <201410020352.s923qLlm002274@greed.delorie.com> <542D5FA4.6020401@redhat.com> <201410021641.s92GfTcV024373@greed.delorie.com> <542D8F05.7090705@redhat.com> <201410021800.s92I04Nk026647@greed.delorie.com> <542EAD69.9090306@redhat.com> <201410032011.s93KBpc2005414@greed.delorie.com> <54303821.2090205@redhat.com> <201410082127.s98LRGn7032386@greed.delorie.com! > <54369042.7020306@redhat.com> <201410132054.s9DKs50U009342@greed.delorie.com> <543D2699.8000009@redhat.co! ! m> <201410141944.s9EJiw1m016585@greed.delorie.com> In-Reply-To: <201410141944.s9EJiw1m016585@greed.delorie.com> X-IsSubscribed: yes Hi, On 10/14/2014 09:44 PM, DJ Delorie wrote: >>> extensions. Is this OK? If so, is there anything else, or can I >>> check the whole mess in yet? >> Go ahead. > Thanks! Committed. A couple of small issues in std/limits and in the testsuite are causing regressions which I'm fixing with the below. Thanks, Paolo. ////////////////////// 2014-10-15 Paolo Carlini * include/std/limits: Remove stray spaces after backslash. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error line number. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. Index: include/std/limits =================================================================== --- include/std/limits (revision 216237) +++ include/std/limits (working copy) @@ -1422,7 +1422,7 @@ min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min_b (TYPE, BITSIZE); } \ \ static _GLIBCXX_CONSTEXPR TYPE \ - max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; } \ + max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; } \ \ static _GLIBCXX_USE_CONSTEXPR int digits \ = BITSIZE - 1; \ Index: testsuite/20_util/declval/requirements/1_neg.cc =================================================================== --- testsuite/20_util/declval/requirements/1_neg.cc (revision 216237) +++ testsuite/20_util/declval/requirements/1_neg.cc (working copy) @@ -19,7 +19,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-error "static assertion failed" "" { target *-*-* } 2142 } +// { dg-error "static assertion failed" "" { target *-*-* } 2201 } #include Index: testsuite/20_util/make_signed/requirements/typedefs_neg.cc =================================================================== --- testsuite/20_util/make_signed/requirements/typedefs_neg.cc (revision 216237) +++ testsuite/20_util/make_signed/requirements/typedefs_neg.cc (working copy) @@ -48,5 +48,5 @@ // { dg-error "required from here" "" { target *-*-* } 40 } // { dg-error "required from here" "" { target *-*-* } 42 } -// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1807 } -// { dg-error "declaration of" "" { target *-*-* } 1771 } +// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1866 } +// { dg-error "declaration of" "" { target *-*-* } 1830 } Index: testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc =================================================================== --- testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc (revision 216237) +++ testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc (working copy) @@ -48,5 +48,5 @@ // { dg-error "required from here" "" { target *-*-* } 40 } // { dg-error "required from here" "" { target *-*-* } 42 } -// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1710 } -// { dg-error "declaration of" "" { target *-*-* } 1674 } +// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1754 } +// { dg-error "declaration of" "" { target *-*-* } 1718 }