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-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr43562.c
1
/* { dg-options "-O0" } */
2
/* { dg-do compile } */
3
4
extern unsigned foo (void);
5
extern void bar (void);
6
7
__attribute__ ((optimize ("O2")))
8
void bak ()
9
{
10
unsigned a;
11
while (1)
12
{
13
a = foo ();
14
while (a)
15
{
16
a &= 1;
17
bar ();
18
}
19
}
20
}