From patchwork Wed Sep 9 14:47:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 515913 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 62990140281 for ; Thu, 10 Sep 2015 00:48:17 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=fykS7nNt; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=F0lSMHe8EiTcWT5dz cyop8QUC7dCcU0loDCUH/ecJAR/XjJQdU4aqXdki6S38ZnVj4gIYBsZmtlsvWB/6 thE3oOE70uAYsmiyQbwvujPshkMq+nfIl89cDvQdonaZzlPrnTmjY3UdUOlS/bKs tEa/QBOIzF2diiqsnfd2dbkxpo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=hIKoyqrB9pAMgut4k/1vza0 DVEs=; b=fykS7nNtcTJ91nnqrz3vXocb8htp5mQ+rmgUtqUT5a3EpfzECIzO+G1 zciP3r0Do7ETS+wV0yxCVY5iioYF7wISZfqWwdpd8iyiccsT65UjdMMexcS7KmWF N34gkQl1V8JZ2OLgJ1TBgE6XpmKRzroesmxSD9soNlDj4dE1hLQU= Received: (qmail 125275 invoked by alias); 9 Sep 2015 14:48:07 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 125256 invoked by uid 89); 9 Sep 2015 14:48:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 09 Sep 2015 14:48:03 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52840) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ZZgfI-00043t-IT for gcc-patches@gnu.org; Wed, 09 Sep 2015 10:48:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZgfC-0003x4-4Q for gcc-patches@gnu.org; Wed, 09 Sep 2015 10:47:57 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:45139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZgfB-0003w2-Vc for gcc-patches@gnu.org; Wed, 09 Sep 2015 10:47:54 -0400 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ZZgf4-0002jP-4d from Tom_deVries@mentor.com ; Wed, 09 Sep 2015 07:47:46 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.224.2; Wed, 9 Sep 2015 15:47:44 +0100 Subject: Re: [PATCH] Prevent unnecessary recompilation for trivial params.def changes To: Jeff Law , Andreas Schwab References: <55EEBC91.7060901@mentor.com> <55EEC58A.8060308@mentor.com> <55EEE0D4.7050900@mentor.com> <55EF4E42.20909@redhat.com> CC: "gcc-patches@gnu.org" From: Tom de Vries Message-ID: <55F04677.6020508@mentor.com> Date: Wed, 9 Sep 2015 16:47:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55EF4E42.20909@redhat.com> X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Received-From: 192.94.38.131 On 08/09/15 23:08, Jeff Law wrote: > 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 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. This patch adds the missing copyright notice in params-list.h. Committed as trivial. Thanks, - Tom Add copyright in gcc/params-list.h 2015-09-09 Tom de Vries * params-list.h: Add missing copyright notice. --- gcc/params-list.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gcc/params-list.h b/gcc/params-list.h index 49301d2..ee33ef5 100644 --- a/gcc/params-list.h +++ b/gcc/params-list.h @@ -1,3 +1,22 @@ +/* File used to generate params.list + Copyright (C) 2015 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ + #define DEFPARAM(enumerator, option, nocmsgid, default, min, max) \ enumerator, #include "params.def" -- 1.9.1