OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr23948.C] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
/* { 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" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.