Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2141750ima; Mon, 22 Oct 2018 05:08:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV62HeQupWaKb94kd6GsiegiGefrO1HiU4JFWO3R4Cja+Myu1U9DNqaSKan9H86fm7kFdXfnh X-Received: by 2002:a62:5103:: with SMTP id f3-v6mr45243203pfb.107.1540210135579; Mon, 22 Oct 2018 05:08:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540210135; cv=none; d=google.com; s=arc-20160816; b=D570izcIayTCqaArnqcc6R6mnb6e06OFE/dv/mkM2ZCtTjJxUr1mwDmZ7KbrySOVdz /GxW5tP08UM/ZxhEjxmm40hlXb/7trLIyyOKmMR5VN9hS3z4fXlQIeDYF5g01J7iz1oe kmpv+qOcJul4RZG3O7cZLukKxlKh4F7HV7PDQnHh35Ln+dBMZe5ytyk5QImksgZtpi82 jn9SZB3MWJ3ickn6Vpdah9KbXMiW4OiQReuFNtU0sQBVbyuAhYieV8ZD2fkBYjyNyYyw G+iVAOm143cKwlZq0mbe9LWqwXgi7WynuApsLiBofJEWVdJKctINdFybYOOsL5It60mC KxSQ== 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; bh=8Gada67H4Jd9QGAjDfvKygVjXwikJjIDttAG0aOjuMc=; b=dKRVnmnpg+qgHouY4grfiRSzN0bM0aG6xOh0K7djQTsQOF8YOzE3lv0Unew7PzBKxl WX/L6R5ESYKqhKYq6Y8uxynBU4gklr4Tx06Ku1a673bWbbOU14JOXQ1pfSr5xI2h4n1L o2Hv97+ENMgKa3OzCl4jCwTMwSqlkuU1BMqKmhr6Imkoinb0NEjdUcbRX2lEdBxava95 ReP8YWzHaEBeppEztkygVqi0Igj5lpQCvS0BILXtTs6mE6vZjxFOrSlgzZ1dQBF7Z3B9 o1uiAmXGbBRga7E4TnaIFAxImHiISvtqN4tjGdzfBVBlg8+fWzHb9MK+jJxIwdyy5ETW KOXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SVW7nwuv; 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 e33-v6si3989275pld.314.2018.10.22.05.08.39; Mon, 22 Oct 2018 05:08:55 -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=SVW7nwuv; 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 S1728120AbeJVTZy (ORCPT + 99 others); Mon, 22 Oct 2018 15:25:54 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:45245 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727700AbeJVTZx (ORCPT ); Mon, 22 Oct 2018 15:25:53 -0400 Received: by mail-lf1-f68.google.com with SMTP id c24-v6so3549763lfi.12; Mon, 22 Oct 2018 04:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8Gada67H4Jd9QGAjDfvKygVjXwikJjIDttAG0aOjuMc=; b=SVW7nwuvV8faSuwXjHgcAg+cbaAg4qvM1m7dbNdvvgy1li6ZjEdVgSPdx6ABuysHfP Cnv+++CXEocixzUMTe46/i18vQIoxrBbmM4p3dut+cnKmAagVS8kzaSuGxTkhQygpmso PFQ2EiwBR2M406LA5gQkI9A8RcLklhT30dxiMa9lachwdXR2bhffKBKe0DFHby3pNe5m cwnV2yqyqFqc7Tg4jHXosQMVfmTFnJJCZKYBt88CloeItI18k0VtLxiQRCj78OzWRcFm zDkOXbf98Telv/rTfBccPnXtElVkIjvY7li7TIY6TeABpYjDEA86wvgJL/JYEyJp1Ppg SIcA== 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=8Gada67H4Jd9QGAjDfvKygVjXwikJjIDttAG0aOjuMc=; b=iENM+/9QbgXCCvH7QPvR3W3vhPPmv9xRBud19EcwdH1OXd7gQejFXKgZgpps0wNWyw sFws8UizYQBdOzk/kogWUpxzrPtsIBGFht57Lph0EpdevH6TN2mNcjjxjGPW4anqEwcl Ca61FLfuoOaWfT2W8/Yl7QzJ4KIJ203+7mhkJXKmpgDQIu5jBk5cGvaWD9jngaRtjSdV +NJ40OtxDPZTrJ9Q7Wy0KYCpttLrJbbWqU4MHG/d4rNc/ldXRu3lXoaSVOXxv78bKT4v WHpk+Ha5Crmp+8yjyJGduZnXEQBoWaUSLc6Wr/fvYrL3MPVJvdawmoGFhQ8674pmtwDt NACQ== X-Gm-Message-State: ABuFfoijOyyqtx2k5iK7YJrMbXH9FASPVGdRKS5zPQIW6HPxIvFbTdGX UydKjLtqCzeA/oMDTxLl5HO4Wr1NywIo8++sISQ= X-Received: by 2002:a19:185b:: with SMTP id o88mr9856918lfi.102.1540206465562; Mon, 22 Oct 2018 04:07:45 -0700 (PDT) MIME-Version: 1.0 References: <20181021171414.22674-1-miguel.ojeda.sandonis@gmail.com> <20181021171414.22674-2-miguel.ojeda.sandonis@gmail.com> <20181021222712.GI1617@thunk.org> <8fb78062-b6d4-6f2d-d943-44bec6b95ff0@petrovitsch.priv.at> <20181022102743.nua5fgbscyeymzal@mwanda> <1474d995-1b5a-2efb-f077-33eb4a5d9e31@petrovitsch.priv.at> <20181022105314.j6djkrpwbnokhai5@mwanda> In-Reply-To: <20181022105314.j6djkrpwbnokhai5@mwanda> From: Miguel Ojeda Date: Mon, 22 Oct 2018 13:07:34 +0200 Message-ID: Subject: Re: [PATCH 1/2] Compiler Attributes: add support for __fallthrough (gcc >= 7.1) To: Dan Cc: bernd@petrovitsch.priv.at, "Ted Ts'o" , Greg KH , linux-kernel , Andreas Dilger , Masahiro Yamada , Michal Marek , Steven Rostedt , Mauro Carvalho Chehab , Olof Johansson , Konstantin Ryabitsev , David Miller , Andrey Ryabinin , Kees Cook , Thomas Gleixner , Ingo Molnar , Paul Lawrence , Sandipan Das , Andrey Konovalov , David Woodhouse , Will Deacon , Philippe Ombredanne , Paul Burton , David Rientjes , Willy Tarreau , Martin Sebor , Christopher Li , Jonathan Corbet , Geert Uytterhoeven , Rasmus Villemoes , Joe Perches , Arnd Bergmann , Dominique Martinet , Stefan Agner , Luc Van Oostenryck , Nick Desaulniers , Andrew Morton , Linus Torvalds , Linux Doc Mailing List , Ext4 Developers List , linux-sparse@vger.kernel.org, linux-kbuild@vger.kernel.org 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 Mon, Oct 22, 2018 at 12:54 PM Dan Carpenter wrote: > > Doing both is super ugly. Let's just do comments until Eclipse gets > updated. > > I had wanted to move to the attribute because that would simplify things > in Smatch but it's not a huge deal to delay for another year. I can re-send them later on, no problem. On the other hand, doing the changes will push tools to get updated sooner ;-) If tools were doing something as fancy as comment parsing for diagnostics, they should have been updated with the attribute support (either gcc's or C++17's) -- it has been more than a year now since gcc 7.1 and the C++17 final draft. (Note that this does not apply for things like clang, since they weren't doing comment parsing to begin with.) Cheers, Miguel