gcc/testsuite/gcc.dg/pr68306.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3" } */ |
| 3 | /* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */ |
| 4 | |
| 5 | enum powerpc_pmc_type { PPC_PMC_IBM }; |
| 6 | struct { |
| 7 | unsigned num_pmcs; |
| 8 | enum powerpc_pmc_type pmc_type; |
| 9 | } a; |
| 10 | enum powerpc_pmc_type b; |
| 11 | void fn1() { a.num_pmcs = a.pmc_type = b; } |