diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/pr40482.c')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/pr40482.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/pr40482.c b/gcc/testsuite/gcc.target/arm/pr40482.c new file mode 100644 index 00000000000..4303a4f2e9e --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/pr40482.c @@ -0,0 +1,7 @@ +/* { dg-options "-mthumb -Os" } */ +/* { dg-final { scan-assembler-not "ldr" } } */ + +unsigned int foo (unsigned int i ) +{ + return i | 0xff000000; +} |