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-list.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-list.h')
-rw-r--r-- | gcc/params-list.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/params-list.h b/gcc/params-list.h new file mode 100644 index 0000000..49301d2 --- /dev/null +++ b/gcc/params-list.h @@ -0,0 +1,4 @@ +#define DEFPARAM(enumerator, option, nocmsgid, default, min, max) \ + enumerator, +#include "params.def" +#undef DEFPARAM |