Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/torture/pr81790.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-additional-options "--param sccvn-max-scc-size=10" } */ | |
3 | |
4 typedef int a __attribute__ ((__vector_size__ (16))); | |
5 typedef struct | |
6 { | |
7 a b; | |
8 } c; | |
9 | |
10 int d, e; | |
11 | |
12 void foo (c *ptr); | |
13 | |
14 void bar () | |
15 { | |
16 double b = 1842.9028; | |
17 c g, h; | |
18 if (d) | |
19 b = 77.7998; | |
20 for (; e;) | |
21 { | |
22 g.b = g.b = g.b + g.b; | |
23 h.b = (a){b}; | |
24 h.b = h.b + h.b; | |
25 } | |
26 foo (&g); | |
27 foo (&h); | |
28 } |