1// PR tree-optimization/54563
2// { dg-do compile }
3
4extern "C" float powf (float, float);
5struct S { ~S (); };
6double bar ();
7double x;
8
9void
10foo ()
11{
12  S s;
13  x = powf (bar (), 2.);
14}
15