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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/51865 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fipa-pta" } */
4
 
5
void fn (const char *, const char *) __attribute__ ((__noreturn__));
6
int var;
7
 
8
inline void
9
foo (void)
10
{
11
  if (__builtin_expect (var != 0, 0))
12
    fn ("a", "b");
13
};
14
 
15
void
16
bar (void)
17
{
18
  foo ();
19
};
20
 
21
void
22
baz (void)
23
{
24
  foo ();
25
};

powered by: WebSVN 2.1.0

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