gcc/testsuite/gcc.target/i386/pr11877-2.c
raw| 1 | /* PR target/11877 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-Os" } */ |
| 4 | |
| 5 | void |
| 6 | foo (int *p) |
| 7 | { |
| 8 | p[0] = 0; |
| 9 | p[7] = 0; |
| 10 | p[23] = 0; |
| 11 | p[41] = 0; |
| 12 | p[48] = 0; |
| 13 | p[59] = 0; |
| 14 | p[69] = 0; |
| 15 | p[78] = 0; |
| 16 | p[83] = 0; |
| 17 | p[89] = 0; |
| 18 | p[98] = 0; |
| 19 | p[121] = 0; |
| 20 | p[132] = 0; |
| 21 | p[143] = 0; |
| 22 | p[154] = 0; |
| 23 | } |
| 24 | |
| 25 | /* { dg-final { scan-assembler-times "xorl\[ \t\]" 1 } } */ |
| 26 | /* { dg-final { scan-assembler-not "\\\$0," } } */ |