Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr34668-1.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* 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; }