From patchwork Thu Dec 1 09:33:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 28273 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp163239wrr; Thu, 1 Dec 2022 01:34:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf64NpBjLIKjOB0vxYRi283TizQfBiSUCcjJpEylJmEsp86RQYC2rZP3eI8+dSD8u+u6IxYF X-Received: by 2002:a17:906:2693:b0:7aa:57c3:3f26 with SMTP id t19-20020a170906269300b007aa57c33f26mr38951528ejc.195.1669887271175; Thu, 01 Dec 2022 01:34:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669887271; cv=none; d=google.com; s=arc-20160816; b=GKJb38iusbaEi5pIJrZs+ZGBkTUiY0NJulug3XDs03roYlwzToYy4uVGur449ayezv bFvKWIpzTF34JYVDy43NyPv8tCMJMUvKyLmePBBXgxWPbdW1Frnk1W2rbiGQjNSM7oax CeEyIBIMMGfyNUhc8qkf5I9an55q5U1z4kTSVujU8+msiXX4A6v9F1MjwFtK5SfJtkAf JSJS7OFfhgy/jtSCri0vb0pK/tl9nyrGL0YFNCrlb4ERt1I4w2HlymzugsUSCTfxj+kB qhWx7PMLeHglRcpLHuMUPteiZTFu9GZN8x+hLqMsfPG1leJAQfS2X+dvk6Nj3OGywrPy xGoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding:cc :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=TeyzNKEhZn6Cf7+PEV4evepZixbqyXiuPJEnHjaI6no=; b=Ef9xc8gp+xshlJF0c0FvB187jUMz4jo+3yGzsgeBHZKsbl1swgwgEtGx1IAE10x7BZ faziDfM8X/Cu1Za6/xz2TbVBBLPMO9noPsNLh9rVnf+90wEqfnzT1KErvngDYIVQZxDg Wh0wJ5A2+gh4F1i+HAfJgwSRpvgRZ4/B20c/468xZm12cYte/A5Zn1n20yiqI+C5MrGq n3zGHlb4dniyBv2enfDhGs2Xj8odhyEXhwF6BUzlZGLMtX3yhessMJvtFZCuIRZjOqbD vCecrcVOZgeRN3kH6wrUxMUDjY2F6QNvG8SBKSUjEa0SMXjS6oET7eHvEAwzRRWNePVp 5Slg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=uJXUSqEP; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id z3-20020a056402274300b004627d582888si3971307edd.24.2022.12.01.01.34.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 01:34:31 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=uJXUSqEP; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B4E313858289 for ; Thu, 1 Dec 2022 09:34:25 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 42DDB3858D35 for ; Thu, 1 Dec 2022 09:33:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 42DDB3858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C22051FD63; Thu, 1 Dec 2022 09:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1669887237; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TeyzNKEhZn6Cf7+PEV4evepZixbqyXiuPJEnHjaI6no=; b=uJXUSqEPhzroVshICEF6RYFjsihyLu2/OH3IiluZFX4RXo+V6UB+kcf/CX5DoEemlK4Kbi XC+5nN6vsAu4GZwP1n2MKi+5rYElnMJKuSHDNqw025jMUiqU/jociEX/UsBn/0DWoUfbTl bUVyUvGiwFWjbHk7rIE72fugVQY02dI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1669887237; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TeyzNKEhZn6Cf7+PEV4evepZixbqyXiuPJEnHjaI6no=; b=0w09dUXugE5Xx1krqK+N9aiQRm3HRfpd4t/o5o9RY1IMPT3HNvDOPTKjd8wcj+9Uy9ATDD rJhILCjT+EUdSKCQ== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id AB4641320E; Thu, 1 Dec 2022 09:33:57 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id y6S0KAV1iGNrDAAAGKfGzw (envelope-from ); Thu, 01 Dec 2022 09:33:57 +0000 Message-ID: <74d3217b-55b1-5f30-800e-e6ca655acf31@suse.cz> Date: Thu, 1 Dec 2022 10:33:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] gcc: remove incpath.o from CXX_C_OBJS To: gcc-patches@gcc.gnu.org Content-Language: en-US Cc: Richard Biener X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751003715424223550?= X-GMAIL-MSGID: =?utf-8?q?1751003715424223550?= The object is already included in OBJS (libbackend.a), thus we don't need it. Noticed while using partial linking for libbackend.a. Ready to be installed? Thanks, Martin gcc/cp/ChangeLog: * Make-lang.in: Remove extra object dependency. --- gcc/cp/Make-lang.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index af25bdc044a..75e2f7c7ba3 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -81,7 +81,7 @@ g++-cross$(exeext): xg++$(exeext) # The compiler itself. # Shared with C front end: -CXX_C_OBJS = attribs.o incpath.o \ +CXX_C_OBJS = attribs.o \ $(C_COMMON_OBJS) $(CXX_TARGET_OBJS) # Language-specific object files for C++ and Objective C++.