2018-10-23 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr23948.C
blobed99217a7b93c8c1386978cace35ab8c2f902398
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 void 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" } } */