amdgcn: Silence warnings in gcn.c
authorAndrew Stubbs <ams@codesourcery.com>
Wed, 17 Mar 2021 14:13:10 +0000 (14:13 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Thu, 18 Mar 2021 17:38:51 +0000 (17:38 +0000)
commit55308fc26318427c1438cecc60ddd7ba24d5cd33
treeff1e07a77bb09887824d633c90ea70ac84f276e8
parentab03c0d5753549f1a78eeb706510b55fb97c8651
amdgcn: Silence warnings in gcn.c

This fixes a few cases of "unquoted identifier or keyword", one "spurious
trailing punctuation sequence", and a "may be used uninitialized".

gcc/ChangeLog:

* config/gcn/gcn.c (gcn_parse_amdgpu_hsa_kernel_attribute): Add %< and
  %> quote markers to error messages.
(gcn_goacc_validate_dims): Likewise.
(gcn_conditional_register_usage): Remove exclaimation mark from error
message.
(gcn_vectorize_vec_perm_const): Ensure perm is fully uninitialized.
gcc/config/gcn/gcn.c