diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.target/sh/torture/pr58475.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.target/sh/torture/pr58475.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.target/sh/torture/pr58475.c b/gcc-4.9/gcc/testsuite/gcc.target/sh/torture/pr58475.c new file mode 100644 index 0000000..f44780d --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.target/sh/torture/pr58475.c @@ -0,0 +1,15 @@ +/* { dg-do compile } */ + +int +kerninfo(int __bsx, double tscale) +{ + return ( + (int)(__extension__ + ({ + ((((__bsx) & 0xff000000u) >> 24) + | (((__bsx) & 0x00ff0000) >> 8) + | (((__bsx) & 0x0000ff00) << 8) + | (((__bsx) & 0x000000ff) << 24) + ); })) + * tscale); +} |