gcc/testsuite/gcc.target/i386/pr110701.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | int a; |
| 4 | long b; |
| 5 | int *c = &a; |
| 6 | short d(short e, short f) { return e * f; } |
| 7 | void foo() { |
| 8 | *c = d(340, b >= 0) ^ 3; |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-assembler "andl\[ \\t]\\\$340," } } */ |
| 12 | /* { dg-final { scan-assembler-not "andw\[ \\t]\\\$340," } } */ |