diff options
| author | Mark Brown <broonie@kernel.org> | 2020-12-28 14:20:00 +0000 | 
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2020-12-28 14:20:00 +0000 | 
| commit | 2ae6f64ce1ce304b502461fdfe0b96c8171ae2cc (patch) | |
| tree | 88e987c447daf2c29e2d4c15e58d1029b0cc78c2 /scripts/gcc-plugins/gcc-generate-gimple-pass.h | |
| parent | 3b66e4a8e58a85af3212c7117d7a29c9ef6679a2 (diff) | |
| parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
Merge tag 'v5.11-rc1' into regulator-5.11
Linux 5.11-rc1
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
| -rw-r--r-- | scripts/gcc-plugins/gcc-generate-gimple-pass.h | 12 | 
1 files changed, 0 insertions, 12 deletions
| diff --git a/scripts/gcc-plugins/gcc-generate-gimple-pass.h b/scripts/gcc-plugins/gcc-generate-gimple-pass.h index f20797e80b6d..51780828734e 100644 --- a/scripts/gcc-plugins/gcc-generate-gimple-pass.h +++ b/scripts/gcc-plugins/gcc-generate-gimple-pass.h @@ -73,18 +73,11 @@  #define TODO_FLAGS_FINISH 0  #endif -#if BUILDING_GCC_VERSION >= 4009  namespace {  static const pass_data _PASS_NAME_PASS_DATA = { -#else -static struct gimple_opt_pass _PASS_NAME_PASS = { -	.pass = { -#endif  		.type			= GIMPLE_PASS,  		.name			= _PASS_NAME_NAME, -#if BUILDING_GCC_VERSION >= 4008  		.optinfo_flags		= OPTGROUP_NONE, -#endif  #if BUILDING_GCC_VERSION >= 5000  #elif BUILDING_GCC_VERSION == 4009  		.has_gate		= _HAS_GATE, @@ -102,12 +95,8 @@ static struct gimple_opt_pass _PASS_NAME_PASS = {  		.properties_destroyed	= PROPERTIES_DESTROYED,  		.todo_flags_start	= TODO_FLAGS_START,  		.todo_flags_finish	= TODO_FLAGS_FINISH, -#if BUILDING_GCC_VERSION < 4009 -	} -#endif  }; -#if BUILDING_GCC_VERSION >= 4009  class _PASS_NAME_PASS : public gimple_opt_pass {  public:  	_PASS_NAME_PASS() : gimple_opt_pass(_PASS_NAME_PASS_DATA, g) {} @@ -128,7 +117,6 @@ public:  #else  	virtual unsigned int execute(void) { return _EXECUTE(); }  #endif -#endif  };  } | 
