Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/pr56847.c

13 lines
187 B
C

/* PR rtl-optimization/56847 */
/* { dg-do compile { target pie } } */
/* { dg-options "-O2 -fpie" } */
struct S { long int a, b; } e;
__thread struct S s;
void
foo (void)
{
s = e;
}