gcc/testsuite/gcc.dg/vect/bb-slp-pr97633.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | extern short i (void); |
| 4 | |
| 5 | struct { |
| 6 | short a; |
| 7 | short b; |
| 8 | } c; |
| 9 | |
| 10 | int d, e; |
| 11 | static int f = 1; |
| 12 | |
| 13 | void g () { |
| 14 | if (e) { |
| 15 | if (f) |
| 16 | goto L; |
| 17 | while (d) { |
| 18 | i (); |
| 19 | short j = d, k = i (), l = k; |
| 20 | L: |
| 21 | if (!(d && e) || l) |
| 22 | goto L; |
| 23 | c.a = j; |
| 24 | c.b = k; |
| 25 | } |
| 26 | } |
| 27 | } |