OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2012-04-03 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
uninit-pr40943.c
1
/* PR middle-end/40943 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -Wuninitialized" } */
4
5
void
6
foo (void)
7
{
8
int *p;
9
*p = 3; /* { dg-warning "is used uninitialized" } */
10
}