[RFC] Prevent unnecessary recompilation for trivial params.def changes

Tom de Vries Tom_deVries@mentor.com
Tue Sep 8 10:52:00 GMT 2015


Hi,

this patch adds generation of params.list, a file containing a list of 
names of all the parameters in params.def.

By including params.list in params.h, rather than params.def itself, we 
prevent recompiling the 118 c files that include params.h for trivial 
changes in params.def, such as f.i. changing the default value of a 
parameter.

I did a minimal build with the patch, and tested the behaviour by doing 
both trivial an non-trivial changes in params.def, and rebuilding.

Any comments?

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Add-params.list.patch
Type: text/x-patch
Size: 1941 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150908/f3892d60/attachment.bin>


More information about the Gcc-patches mailing list