gcc/testsuite/gcc.target/i386/pr65990.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-mtune=btver2 -mmemcpy-strategy=rep_8byte:-1:noalign" } |
| 3 | |
| 4 | /* { dg-error "strategy name 'rep_8byte' specified for option '-mmemcpy_strategy=' not supported for 32-bit code" "" { target ia32 } 0 } */ |
| 5 | |
| 6 | struct U9 |
| 7 | { |
| 8 | unsigned a[9]; |
| 9 | }; |
| 10 | |
| 11 | struct U9 u9; |
| 12 | |
| 13 | void |
| 14 | foo () |
| 15 | { |
| 16 | u9 = (struct U9) { |
| 17 | .a = { |
| 18 | 0xFF, |
| 19 | 0xFF, |
| 20 | 0xFF, |
| 21 | 0xFF, |
| 22 | 0xFF, |
| 23 | 0xFF, |
| 24 | 0xFF, |
| 25 | 0xFF, |
| 26 | 0xFF |
| 27 | } |
| 28 | }; |
| 29 | } |