This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Prevent unnecessary recompilation for trivial params.def changes


On 09/08/2015 07:21 AM, Tom de Vries wrote:
[ was: Re: [RFC] Prevent unnecessary recompilation for trivial
params.def changes ]

On 08/09/15 14:03, Andreas Schwab wrote:
Tom de Vries <Tom_deVries@mentor.com> writes:

After a subsequent rebuild I don't see anything being rebuild. So I
don't
observe 'continuous rebuilding'.

What happens when you just touch params-list.h or params.def?
move-if-change will leave the target untouched when unchanged (that's
the whole point of it), so it will remain older than the dependencies.

I could reproduce the problem using these instructions, thanks.

I also found a bit "On the use of stamps" in gcc/Makefile.in, which
explains the problem and how to fix things.

Updated patch accordingly.

OK for trunk if bootstrap succeeds?
Yes.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]