Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / m68k / pr54555.c
blob4be704b8f77c4fa97d84eb2d7fb156ece439f322
1 /* PR rtl-optimization/54555
2 Test that postreload does not shorten the load of small constants to
3 use move.b instead of moveq. */
4 /* { dg-do compile } */
5 /* { dg-options "-O2" } */
6 /* { dg-final { scan-assembler-not "move\\.?b" } } */
8 void foo (void);
9 void bar (int a)
11 if (a == 16 || a == 23) foo ();
12 if (a == -110 || a == -128) foo ();