projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr30744-1.c
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