diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-09-08 21:20:51 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-09-08 21:20:51 +0000 |
commit | b71a678232eca441b374221d2544404e41fbe572 (patch) | |
tree | b5dcbcb97beab5022f3df212e97f9a70188940d7 /gcc/params.h | |
parent | 2e808a784deb8304eb54fb222a68beecb811a2a0 (diff) | |
download | gcc-b71a678232eca441b374221d2544404e41fbe572.zip gcc-b71a678232eca441b374221d2544404e41fbe572.tar.gz gcc-b71a678232eca441b374221d2544404e41fbe572.tar.bz2 |
Prevent unnecessary recompilation for trivial params.def changes
2015-09-08 Tom de Vries <tom@codesourcery.com>
* Makefile.in (generated_files): Add params.list.
(params.list, s-params.list): Add rule.
* params.h (enum compiler_param): Include params-list.h. Move define
DEFPARAM, include params.def and undef DEFPARAM ...
* params-list.h: ... here. New file.
From-SVN: r227566
Diffstat (limited to 'gcc/params.h')
-rw-r--r-- | gcc/params.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/params.h b/gcc/params.h index f53426d..9f7618a 100644 --- a/gcc/params.h +++ b/gcc/params.h @@ -81,10 +81,7 @@ extern void set_param_value (const char *name, int value, enum compiler_param { -#define DEFPARAM(enumerator, option, nocmsgid, default, min, max) \ - enumerator, -#include "params.def" -#undef DEFPARAM +#include "params.list" LAST_PARAM }; |