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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [ipa/] [pr48195.c] - Blame information for rev 706

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-O2 -flto --param partial-inlining-entry-probability=101" } */
3
/* { dg-require-effective-target lto } */
4
 
5
extern void abort(void);
6
 
7
int i;
8
 
9
void __attribute__ ((constructor))
10
c2 ()
11
{
12
  if (i)
13
    abort ();
14
}
15
 
16
void __attribute__ ((destructor))
17
d1 ()
18
{
19
  if (i)
20
    abort ();
21
}
22
 
23
void main ()
24
{
25
}

powered by: WebSVN 2.1.0

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