From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 2BD4B3857830 for ; Tue, 29 Jun 2021 13:51:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2BD4B3857830 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-164-tX8UyutgPMGFPG-Yx8_Q6A-1; Tue, 29 Jun 2021 09:51:37 -0400 X-MC-Unique: tX8UyutgPMGFPG-Yx8_Q6A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2ABDE800D55; Tue, 29 Jun 2021 13:51:36 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-143.ams2.redhat.com [10.36.112.143]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 543395C1D1; Tue, 29 Jun 2021 13:51:34 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 15TDpVCL2579949 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 29 Jun 2021 15:51:32 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 15TDpUqo2579948; Tue, 29 Jun 2021 15:51:30 +0200 Date: Tue, 29 Jun 2021 15:51:30 +0200 From: Jakub Jelinek To: Tobias Burnus Cc: gcc-patches , Sandra Loosemore , Richard Biener , Thomas Schwinge Subject: Re: [Patch] Add 'default' to -foffload=; document that flag [PR67300] Message-ID: <20210629135130.GS7746@tucnak> Reply-To: Jakub Jelinek References: <20210617175054.GI7746@tucnak> <07d9e298-55d0-0e80-84f5-5d5d75c9e341@codesourcery.com> <20210617194010.GJ7746@tucnak> <7e4ad7a0-e601-b97f-9caa-9f10befbe84e@codesourcery.com> <81177be7-97bd-5c1e-2649-5ebe8eeb47b4@mentor.com> <89a1a17b-2e2d-238e-856c-b38c9aacc7ef@codesourcery.com> <4af01e92-c1e7-8cfc-d635-45aba3a48232@codesourcery.com> <20210629115856.GR7746@tucnak> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: , X-List-Received-Date: Tue, 29 Jun 2021 13:51:42 -0000 On Tue, Jun 29, 2021 at 03:47:03PM +0200, Tobias Burnus wrote: > gcc/ChangeLog: > > * common.opt (-foffload=): Update description. > (-foffload-options=): New. > * doc/invoke.texi (C Language Options): Document > -foffload and -foffload-options. > * gcc.c (check_offload_target_name): New, split off from > handle_foffload_option. > (check_foffload_target_names): New. > (handle_foffload_option): Handle -foffload=default. > (driver_handle_option): Update for -foffload-options. > * lto-opts.c (lto_write_options): Use -foffload-options > instead of -foffload. > * lto-wrapper.c (merge_and_complain, append_offload_options): > Likewise. > * opts.c (common_handle_option): Likewise. > > libgomp/ChangeLog: > > * testsuite/libgomp.c-c++-common/reduction-16.c: Replace > -foffload=nvptx-none= by -foffload-options=nvptx-none= to > avoid disabling other offload targets. > * testsuite/libgomp.c-c++-common/reduction-5.c: Likewise. > * testsuite/libgomp.c-c++-common/reduction-6.c: Likewise. > * testsuite/libgomp.c/target-44.c: Likewise. Ok, thanks. Jakub