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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [pr47924_0.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-lto-options {{-O2 -flto}} } */
3
 
4
extern void link_error (void);
5
short *p __attribute__((used));
6
int i __attribute__((used));
7
 
8
int main()
9
{
10
  if (i == 0)
11
    return;
12
 
13
  *p = 0;
14
 
15
  if (i == 0)
16
    link_error ();
17
 
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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