blob: dd2abc2a4278c7926a10eb71b8ff1ec47dd99f0a [file] [log] [blame]
/* Testcase to check generation of a SH2A specific instruction for
'MOVRT Rn'. */
/* { dg-do compile { target { sh2a } } } */
/* { dg-options "-O1" } */
/* { dg-final { scan-assembler "movrt" } } */
int
foo (void)
{
int a, b, g, stop;
if (stop = ((a + b) % 2 != g))
;
return stop;
}