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 c/64856
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr44024.c
blob
30eb9d1bf80e098b5ea116fa34697d25873e37f6
1
/* { dg-do link } */
2
/* { dg-options "-O1 -fdelete-null-pointer-checks -fdump-tree-ccp1" } */
3
4
void
foo
();
5
void
link_error
(
void
);
6
7
int
main
()
8
{
9
if
(
foo
== (
void
*)
0
)
10
link_error
();
11
return
0
;
12
}
13
14
/* { dg-final { scan-tree-dump-not "if \\(foo" "ccp1" { target { ! avr*-*-* } } } } */
15
/* { dg-final { cleanup-tree-dump "ccp1" } } */