re PR tree-optimization/33593 (tree-outof-ssa moves sources of non-call exceptions...
[gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr23948.C
1 /* { dg-options "-O1 -ffast-math -fdump-tree-recip" } */
2 /* { dg-do compile } */
3
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)
10 {
11 MIOFILE mf;
12 double prrs = potentially_runnable_resource_share();
13 f1(a/prrs);
14 f1(1/prrs);
15 f1(b/prrs);
16 }
17
18 /* { dg-final { scan-tree-dump-times " / " 1 "recip" } } */
19 /* { dg-final { cleanup-tree-dump "recip" } } */