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/] [gcc.dg/] [pr37879.c] - Blame information for rev 311

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR tree-optimization/37879 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
 
5
static inline void bar (int) __attribute__ ((noreturn));
6
void baz () __attribute__ ((noreturn));
7
 
8
inline int
9
foo (int i)
10
{
11
  return i;
12
}
13
 
14
int i = 23;
15
static inline void
16
bar (int j)
17
{
18
  if (j)
19
    asm ("");
20
}               /* { dg-warning "does return" } */
21
 
22
void
23
baz ()
24
{
25
  int j;
26
  bar (foo (j = i++));
27
  asm ("");
28
}

powered by: WebSVN 2.1.0

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