diff mbox series

[V1] gcc-plugins: remove duplicate include in gcc-common.h

Message ID 20211019082910.998257-1-ye.guojin@zte.com.cn (mailing list archive)
State Mainlined
Commit 6425392acf24b6d469932dd1b217dc7b20d6447f
Delegated to: Kees Cook
Headers show
Series [V1] gcc-plugins: remove duplicate include in gcc-common.h | expand

Commit Message

CGEL Oct. 19, 2021, 8:29 a.m. UTC
From: Ye Guojin <ye.guojin@zte.com.cn>

'tree-ssa-operands.h' included in 'gcc-common.h' is duplicated.
it's also included at line 56.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
---
 scripts/gcc-plugins/gcc-common.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Kees Cook Oct. 21, 2021, 3:13 p.m. UTC | #1
On Tue, 19 Oct 2021 08:29:10 +0000, cgel.zte@gmail.com wrote:
> From: Ye Guojin <ye.guojin@zte.com.cn>
> 
> 'tree-ssa-operands.h' included in 'gcc-common.h' is duplicated.
> it's also included at line 56.
> 
> 

Applied to for-next/hardening, thanks!

[1/1] gcc-plugins: remove duplicate include in gcc-common.h
      https://git.kernel.org/kees/c/872268237551
diff mbox series

Patch

diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h
index 62bf1c07b8bf..9a1895747b15 100644
--- a/scripts/gcc-plugins/gcc-common.h
+++ b/scripts/gcc-plugins/gcc-common.h
@@ -86,7 +86,6 @@ 
 #include "stmt.h"
 #include "gimplify.h"
 #include "gimple.h"
-#include "tree-ssa-operands.h"
 #include "tree-phinodes.h"
 #include "tree-cfg.h"
 #include "gimple-iterator.h"