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
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
uninit-G.c
blob
1a06f0665c19d9c18c5526894834cae8fa2cd447
1
/* Test we do not warn about initializing variable with address of self in the initialization. */
2
/* { dg-do compile } */
3
/* { dg-options "-O -Wuninitialized" } */
4
5
void
g
(
void
*);
6
void
f
()
7
{
8
void
*
i
= &
i
;
9
g
(
i
);
10
}