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
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr70920-4.c
blob
70973cb162a1920e809d8df1adabbdec15f2fb3c
1
/* { dg-do compile } */
2
/* { dg-require-effective-target lp64 } */
3
/* { dg-options "-O2 -fdump-tree-ccp1 -Wno-int-to-pointer-cast" } */
4
5
#include <stdint.h>
6
7
void
f1
();
8
void
f2
();
9
10
void
11
foo
(
int
a
)
12
{
13
void
*
cst
=
0
;
14
if
((
int
*)
a
==
cst
)
15
{
16
f1
();
17
if
(
a
)
18
f2
();
19
}
20
}
21
22
/* { dg-final { scan-tree-dump "if \\(a_\[0-9\]*\\(D\\) == 0\\)" "ccp1" } } */