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

Tobias Burnus tobias@codesourcery.com
Mon Jun 28 15:51:30 GMT 2021


I managed to delete the libgomp part before posting the patch, hence,
reposted.

(The change from -foffload= to -foffload-options= ensures that also
other configured compilers such as GCN are used, an issue that Thomas
found. The original -foffload=nvptx-none=-latomic was added because as
otherwise the GCN part caused build issues for Richard.)

Thus, this patch is like v3, except for the invoke.texi fixes suggested
by Sandra (thanks!) + adding a ChangeLog
and like v4, except the lost libgomp changes has been re-added (+
ChangeLog update).

I hope it now is fine.

Tobias
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: offload-v5.diff
Type: text/x-patch
Size: 25974 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210628/e8193070/attachment-0001.bin>


More information about the Gcc-patches mailing list