Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/sra-12.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 | |
14 int 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" } } */ |