diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr36786.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr36786.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr36786.c b/gcc/testsuite/gcc.target/i386/pr36786.c new file mode 100644 index 000000000..692518e1b --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr36786.c @@ -0,0 +1,13 @@ +/* { dg-do compile } */ +/* { dg-require-effective-target lp64 } */ + +typedef int DItype __attribute__ ((mode (DI))); +typedef unsigned int UDItype __attribute__ ((mode (DI))); +typedef int TItype __attribute__ ((mode (TI))); + +__floattisf (TItype u) +{ + DItype hi = u >> (8 * 8); + UDItype count, shift; + hi = u >> shift; +} |