Fix all tests that fail with -sanitize=return.
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr23948.C
blobdef01d95157af455b96312eebef84b3770fffebb
1 /* { dg-options "-O1 -ffast-math -fdump-tree-recip" } */
2 /* { dg-do compile } */
4 struct MIOFILE {
5   ~MIOFILE();
6 };
7 double potentially_runnable_resource_share();
8 void f1(double);
9 int make_scheduler_request(double a, double b)
11   MIOFILE mf;
12   double prrs = potentially_runnable_resource_share();
13   f1(a/prrs);
14   f1(1/prrs);
15   f1(b/prrs);
18 /* { dg-final { scan-tree-dump-times " / " 1 "recip" } } */