1 /* { dg-do compile { target fpic } } */
2 /* { dg-options "-fpic -O2 -msse2 -mno-avx -mfpmath=sse" } */
3 
4 __extension__ typedef __UINTPTR_TYPE__ uintptr_t;
5 
6 extern int glob1;
7 
8 float
foo(void)9 foo (void)
10 {
11   return (float) (long long) (uintptr_t) &glob1;
12 }
13