1 /* { dg-do compile } */ 2 /* { dg-options "-O2 --param tree-reassoc-width=3 -fdump-tree-reassoc1-details" } */ 3 4 unsigned int foo(int a,int b,int c,int d)5foo (int a, int b, int c, int d) 6 { 7 unsigned int s = 0; 8 9 s += a; 10 s += b; 11 s += c; 12 s += d; 13 14 return s; 15 } 16 17 /* Verify reassociation width was chosen to be 2. */ 18 /* { dg-final { scan-tree-dump-times "Width = 2" 1 "reassoc1"} } */ 19