aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arm/pr40482.c
blob: 6926e6fc8520a218a2d2aae8b2c843d703ca4635 (plain)
1
2
3
4
5
6
7
8
/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-mthumb -Os" }  */
/* { dg-final { scan-assembler-not "ldr" } } */

unsigned int foo (unsigned int i )
{
  return i | 0xff000000;
}