From owner-freebsd-standards@freebsd.org Thu Feb 22 21:10:55 2018 Return-Path: Delivered-To: freebsd-standards@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CF1AF01386 for ; Thu, 22 Feb 2018 21:10:55 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE046798CB for ; Thu, 22 Feb 2018 21:10:54 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-qt0-x22f.google.com with SMTP id d8so8142318qtm.0 for ; Thu, 22 Feb 2018 13:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yr7jqfdI29yCeaPTLGpIgNIo3sHlEa2eW4pyEEz+ydg=; b=o5Udjgm9WO7gwmen0OWMpKUckYMP4mBFsPlmWDhChlsQJDPiwGumLtT09H6dxkjyje TlULmr+PdfSMxa3QTUmGlaLZ+C+7ISx/7gBVOTYB9BBDZ+cX5cz5hLHP7agETz9qldc1 ZSlAZ00m++TVOoI5gLPTDtqvMKHVtv+eHO/yI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yr7jqfdI29yCeaPTLGpIgNIo3sHlEa2eW4pyEEz+ydg=; b=q9mAdtaveqeNbsnwwFpFpyOC2p6Knq8he4/Pw3G+fT/8F6pBflaqbbD5hHG+QLA5Ur Nlu2iNM+yw4QpFkmateslffZzYTHOOchjLIJeHdnpPYQo+lhoaw+wwKKAg/xdab6ZnT9 zNGFXHbQirHHsblfgpQ2uXMpAxP8ldqilescZ9z/Ff0w0d+Y4W2H0w2ZUrdFzs5fJeEU FIqbtPuwyaI3ha1v8hP/J8rypIjOh64kMcZ/hQv3s540Ej5bU2w4KDvqMfmQUGZeQkOW 1sHvevulDJMHbqVTr5+PKUfLo8XsXBZIwN9lXJJru1NtOxSjyjAwQy6nzVHi+D9kZqRh XhfA== X-Gm-Message-State: APf1xPBOuM/pE7cajG13lTwLpttk/SGAxAaVMJP2KyzSrm3X0wqqWVRn xpHvLK0C5abQcBQZSNKDcABMUd7xmMk4af6hTkRyiw== X-Google-Smtp-Source: AH8x227lftP2q90KblKwH8ZT41aMmq309Wiqgn7+X25bkcMp8WnyvHLFI/yUl2RlWnRL7+tM9K0pY4myd/9zwIDI3y4= X-Received: by 10.200.62.1 with SMTP id z1mr12714198qtf.218.1519333854152; Thu, 22 Feb 2018 13:10:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.25.173 with HTTP; Thu, 22 Feb 2018 13:10:23 -0800 (PST) In-Reply-To: References: <20180221032247.GA81670@ns.kevlo.org> <20180221104400.GU94212@kib.kiev.ua> <20180222112752.10da7e51@kalimero.tijl.coosemans.org> <20180222105608.GE94212@kib.kiev.ua> From: Eitan Adler Date: Thu, 22 Feb 2018 13:10:23 -0800 Message-ID: Subject: Re: Marking select(2) as restrict To: cem@freebsd.org Cc: FreeBSD Hackers , FreeBSD Standards Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 21:10:55 -0000 On 22 February 2018 at 12:04, Conrad Meyer wrote: > > In my local testing, neither Clang nor GCC6 produces any error or > warning for this, which is disappointing. I forget the exact version but gcc produces this warning: restrict.c:10:6: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] meh(&a, &a); -- Eitan Adler