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
Skip several analyzer socket tests on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
analyzer
/
attr-const-2.c
blob
ab79514acf8613e9fe787c9e17baf3653936d432
1
extern
int
const_p
(
int
)
__attribute__
((
const
));
2
extern
void
do_stuff
(
void
);
3
4
void
test
(
int
a
)
5
{
6
void
*
p
;
7
if
(
const_p
(
a
))
8
{
9
p
=
__builtin_malloc
(
1024
);
10
if
(!
p
)
11
return
;
12
}
13
do_stuff
();
14
if
(
const_p
(
a
))
15
__builtin_free
(
p
);
/* { dg-bogus "uninit" } */
16
}