PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-35.c
blob59c61ddb5c9dd225800076cc14c5e813cced80a9
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1-details" } */
4 struct s { _Complex float i; };
5 void g(struct s *);
7 float a1 (float dd)
9 struct s sv;
10 sv.i = dd;
11 float d = __real__ sv.i;
12 g(&sv);
13 return d;
16 /* { dg-final { scan-tree-dump "Replaced REALPART_EXPR.*with dd" "fre1" } } */