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] - Rev 689

Compare with Previous | Blame | View Log

/* { dg-do link } */
/* { dg-options "-O2 -flto --param partial-inlining-entry-probability=101" } */
/* { dg-require-effective-target lto } */
 
extern void abort(void);
 
int i;
 
void __attribute__ ((constructor))
c2 ()
{
  if (i)
    abort ();
}
 
void __attribute__ ((destructor))
d1 ()
{
  if (i)
    abort ();
}
 
void main ()
{
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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