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
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
warning10.C
1
// { dg-do assemble }
2
// { dg-options "-W -Wall" }
3
// Don't warn about these comparisons.
4
5
struct A {
6
unsigned int b : 14;
7
};
8
9
int f (int i, unsigned char u, A a, unsigned long ul)
10
{
11
if ((u & 0x10) == 0)
12
return 1;
13
if (i == 0U)
14
return 1;
15
if (a.b > ul)
16
return 1;
17
18
return 0;
19
}