public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/67300] -foffload* undocumented
Date: Tue, 29 Jun 2021 14:00:23 +0000	[thread overview]
Message-ID: <bug-67300-4-Tz3hcRoHBU@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-67300-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67300

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:

https://gcc.gnu.org/g:33c4e466243f2d0459d9a4d0cadc1b38a3741f3e

commit r12-1871-g33c4e466243f2d0459d9a4d0cadc1b38a3741f3e
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Jun 29 15:58:21 2021 +0200

    Add 'default' to -foffload=; document that flag [PR67300]

    As -foffload={options,targets,targets=options} is very convoluted,
    it has been split into -foffload=targets (supporting the old syntax
    for backward compatibilty) and -foffload-options={options,target=options}.

    Only the new syntax is documented.

    Additionally, -foffload=default is supported, which can reset the
    devices after -foffload=disable / -foffload=targets to the default,
    if needed.

    gcc/ChangeLog:

            PR other/67300
            * 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:

            PR other/67300
            * 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.

  parent reply	other threads:[~2021-06-29 14:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 22:25 [Bug other/67300] New: " jsm28 at gcc dot gnu.org
2015-09-21 13:07 ` [Bug other/67300] " tschwinge at gcc dot gnu.org
2020-05-15 12:23 ` burnus at gcc dot gnu.org
2021-06-17 16:08 ` burnus at gcc dot gnu.org
2021-06-29 14:00 ` cvs-commit at gcc dot gnu.org [this message]
2021-06-29 14:01 ` burnus at gcc dot gnu.org
2021-06-29 14:29 ` tschwinge at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-67300-4-Tz3hcRoHBU@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).