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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR tree-optimization/51575
2
// { dg-do compile }
3
// { dg-options "-O -fnon-call-exceptions" }
4
 
5
#include 
6
 
7
struct S
8
{
9
  S ()
10
  {
11
    for (int i = 0; i < 3; ++i)
12
      new (&a[i]) double ();
13
  }
14
  double a[4];
15
};
16
 
17
void
18
foo ()
19
{
20
  S s;
21
}

powered by: WebSVN 2.1.0

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