1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* { dg-do compile } */ /* { dg-additional-options "-floop-unroll-and-jam --param unroll-jam-min-percent=0" } */ short a, b, e; volatile long c; long d; int main() { for (; d; d++) { long g = a = 1; for (; a; a++) { g++; c; } g && (b = e); } return 0; }