]> gcc.gnu.org Git - gcc.git/commit - gcc/common.opt
gcc.c's check_offload_target_name: Fixes to inform hints
authorTobias Burnus <tobias@codesourcery.com>
Wed, 30 Jun 2021 11:17:54 +0000 (13:17 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 30 Jun 2021 11:17:54 +0000 (13:17 +0200)
commita3ce7d75dd9c0308b8565669f31127436cb2ba9f
tree72e34e5db6d6b8afe4d8199acc46eabf9a3ea649
parent0a9d038ec10aa0d109ca965cc435934bfea92d14
gcc.c's check_offload_target_name: Fixes to inform hints

gcc/ChangeLog:

* gcc.c (close_at_file, execute): Replace alloca by XALLOCAVEC.
(check_offload_target_name): Fix splitting OFFLOAD_TARGETS into
a candidate list; better inform no offload target is configured
and fix hint extraction when passed target is not '\0' at [len].
* common.opt (foffload): Add tailing '.'.
(foffload-options): Likewise; fix flag name in the help string.
gcc/common.opt
gcc/gcc.c
This page took 0.057911 seconds and 5 git commands to generate.