On Wed, Jun 30, 2021 at 12:19:17PM +0200, Tobias Burnus wrote:
> 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
As discussed at IRC:
* Replace alloca by XALLOCAVEC - and while being there, do it in the whole file.
* Fix splitting OFFLOAD_TARGETS at the ',' for the candidate list
* More helpful inform if no targets have been configured.
* For -foffload-options=, the 'target' argument may be 'nvptx,amdgcn' w