2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr81790.c
blobb5e02f6c1dde38c4d5609aff386f4e6e3485122c
1 /* { dg-do compile } */
2 /* { dg-additional-options "--param sccvn-max-scc-size=10" } */
4 typedef int a __attribute__ ((__vector_size__ (16)));
5 typedef struct
7 a b;
8 } c;
10 int d, e;
12 void foo (c *ptr);
14 void bar ()
16 double b = 1842.9028;
17 c g, h;
18 if (d)
19 b = 77.7998;
20 for (; e;)
22 g.b = g.b = g.b + g.b;
23 h.b = (a){b};
24 h.b = h.b + h.b;
26 foo (&g);
27 foo (&h);