From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3298 invoked by alias); 20 Feb 2020 09:24:44 -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 3186 invoked by uid 89); 20 Feb 2020 09:24:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Feb 2020 09:24:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582190663; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0T0pVgA0ZeLsfmh7UtvwEG0jMH6rRnBC4lxg95rhaRc=; b=EHv8jM3MxQfeG12bx8Dr/H1OywoYWKvb08XkZDe4XTZ8ieitciaBI30EqK0c9ufvDcpxi/ Myi9LFHeqROHRUy0hOcy03WesOBpydCsN6LZqH4iPcyI0sSKAyfagLIy+2GrWBmgGZRbXZ J49+7p64+VjhsJr0XF6dEAlAaTVoMNs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-418-M9IWDwQUOhakXiKoWG8jcg-1; Thu, 20 Feb 2020 04:24:19 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BB0A0800D53; Thu, 20 Feb 2020 09:24:18 +0000 (UTC) Received: from localhost (unknown [10.33.36.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id 527285DA60; Thu, 20 Feb 2020 09:24:18 +0000 (UTC) Date: Thu, 20 Feb 2020 09:24:00 -0000 From: Jonathan Wakely To: Patrick Palka Cc: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: Re: [PATCH 1/2] libstdc++: Forward second argument of views::iota using the correct type Message-ID: <20200220092417.GS9441@redhat.com> References: <20200220045332.1385014-1-ppalka@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200220045332.1385014-1-ppalka@redhat.com> X-Clacks-Overhead: GNU Terry Pratchett X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2020-02/txt/msg01151.txt.bz2 On 19/02/20 23:53 -0500, Patrick Palka wrote: >We are forwarding the second argument of views::iota using the wrong type, >causing compiling errors when calling it with a value and bound of differe= nt >types, like in the test case below. Good catch, OK for master.