Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr30744-1.c
blobf08f3be172ac4daa1be7bfd3841af3a1aaf23e91
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 #include <stddef.h>
5 typedef __INTPTR_TYPE__ my_intptr_t;
7 typedef struct {
8 my_intptr_t unique;
9 } G;
11 void r(G* n)
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;