| 1 |
/* PR target/11877 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-Os" } */ |
| 4 |
|
| 5 |
void foo (long long *p) |
| 6 |
{ |
| 7 |
*p = 0; |
| 8 |
} |
| 9 |
|
| 10 |
void bar (int *p) |
| 11 |
{ |
| 12 |
*p = 0; |
| 13 |
} |
| 14 |
|
| 15 |
/* { dg-final { scan-assembler-times "xorl\[ \t\]" 2 } } */ |
| 16 |
/* { dg-final { scan-assembler-not "\\\$0," } } */ |