Re: [Patch] For -foffload= suggest also 'disable' and 'default' [PR103644]

2021-12-16 Thread Jakub Jelinek via Gcc-patches
On Thu, Dec 16, 2021 at 10:53:20AM +0100, Tobias Burnus wrote: > On 16.12.21 10:24, Jakub Jelinek wrote: > > Neither default nor disable are valid offload targets, so I think we need > > to reword the note. valid ‘-foffload=’ arguments are: > > or so? > > Granted. For the second line, I concur – I

Re: [Patch] For -foffload= suggest also 'disable' and 'default' [PR103644]

2021-12-16 Thread Tobias Burnus
On 16.12.21 10:24, Jakub Jelinek wrote: Neither default nor disable are valid offload targets, so I think we need to reword the note. valid ‘-foffload=’ arguments are: or so? Granted. For the second line, I concur – I am not quite sure about the first line, i.e. gcc: error: GCC is not configu

Re: [Patch] For -foffload= suggest also 'disable' and 'default' [PR103644]

2021-12-16 Thread Jakub Jelinek via Gcc-patches
On Thu, Dec 16, 2021 at 10:12:24AM +0100, Tobias Burnus wrote: > I did run into this when misspelling 'disable': > > Currently (with one offload target configured) > > $ gcc -foffload=disabled > gcc: error: GCC is not configured to support 'disabled' as offload target > gcc: note: valid offload t