1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 #include <stddef.h>
4
5 typedef __INTPTR_TYPE__ my_intptr_t;
6
7 typedef struct {
8 my_intptr_t unique;
9 } G;
10
11 void r(G* n)
12 {
13 my_intptr_t p;
14 if (((G *) ((void *)((~(my_intptr_t)(p))))) != ((void *)0)) {
15 ((G *) ((void *)((~(my_intptr_t)(p)))))->unique = n->unique;
16 }
17 }
18