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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/44539 */
2
/* { dg-do compile } */
3
/* { dg-options "-ftracer -freorder-blocks -O2" } */
4
 
5
void bar (int file);
6
extern int baz (void);
7
 
8
void noret1 ()
9
{
10
  bar (0);
11
  __builtin_exit (0);
12
}
13
 
14
void noret2 ()
15
{
16
  __builtin_exit (0);
17
}
18
 
19
void bar (int i)
20
{
21
  if (baz ())
22
    noret1 (i);
23
}
24
 
25
void foo (int i)
26
{
27
  if (~i) bar (i);
28
  i ? noret1 () : noret2 ();
29
}

powered by: WebSVN 2.1.0

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