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/] [vect/] [pr37143.C] - Blame information for rev 313

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

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-do compile } */
2
 
3
void
4
f(int NumberOfSideSets, int *ssNumDFperSide, float *ssDF)
5
{
6
  int i;
7
  float *newssDF = __null;
8
  int *newssNumDF = new int [NumberOfSideSets];
9
  int ndf, nextDF, numNewDF = 0;
10
  int ii=0;
11
  for (i=0;  i
12
    numNewDF += newssNumDF[i];
13
  if (numNewDF > 0)
14
    newssDF = new float [numNewDF];
15
  nextDF = 0;
16
  ndf = ssNumDFperSide[ii];
17
  for (i=0;  i
18
    newssDF[nextDF++] = ssDF[i];
19
}
20
 
21
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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