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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr34668-1.c] - Rev 801

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

/* PR c/34668 */
/* { dg-do link } */
/* { dg-require-effective-target lto } */
/* { dg-options "-flto -O2" } */
/* { dg-additional-sources "pr34668-2.c" } */
 
struct optab { unsigned code; };
struct optab optab_table[1];
 
void
init_optab (struct optab *op)
{
  op->code = 0xdead;
}
 
void
set_conv_libfunc (void)
{
  init_optab (&optab_table[0]);
}
 
int main() { return 0; }
 

Go to most recent revision | 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.