OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-10-16 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr30744-1.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
#include <stddef.h>
4
5
typedef struct {
6
ptrdiff_t unique;
7
} G;
8
9
void r(G* n)
10
{
11
ptrdiff_t p;
12
if (((G *) ((void *)((~(ptrdiff_t)(p))))) != ((void *)0)) {
13
((G *) ((void *)((~(ptrdiff_t)(p)))))->unique = n->unique;
14
}
15
}
16