openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-pr97626.c
blob943d8a62de74673653200e40b0eef462bc37ffb4
1 /* { dg-do compile } */
3 struct {
4 int x;
5 int y;
6 } do_plasma_rect;
8 int do_plasma_context_0, do_plasma_x2, do_plasma_y2, do_plasma_plasma_depth,
9 do_plasma_xm, do_plasma_ym;
10 void gegl_buffer_set();
12 void do_plasma(int x1, int y1) {
13 if (__builtin_expect(({
14 int _g_boolean_var_;
15 if (do_plasma_context_0)
16 _g_boolean_var_ = 1;
17 else
18 _g_boolean_var_ = 0;
19 _g_boolean_var_;
20 }),
21 0)) {
22 do_plasma_rect.x = x1;
23 do_plasma_rect.y = y1;
24 gegl_buffer_set();
26 do_plasma_xm = (x1 + do_plasma_x2) / 2;
27 do_plasma_ym = (y1 + do_plasma_y2) / 2;
28 if (do_plasma_plasma_depth) {
29 do_plasma_rect.x = do_plasma_xm;
30 do_plasma_rect.y = do_plasma_ym;
31 return;
33 do_plasma(do_plasma_xm, do_plasma_ym);