Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3151574imm; Sun, 19 Aug 2018 13:29:52 -0700 (PDT) X-Google-Smtp-Source: AA+uWPza0k3VTEorqxbmLXmXhdL1upK65gKIsHSgCpI+UIddDh8Q/V8D/qBDZX4P0fywrAiiDGFu X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr42240696plp.14.1534710592047; Sun, 19 Aug 2018 13:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534710592; cv=none; d=google.com; s=arc-20160816; b=dDUBDAV4ZpNGYP76iiaKj8d1RHVFFf+/XJgsQZwYIKNDmaVbtg3kZxLbRG8BRmMRme Lg64+OBRUWWKmxTqx+jeZb2Fb/HKOs4AYlnlu2pYvlD8ENhIHDVDIHpx+r6cSgR0RJMe QDQzKrz3P9vnxmkBoRBaebEA7n8SekAjXCFXmq3iUGEfqF+UvW7QMP1F/xghwShU/6DW QRjOMB6JIs5XDMnnJEkn/UHs36o6XECHFLLrB+EBDCHok3WF8fGzAElRiFDS1+H2/dKM PFkiCIYlpfqp3O5z9sRtxrlbIzViM6qvo/y/Q2CaSbaMn50HfOLcGUWydJ4BEi/dweMR tUFQ== 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 :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=KALrPVZhv+Pq7ddzg8b4zbzs9zKWiphfvp9Iz01Q05g=; b=nN9r/NZZRmgM/iwajKnziLI4f4Co05W0hfAWnyB0wNb0ODP3tK8lDTYCyr+MzV7zHJ 3AIShl8LraRVmCEWDgQVnUH6+AKn3DUtAv2ZKcuVQJe6tM0eg1264Euc7MYuaPFyOEI1 XHbYBE6QZPdEtgm5dKkLJTPA8v+INMrxdWLtrGWBCe1rp3jv//g/UY6hN4D8cbUmFlTY 77YwRePYEbQD5ybMZ9sXgP3RzLmYStXFbm57rzOIBIWVy2QkDxOzlQElnBpk4wzdghiF WFFhSJhpaXzhWlHXUHFHHK30kd/7NV37p8varYw+9oBDtlO/lMsNWgQuP/aIzfQbUb6y X7gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Xyoxjk33; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v132-v6si7725327pgb.333.2018.08.19.13.29.37; Sun, 19 Aug 2018 13:29:52 -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=@linux-foundation.org header.s=google header.b=Xyoxjk33; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbeHSXlN (ORCPT + 99 others); Sun, 19 Aug 2018 19:41:13 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:53133 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbeHSXlN (ORCPT ); Sun, 19 Aug 2018 19:41:13 -0400 Received: by mail-it0-f67.google.com with SMTP id d9-v6so17929433itf.2; Sun, 19 Aug 2018 13:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KALrPVZhv+Pq7ddzg8b4zbzs9zKWiphfvp9Iz01Q05g=; b=Xyoxjk33fGxY7KWve7mOVZt7IBmEZsmfyFmD/tO6A6OpAjy7j/x6tMEHoI11tlGsTb NAI+uVoYM+r4h4m9RgYxOLKGqZQe/6M4zvMGSRPbi8S46zsNStyiabV9ZNwSQbnGJWaK TYc1+5alwoJQqrLgDOBapcAwNku5YcqrVF4PI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KALrPVZhv+Pq7ddzg8b4zbzs9zKWiphfvp9Iz01Q05g=; b=nQv5890RCi35mlsRJIPPh1WKRq/ziYW5qRU7yjmzTyK5bTNsO3Dspc1mauuuMOSnQ9 1JrALLnPP1CYSmutH2WaYZb+tHwB82IArjPgq7DbGRxKJrWAHnpHWqGEBeXryboHPFeJ Mnj22eNwajptmBk+M96Tn7XFq6mqaEAEeauhRiXGz9VbBl7zo/5tal3T5tDxMYq3rvS2 kI3EcnHM/fR2Idqkq+Fq2YNtI74QifD8CZg6Y4J/DO4Gg2yB+UKMQtSHaExZJmISbogo rsKDnDRcNBknyPGBjD0mQL5sVZ7ve7UYuJ8I7WSwtGZgm1mytLwHZHCurORJdzALiFPU FtEw== X-Gm-Message-State: AOUpUlEDK0og8eoWnbtPX9t6dewvBWKt6Z9lbe4fLb2LeYcwPaCUdE+x NzWq5ZJ2weH6lNxbWnzzMnHNoj4nK9XutJcT3OA= X-Received: by 2002:a24:e0ca:: with SMTP id c193-v6mr11760628ith.22.1534710510022; Sun, 19 Aug 2018 13:28:30 -0700 (PDT) MIME-Version: 1.0 References: <1534657880-11573-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: From: Linus Torvalds Date: Sun, 19 Aug 2018 13:28:18 -0700 Message-ID: Subject: Re: [RFC PATCH] compiler.h: give up __compiletime_assert_fallback() To: Nick Desaulniers Cc: Kees Cook , Masahiro Yamada , Andrew Morton , James Hogan , joe@ovn.org, daniel.santos@pobox.com, Rusty Russell , Arnd Bergmann , Christopher Li , Sparse Mailing-list , Linux Kernel Mailing List , gbiv@google.com, James Y Knight 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 On Sun, Aug 19, 2018 at 1:25 PM Nick Desaulniers wrote: > > + gbiv who wrote this cool paste (showing alternatives to > _Static_assert, which is supported by both compilers in -std=gnu89, > but not until gcc 4.6): https://godbolt.org/g/DuLsxu > > I can't help but think that BUILD_BUG_ON_MSG should use > _Static_assert, then have fallbacks for gcc < 4.6. Well, it turns out that we effectively stopped supporting gcc < 4.6 during this merge window for other reasons, so.. Linus