2 /* { dg-do compile } */
3 /* { dg-options "-fopenmp" } */
5 #define INT_MIN (-__INT_MAX__ - 1)
6 #define INT_MAX __INT_MAX__
7 #define UINT_MAX (2U * __INT_MAX__ + 1)
16 for (i
= INT_MIN
+ 6; i
!= INT_MIN
; i
--) /* { dg-error "invalid controlling predicate" } */
19 for (i
= INT_MIN
+ 6; i
== INT_MIN
; i
--) /* { dg-error "invalid controlling predicate" } */
22 for (i
= INT_MAX
- 6; i
!= INT_MAX
; i
++) /* { dg-error "invalid controlling predicate" } */
25 for (i
= INT_MAX
- 6; i
== INT_MAX
; i
++) /* { dg-error "invalid controlling predicate" } */
28 for (u
= 6; u
!= 0; u
--) /* { dg-error "invalid controlling predicate" } */
31 for (u
= 6; u
== 0; u
--) /* { dg-error "invalid controlling predicate" } */
34 for (u
= UINT_MAX
- 6; u
!= UINT_MAX
; u
++) /* { dg-error "invalid controlling predicate" } */
37 for (u
= UINT_MAX
- 6; u
== UINT_MAX
; u
++) /* { dg-error "invalid controlling predicate" } */