http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47837

--- Comment #13 from davidxl <xinliangli at gmail dot com> 2011-03-07 16:58:03 
UTC ---
Yes -- I also wanted to do the generalization.

David

(In reply to comment #10)
> (In reply to comment #8)
> > Please verify the patch on hpux and os390.
> 
> Perhaps you could enhance your patch to cover then uninit-pred-8_a.c case as
> well. It looks quite similiar:
> 
> /build3/gcc-head-build/gcc/xgcc -B/build3/gcc-head-build/gcc/
> /build3/gcc-head/gcc/testsuite/gcc.dg/uninit-pred-8_a.c   -Wuninitialized -O2
> -S  -o uninit-pred-8_a.s
> 
> /build3/gcc-head/gcc/testsuite/gcc.dg/uninit-pred-8_a.c: In function ‘foo’:
> /build3/gcc-head/gcc/testsuite/gcc.dg/uninit-pred-8_a.c:26:11: warning: ‘v’ 
> may
> be used uninitialized in this function [-Wuninitialized]
> /build3/gcc-head/gcc/testsuite/gcc.dg/uninit-pred-8_a.c: In function ‘foo_2’:
> /build3/gcc-head/gcc/testsuite/gcc.dg/uninit-pred-8_a.c:42:11: warning: ‘v’ 
> may
> be used uninitialized in this function [-Wuninitialized]
> 
> As well as with uninit-pred-7_a.c the first warning is unexpected.

Reply via email to