blob: 59c61ddb5c9dd225800076cc14c5e813cced80a9 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-fre1-details" } */
struct s { _Complex float i; };
void g(struct s *);
float a1 (float dd)
{
struct s sv;
sv.i = dd;
float d = __real__ sv.i;
g(&sv);
return d;
}
/* { dg-final { scan-tree-dump "Replaced REALPART_EXPR.*with dd" "fre1" } } */