Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1851669imm; Mon, 3 Sep 2018 11:06:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZX5iws9yiJgut4y6ZUU/ib1F1HqX9V4dCcd6RSDyIn20R5XF1/yWKhzLeo/bNZzc9AHWuO X-Received: by 2002:a17:902:18a:: with SMTP id b10-v6mr29753239plb.62.1535997961574; Mon, 03 Sep 2018 11:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535997961; cv=none; d=google.com; s=arc-20160816; b=FyZ3nh3PstsNi7qshioeQphTs8PuJuDWGkJo2Xk4ZqGlygZoRTk7+D22IFkLrIzlC3 CkVHdAqCjQGDC1Fbt6EuVQVPB91ntukXCQDWEtWXKyb6dq9rji6sXZnJCkkPMdoxUjNu k5qlGA303tGBR/vIiQiRWnFhB+ltsRa/LHCVTuWcy1M2DOfWmdA+T9ib4LF0I4PqgIXU iUGik06966nzAT1q+24hKUabnXK+R26gcUPBsm+xMri3XTU3ZEzeTrV3WmZQsQtgEIA9 juq1NBq33cSY3TozdMfvucMGz3OCKfz9d+eOJrZGVwyN0dWvMWBqxMaA0xKbQsHWskkl P64g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Kkp5FG76M3en+ymcrA3Q22WXbQvarJuXBkfwB2yoOOs=; b=Jw0vNLwhfNvhmJkxUvsACZxa8IBWLeEXSNC+120atp5j4Z8g0LKnSCzsPcez2jl0+i /0aZz30lRt8OjYK3uQTGRiBVL6ZG/+d07lWhREQw+Ld1acF+YbUwUCg8sS3IIn8MU0lH cE+7EJgBV3KAE+jSSHnk2AnOk5lDy3VCNSw0lOg3jLqXhOoj332dJJabwzFg/yRIK0jf 2hDV/xQK3cRAgrLDoMs4sgCEbkummkzn+4d7hfxl4Ow30Tmhmkudg6qM27Y+ZawWxJQA lfNnWuoPP6d9ujnN984Teh0vUeYxZKnxAfrCxgZhygE35HDnr7Nb8cMJ7g/dr6S0O3fV sHpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="oiO4/BGF"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s81-v6si19556497pfk.213.2018.09.03.11.05.46; Mon, 03 Sep 2018 11:06:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="oiO4/BGF"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728467AbeICWZX (ORCPT + 99 others); Mon, 3 Sep 2018 18:25:23 -0400 Received: from mail-qt0-f175.google.com ([209.85.216.175]:34329 "EHLO mail-qt0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727389AbeICWZX (ORCPT ); Mon, 3 Sep 2018 18:25:23 -0400 Received: by mail-qt0-f175.google.com with SMTP id m13-v6so1398991qth.1 for ; Mon, 03 Sep 2018 11:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Kkp5FG76M3en+ymcrA3Q22WXbQvarJuXBkfwB2yoOOs=; b=oiO4/BGF8LxVRTmjLYXHRWRd6iBsAlbEf+jg7+Hx+XQrplBE8HCJbWqjUXRcIfSedy s0Vj0FocnnQ5Z87Xae6V9X4CF48jCYfig043UPs3KwDLwQSsqXLvEEqDVqmbBwgiTMVn b6QI7PGUuzuhQyb8Bt7MpHhzElO2ZsG+pqXLU0sKbE3EejMDXs0WScKmfrLIwaaFuuTf wKMpgzz8dLz2+lfp1lOh93BOM4p1Q1WBTmrzyIyVlfCTktmNxWFmbDP7h+LiT0sOWujq mQNAUJffcKSnPFKuWWIVMB5jtgGAH4tPWhhemLpkzTvkrPEooJtBuLHAGNuwyClILVul BRWg== 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=Kkp5FG76M3en+ymcrA3Q22WXbQvarJuXBkfwB2yoOOs=; b=ikJ92mzLKkbEphsIBeUJfDhHeo3aLgDTM96KTc9HMgMFVZzRgzuvEzcJ0vUK3RsHj0 5O15qFDXQAmW3GBz1C5+Zw9p3V/hNz60B4QR7baB9/4lW4KMn5JS4xiFSQzv4aBy86kR WLyKivlpe9iFJbRHOYvFv84L74jB3tH3K1jDQBZyw/aE9eIAPaU0NkojwxX0AHipxu0i +0t6FHF1mMVy1nf4qowAlYKm4Pp22jaHOeoh/2BKQLMXL12lOMoRTA1CILZ28htogJZN xL47ZfzJ/irqeehVplbZMS0W0woY4WHepZC5Hmb+5cxaC6bzBnzwpZeE9UdzcJ29Nfpe Zh7g== X-Gm-Message-State: APzg51Cgczbha2pAOkNWqW7IYtmpMTIn+EIgomnkHyiKgnzyVx6NYEyM 9x0e2UWoJj+e3HaWWVwVboxLWtQnYeYy81BR/0NLsuGZnuI= X-Received: by 2002:a0c:aac9:: with SMTP id g9-v6mr26832134qvb.78.1535997845561; Mon, 03 Sep 2018 11:04:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac8:34a7:0:0:0:0:0 with HTTP; Mon, 3 Sep 2018 11:03:45 -0700 (PDT) In-Reply-To: <20180901141747.GA20900@nautica> References: <20180831170514.24665-1-miguel.ojeda.sandonis@gmail.com> <20180831170514.24665-7-miguel.ojeda.sandonis@gmail.com> <20180901101430.GA21877@nautica> <20180901141747.GA20900@nautica> From: Miguel Ojeda Date: Mon, 3 Sep 2018 20:03:45 +0200 Message-ID: Subject: Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks To: Dominique Martinet Cc: Linus Torvalds , linux-kernel , Eli Friedman , Christopher Li , Kees Cook , Ingo Molnar , Geert Uytterhoeven , Arnd Bergmann , Greg Kroah-Hartman , Masahiro Yamada , Joe Perches , Nick Desaulniers Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dominique, On Sat, Sep 1, 2018 at 4:17 PM, Dominique Martinet wrote: > > I'm honestly not using icc much, I just have access to machines where it > is installed... > Actually, now I'm looking there is some html documentation installed > along with icc, but it does not seem complete; instead it points to > software.intel.com ... which has _some_ documentation on attributes, but > is missing a _lot_ of them, see : > https://software.intel.com/en-us/cpp-compiler-18.0-developer-guide-and-reference-attributes > Hm... I am finishing v3 and I was thinking of adding this link (since it is what we should link to), but it has so little information on just a few attributes that I don't think it is worth it :-( Thanks for finding it out, though! Cheers, Miguel