re PR middle-end/58809 (ICE with complex variable in OpenMP reduction clause)
PR middle-end/58809 * c-typeck.c (c_finish_omp_clause): Reject MIN_EXPR, MAX_EXPR, BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs. * semantics.c (finish_omp_reduction_clause): Reject BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs. * c-c++-common/gomp/pr58809.c: New test. From-SVN: r206962
Showing
gcc/testsuite/c-c++-common/gomp/pr58809.c
0 → 100644
Please
register
or
sign in
to comment