blob: 4be704b8f77c4fa97d84eb2d7fb156ece439f322 [file] [log] [blame]
/* PR rtl-optimization/54555
Test that postreload does not shorten the load of small constants to
use move.b instead of moveq. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-not "move\\.?b" } } */
void foo (void);
void bar (int a)
{
if (a == 16 || a == 23) foo ();
if (a == -110 || a == -128) foo ();
}