Re: [RFH] Uninitialized warning as error is disabled on the trunk

2008-03-31 Thread Jim Wilson
Andrew Pinski wrote: /src/gcc/local/gcc/gcc/cp/pt.c: In function 'subst_copy': /src/gcc/local/gcc/gcc/cp/pt.c:9919: warning: 'len' may be used uninitialized in this function This was introduced by your patch here: http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01675.html Please suggest a fix

[RFH] Uninitialized warning as error is disabled on the trunk

2008-03-29 Thread Andrew Pinski
Hi, I noticed today that we actually currently just warn and not error out while compiling GCC for uninitialized warnings. While doing a build I got the following warning: /src/gcc/local/gcc/gcc/cp/pt.c: In function 'subst_copy': /src/gcc/local/gcc/gcc/cp/pt.c:9919: warning: 'len' may be used uni