Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/tree-ssa/pr23948.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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); | |
131 | 9 void make_scheduler_request(double a, double b) |
111 | 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" } } */ |