Re: [PATCH] Fix PR39246: -Wuninitialized for partially initialized complex

2014-05-06 Thread Richard Biener
On Tue, May 6, 2014 at 11:56 AM, Thomas Preud'homme wrote: > Sorry, I forgot to include the new ChangeLogs: > > > *** gcc/ChangeLog *** > > 2014-05-06 Thomas Preud'homme > > PR middle-end/39246 > * tree-complex.c (expand_complex_move): Keep line info when expanding > com

RE: [PATCH] Fix PR39246: -Wuninitialized for partially initialized complex

2014-05-06 Thread Thomas Preud'homme
Sorry, I forgot to include the new ChangeLogs: *** gcc/ChangeLog *** 2014-05-06 Thomas Preud'homme PR middle-end/39246 * tree-complex.c (expand_complex_move): Keep line info when expanding complex move. * tree-ssa-uninit.c (uninit_undefined_value_p): For SSA_N

RE: [PATCH] Fix PR39246: -Wuninitialized for partially initialized complex

2014-05-06 Thread Thomas Preud'homme
Hi Richard, > From: Richard Biener [mailto:richard.guent...@gmail.com] > > > > The ChangeLog are as follows: > > > > *** gcc/ChangeLog *** > > > > 2014-05-04 Thomas Preud'homme > > > > PR middle-end/39246 > > * tree-complex.c (expand_complex_move): Keep line info when > expandin

Re: [PATCH] Fix PR39246: -Wuninitialized for partially initialized complex

2014-05-05 Thread Richard Biener
On Sun, May 4, 2014 at 10:32 AM, Thomas Preud'homme wrote: > Warning for use of a partially initialized complex is displayed on the wrong > line (the one where the partial initialization is done) and is not consistent > between target (or even within a given target, for instance between hardfloa

[PATCH] Fix PR39246: -Wuninitialized for partially initialized complex

2014-05-04 Thread Thomas Preud'homme
Warning for use of a partially initialized complex is displayed on the wrong line (the one where the partial initialization is done) and is not consistent between target (or even within a given target, for instance between hardfloat and softfloat on arm-none-eabi target). This patch correctly re