Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757747AbcLPOOY (ORCPT ); Fri, 16 Dec 2016 09:14:24 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33131 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755462AbcLPOOQ (ORCPT ); Fri, 16 Dec 2016 09:14:16 -0500 Date: Fri, 16 Dec 2016 15:10:45 +0100 From: Emese Revfy To: Arnd Bergmann Cc: Kees Cook , Kugan , stable@vger.kernel.org, Michal Marek , kernel-hardening@lists.openwall.com, linux-kernel@vger.kernel.org, "pageexec@freemail.hu" Subject: Re: [PATCH] gcc-plugin: include memmodel.h and tree_vrp.h for gcc-7 Message-Id: <20161216151045.8b05123396aec5598825f4c3@gmail.com> In-Reply-To: <20161216090033.2007806-1-arnd@arndb.de> References: <20161216090033.2007806-1-arnd@arndb.de> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 43 On Fri, 16 Dec 2016 10:00:22 +0100 Arnd Bergmann wrote: > Cc: stable@vger.kernel.org > Suggested-by: Kugan > Signed-off-by: Arnd Bergmann > --- > scripts/gcc-plugins/gcc-common.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h > index 950fd2e64bb7..cb4a9518b58a 100644 > --- a/scripts/gcc-plugins/gcc-common.h > +++ b/scripts/gcc-plugins/gcc-common.h > @@ -18,6 +18,9 @@ > > #include "tree-inline.h" > #include "version.h" > +#if BUILDING_GCC_VERSION >= 7000 > +#include "memmodel.h" > +#endif > #include "rtl.h" > #include "tm_p.h" > #include "flags.h" > @@ -66,6 +69,9 @@ > #include "tree-flow.h" > #else > #include "tree-cfgcleanup.h" > +#if BUILDING_GCC_VERSION >= 7000 > +#include "tree-vrp.h" > +#endif > #include "tree-ssa-operands.h" > #include "tree-into-ssa.h" > #endif Hi, Could you please use the upstream gcc-common.h? You can find it here: https://www.grsecurity.net/~paxguy1/gcc-common.h Thanks -- Emese