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
* c-common.c (reswords): Add _Imaginary.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr39226.c
1
/* PR target/39226 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
/* { dg-options "-O2 -mtune=cell -mminimal-toc" { target { powerpc*-*-* && lp64 } } } */
5
6
struct A
7
{
8
char *a;
9
unsigned int b : 1;
10
unsigned int c : 31;
11
};
12
13
struct B
14
{
15
struct A *d;
16
};
17
18
void
19
foo (struct B *x, unsigned long y)
20
{
21
if (x->d[y].c)
22
return;
23
if (x->d[y].b)
24
x->d[y].a = 0;
25
}