From b71a678232eca441b374221d2544404e41fbe572 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 8 Sep 2015 21:20:51 +0000 Subject: Prevent unnecessary recompilation for trivial params.def changes 2015-09-08 Tom de Vries * 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 --- gcc/params.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gcc/params.h') 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 }; -- cgit v1.1