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

            Bug ID: 114717
           Summary: '-fcf-protection' vs. offloading compilation
           Product: gcc
           Version: 14.0
               URL: https://github.com/gcc-mirror/gcc/commit/1bf18629c54ad
                    f4893c8db5227a36e1952ee69a3#commitcomment-140648051
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: ams at gcc dot gnu.org, vries at gcc dot gnu.org
  Target Milestone: ---
            Target: GCN, nvptx

If '-fcf-protection' is in effect (as, for example, enabled by default in
certain distributions), that option gets forwarded to the offloading compilers,
but for both GCN and nvptx:

    lto1: error: ‘-fcf-protection=full’ is not supported for this target

Originally reported by Oscar Barenys in
<https://github.com/gcc-mirror/gcc/commit/1bf18629c54adf4893c8db5227a36e1952ee69a3#commitcomment-140648051>.

Reply via email to