* gcc.target/powerpc/builtins-1-be.c <vclzb>: Rename duplicate test
[official-gcc.git] / gcc / testsuite / gcc.target / sh / pr52483-5.c
blob947e8df31c3824d3f41c2575a3cd2942d6c67de1
1 /* Check that loads from volatile mems utilize post-increment addressing
2 modes and do not result in redundant sign extensions. */
3 /* { dg-do compile } */
4 /* { dg-options "-O1" } */
5 /* { dg-final { scan-assembler-times "@r\[0-9\]\+\\+," 3 } } */
6 /* { dg-final { scan-assembler-not "exts" } } */
8 volatile char*
9 test_00 (volatile char* x)
11 int xx = *x++;
12 return x;
15 volatile short*
16 test_01 (volatile short* x)
18 int xx = *x++;
19 return x;
22 volatile int*
23 test_02 (volatile int* x)
25 int xx = *x++;
26 return x;