Debian Codegraph @

gcc/testsuite/gcc.dg/analyzer/torture/uninit-trivial-auto-var-init-pattern.c

raw
1 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
2 /* { dg-additional-options "-ftrivial-auto-var-init=pattern" } */
3
4 int test_1 (void)
5 {
6 int i; /* { dg-message "region created on stack here" } */
7 return i; /* { dg-warning "use of uninitialized value 'i.*'" } */
8 /* FIXME: the LTO build sometimes shows SSA names here
9 (PR analyzer/94976). */
10 }