aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-01-24 20:16:21 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-01-24 20:16:21 +0100
commite21c4491293763b5dc61664b6a2292c3a8fc8ae1 (patch)
treed77ff218bb91e25d21ecb7327c17b83a0538d9bb /gcc/tree-nested.c
parentacac773aaa0434993650c079685a41b78121a619 (diff)
downloadgcc-e21c4491293763b5dc61664b6a2292c3a8fc8ae1.zip
gcc-e21c4491293763b5dc61664b6a2292c3a8fc8ae1.tar.gz
gcc-e21c4491293763b5dc61664b6a2292c3a8fc8ae1.tar.bz2
re PR c++/88976 (ICE in fold_convert_loc, at fold-const.c:2552)
PR c++/88976 * c-typeck.c (c_finish_omp_cancel): Diagnose more than one if on #pragma omp cancel with different modifiers. * semantics.c (finish_omp_cancel): Diagnose more than one if on #pragma omp cancel with different modifiers. Use maybe_convert_cond when not in template or build_x_binary_op otherwise. * c-c++-common/gomp/cancel-2.c: New test. * gcc.dg/gomp/cancel-1.c: New test. * g++.dg/gomp/cancel-1.C: New test. * g++.dg/gomp/cancel-2.C: New test. * g++.dg/gomp/cancel-3.C: New test. From-SVN: r268245
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions