From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 5BFFF384474D for ; Wed, 3 Apr 2024 13:00:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5BFFF384474D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5BFFF384474D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712149230; cv=none; b=PN5gf1ww9qzMOL79EIoxsjuH66KI7Qn5E6Ei5hZWWIlSR5iznZAZL4HWsP8ijnQImc8QgV96y5gzyLtU9f/OG8YOSwWGGfaRKjFE0ETL6wcpsIDkTFXWh429z3EmPJOlgU0yKCK96KBi8zkqKM8UIf7w77qG92ghrL2x0I6fYdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712149230; c=relaxed/simple; bh=3txUVowc6ddTdKOvU0pr0h+ivuipfm/1qvsfOfRrinA=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=F1mXWmb0xvRxcxtg4EXTfapOCPbiD4c9e28A6i5xiryb4h7EYhb5W6R6bLGuzYX5iZWQXu5LQMrFXMrqN8gaW2kmDxiVRPJZdiaJNgu+QRwnXAYxdeUulbB3Phe/3ituJnVQ03NLOcrN/YMnSMRKJnahBxZuF/sgv3+TDl/9Rb0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [10.168.5.241] (unknown [10.168.5.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 39B9E5CC97; Wed, 3 Apr 2024 13:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712149227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tE98Tya8+mDGTXa3srw6NQC5rKnYPh68O4YA0tQsfmE=; b=uRLMJsu7zo1GoYLK8XiQHLpa1yMnSmEqOtHskkLPZN/nsSzuB24GBBQRqq3cODqrrLG9uG Yx7pd1FEFw5QlyoleVlNJrlDZsRv8+B372yA/XhuR6X4luhNbUZmIHchngEUIhgkpnE5KA 9tYLS9UwjFznwCTw15RpYAprnHpb2pc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712149227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tE98Tya8+mDGTXa3srw6NQC5rKnYPh68O4YA0tQsfmE=; b=lgLW0WEqoEWopIZ7v8jqu3U327FtgupDVBm7SAW4aeF/02O/N8B0Go2u142VHilQ6YLqZJ q+DJguTv9nNiHMDA== Authentication-Results: smtp-out2.suse.de; none Date: Wed, 3 Apr 2024 15:00:27 +0200 (CEST) From: Richard Biener To: Tobias Burnus cc: gcc-patches Subject: Re: [Patch] lto-wrapper.cc: Add offload target name to 'offload_args' suffix In-Reply-To: <504cc686-24b0-4477-9aa5-4623333f33cd@baylibre.com> Message-ID: <33113o0p-06rn-8pn6-6308-r64r09206679@fhfr.qr> References: <504cc686-24b0-4477-9aa5-4623333f33cd@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-889786477-1712149227=:8691" X-Spamd-Result: default: False [0.55 / 50.00]; CTYPE_MIXED_BOGUS(1.00)[]; NEURAL_HAM_SHORT(-0.19)[-0.971]; BAYES_HAM(-0.16)[69.30%]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+]; RCPT_COUNT_TWO(0.00)[2]; FUZZY_BLOCKED(0.00)[rspamd.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[] X-Spam-Score: 0.55 X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,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 List-Id: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-889786477-1712149227=:8691 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Wed, 3 Apr 2024, Tobias Burnus wrote: > Found when working with -save-temps and looking at 'mkoffload' > with a GCC configured for both nvptx and gcn offloading. > > Before (for 'a.out') for mkoffload:a.offload_args now: > a.amdgcn-amdhsa.offload_args and a.nvptx-none.offload_args > OK for mainline? OK. Richard. > Tobias > > PS: The code does not free the 'xmalloc'ed memory, but that's also > the case of all/most 'concat' in this file; the concat could also > be skipped when no save_temps is used, in case this optimization > makes sense. > --8323328-889786477-1712149227=:8691--