1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 
4 /* Make sure we do not ICE.  */
5 
6 __extension__ typedef __UINTPTR_TYPE__ uintptr_t;
7 
main(void)8 int main(void)
9 {
10  int var, *p = &var;
11  return (double)(uintptr_t)(p);
12 }
13