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