1 /* { dg-do compile } */
2 /* { dg-options "-O -march=core2 -mfpmath=sse,387 -ffast-math" } */
3 
4 extern double log (double x);
5 extern int f (void);
6 
7 double cached_value;
8 
g(void)9 void g (void)
10 {
11   cached_value = log (f ());
12 }
13