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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr47370.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
struct S { int s; };
4
 
5
void
6
foo (void)
7
{
8
  for (;;)
9
    ;
10
}
11
 
12
struct S
13
bar (void)
14
{
15
  struct S s = { 99 };
16
  return s;
17
}
18
 
19
void
20
baz (int i)
21
{
22
  struct S s[1];
23
  s[0] = bar ();
24
  bar ();
25
  foo ();
26
}
27
 

powered by: WebSVN 2.1.0

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