repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wtautological-compare-4.c
blob
207c401a4ce05c28983b93a0779dcc2b53d773ca
1
/* PR c++/67863 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wtautological-compare" } */
4
5
extern
int
e
;
6
#define A (e ? 4 : 8)
7
#define B (e ? 4 : 8)
8
9
int
10
fn
(
void
)
11
{
12
if
(
A
<=
B
)
13
return
1
;
14
return
0
;
15
}