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
Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
analyzer
/
params-2.c
blob
433c658720f232e85aca34e982b074fafc995838
1
#include <stdlib.h>
2
#include
"analyzer-decls.h"
3
4
static void
ensure_equal
(
int
a
,
int
b
)
5
{
6
if
(
a
!=
b
)
7
abort
();
8
}
9
10
void
test
(
int
i
,
int
j
)
11
{
12
__analyzer_eval
(
i
==
j
);
/* { dg-warning "UNKNOWN" } */
13
14
ensure_equal
(
i
,
j
);
15
16
__analyzer_eval
(
i
==
j
);
/* { dg-warning "TRUE" } */
17
}