1 // PR c++/84444
2 // { dg-do compile }
3 // { dg-options "-O2" }
4 
5 struct A {};
6 
7 __UINTPTR_TYPE__
foo(A * p)8 foo (A *p)
9 {
10   return (__UINTPTR_TYPE__) __builtin_launder (p);
11 }
12