Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr117116.c

raw
1 /* PR target/117116 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -mavx2" } */
4
5 typedef void (*StmFct)();
6 typedef struct {
7 StmFct fct_getc;
8 StmFct fct_putc;
9 StmFct fct_flush;
10 StmFct fct_close;
11 } StmInf;
12
13 StmInf TTY_Getc_pstm;
14
15 void TTY_Getc() {
16 TTY_Getc_pstm.fct_getc = TTY_Getc;
17 TTY_Getc_pstm.fct_putc = TTY_Getc_pstm.fct_flush = TTY_Getc_pstm.fct_close = (StmFct)1;
18 }