OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr24225.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* This was an ICE caused by the compiler-generated stack save/restore
2
   statements around s[b].  */
3
/* { dg-do compile} */
4
/* { dg-options "-O1 -fprofile-arcs" } */
5
 
6
int
7
foo (int a, int b)
8
{
9
  if (a)
10
    return 1;
11
  {
12
    int s [b];
13
    return 0;
14
  }
15
}
16
 
17
/* { dg-final { cleanup-coverage-files } } */

powered by: WebSVN 2.1.0

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