summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/990214-1.c
blob: d9e401ddb89dacce532aec8aa29a817ba2c77764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */

typedef int int64_t __attribute__ ((__mode__ (  __DI__ ))) ;
unsigned *
bar (int64_t which)
{
	switch (which & 15 ) {
	case 0 :
		break;
	case 1 :
	case 5 :
	case 2 : ;
	}

	return 0;
}