diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-08 21:20:51 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-08 21:20:51 +0000 |
commit | 0a259d8df4868ae323c2825c7d367a9cb657548f (patch) | |
tree | b5dcbcb97beab5022f3df212e97f9a70188940d7 /gcc/params.h | |
parent | 123ec651a2f8633ebd1c22971f3dd01e6e6c7fba (diff) | |
download | gcc-0a259d8df4868ae323c2825c7d367a9cb657548f.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227566 138bc75d-0d04-0410-961f-82ee72b054a4
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 f53426dfea6..9f7618ac1d1 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 }; |