diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-11-14 09:14:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-11-14 09:14:16 +0100 |
commit | bedb7f045f3bc4ccf17f4b58f840c93acb821a3f (patch) | |
tree | fcccc411bdf6e64e0876f3eeeb76ff8b773b0243 /gcc/tree-switch-conversion.c | |
parent | d0ec7c935f0c961b13f75c906b8621e35ce1ace5 (diff) | |
download | gcc-bedb7f045f3bc4ccf17f4b58f840c93acb821a3f.zip gcc-bedb7f045f3bc4ccf17f4b58f840c93acb821a3f.tar.gz gcc-bedb7f045f3bc4ccf17f4b58f840c93acb821a3f.tar.bz2 |
c-parser.c (c_parser_omp_context_selector): Don't require score argument to fit into shwi, just to be INTEGER_CST.
* c-parser.c (c_parser_omp_context_selector): Don't require score
argument to fit into shwi, just to be INTEGER_CST. Diagnose
negative score.
* parser.c (cp_parser_omp_context_selector): Don't require score
argument to fit into shwi, just to be INTEGER_CST. Diagnose
negative score.
* pt.c (tsubst_attribute): Likewise.
* c-c++-common/gomp/declare-variant-2.c: Add test for non-integral
score and for negative score.
* c-c++-common/gomp/declare-variant-3.c: Add test for zero score.
* g++.dg/gomp/declare-variant-8.C: Add test for negative and zero
scores.
From-SVN: r278204
Diffstat (limited to 'gcc/tree-switch-conversion.c')
0 files changed, 0 insertions, 0 deletions