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] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR c/34668 */
2
/* { dg-do link } */
3
/* { dg-require-effective-target lto } */
4
/* { dg-options "-flto -O2" } */
5
/* { dg-additional-sources "pr34668-2.c" } */
6
 
7
struct optab { unsigned code; };
8
struct optab optab_table[1];
9
 
10
void
11
init_optab (struct optab *op)
12
{
13
  op->code = 0xdead;
14
}
15
 
16
void
17
set_conv_libfunc (void)
18
{
19
  init_optab (&optab_table[0]);
20
}
21
 
22
int main() { return 0; }

powered by: WebSVN 2.1.0

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