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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr34036.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fnon-call-exceptions -ffast-math -fsignaling-nans" } */
3
/* { dg-warning "-fassociative-math disabled" "" { target *-*-* } 1 } */
4
 
5
template 
6
class ggStaticArray {
7
public:
8
  ~ggStaticArray();
9
};
10
 
11
template 
12
class ggGrid {
13
public:
14
  ggGrid() : grid() { }
15
  ggStaticArray grid;
16
};
17
 
18
class mrGrid {
19
public:
20
  mrGrid(void);
21
protected:
22
  ggGrid grid;
23
  double multiplier;
24
};
25
 
26
mrGrid::mrGrid(void)
27
{
28
  double xMeasure, yMeasure, zMeasure;
29
  double cellDimension;
30
 
31
  cellDimension = multiplier * (xMeasure * yMeasure * zMeasure);
32
}

powered by: WebSVN 2.1.0

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