1 /* Verify that SRA total scalarization will not be confused by padding. */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O1 --param sra-max-scalarization-size-Ospeed=16 -fdump-tree-release_ssa" } */ 4 5 struct S 6 { 7 int i; 8 unsigned short f1; 9 char f2; 10 unsigned short f3, f4; 11 }; 12 13 foo(struct S * p)14int foo (struct S *p) 15 { 16 struct S l; 17 18 l = *p; 19 l.i++; 20 *p = l; 21 } 22 23 /* { dg-final { scan-tree-dump-times "l;" 0 "release_ssa" } } */ 24