summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr36786.c
blob: 692518e1bd1598b77113ae18c5be83e0f6935819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}