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 689
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; }