RISC-V: Error if function declared with different interrupt modes.
[official-gcc.git] / gcc / testsuite / gcc.target / riscv / shift-and-1.c
blobd1f3a05db2c4c1d91e1d17469f09f5e40c80140b
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv32gc -mabi=ilp32 -O" } */
4 /* Test for <optab>si3_mask. */
5 int
6 sub1 (int i, int j)
8 return i << (j & 0x1f);
10 /* { dg-final { scan-assembler-not "andi" } } */