Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git] / gcc / testsuite / gcc.dg / auto-init-sra-2.c
blobd260f5ae934ed1eff7f90d332af96e8a915e3934
1 /* Verify that SRA total scalarization will not be confused by padding
2 and also not confused by auto initialization. */
3 /* { dg-do compile } */
4 /* { dg-options "-O1 --param sra-max-scalarization-size-Ospeed=16 -fdump-tree-release_ssa -ftrivial-auto-var-init=pattern" } */
6 struct S
8 int i;
9 unsigned short f1;
10 char f2;
11 unsigned short f3, f4;
15 int foo (struct S *p)
17 struct S l;
19 l = *p;
20 l.i++;
21 *p = l;
24 /* { dg-final { scan-tree-dump-times "l;" 0 "release_ssa" } } */