/* { dg-additional-options "-ftrivial-auto-var-init=zero" } */intfoo(unsigned*len);/* Modified version of reproducer that does use "len" before init. */inttest_2(){unsigned len;int rc;
rc = len;/* { dg-warning "use of uninitialized value 'len'" } */
rc =foo(&len);if(!rc)
rc = len;return rc;}