Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix)

2017-10-13 Thread Laurent Thevenoux
Hi Richard, I will investigate it further, but thanks again for your review! Laurent - Mail original - > De: "Richard Biener" > À: "Laurent Thevenoux" > Cc: "GCC Patches" > Envoyé: Lundi 9 Octobre 2017 15:57:38 > Objet: Re: tree-complex.c:

Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix)

2017-10-09 Thread Richard Biener
On Mon, Oct 9, 2017 at 3:30 PM, Laurent Thevenoux wrote: > > > - Mail original - >> De: "Richard Biener" >> À: "Laurent Thevenoux" >> Cc: "GCC Patches" >> Envoyé: Lundi 9 Octobre 2017 14:04:49 >> Objet: Re: tree-comp

Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix)

2017-10-09 Thread Laurent Thevenoux
- Mail original - > De: "Richard Biener" > À: "Laurent Thevenoux" > Cc: "GCC Patches" > Envoyé: Lundi 9 Octobre 2017 14:04:49 > Objet: Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix) > > On Fri, Oct 6, 2017 at

Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix)

2017-10-09 Thread Richard Biener
e 2017 13:42:57 >> Objet: Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix) >> >> On Thu, Oct 5, 2017 at 4:41 PM, Laurent Thevenoux >> wrote: >> > Hello, >> > >> > This patch improves the some_nonzerop(tree t) function fr

Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix)

2017-10-06 Thread Laurent Thevenoux
Hi Richard, thanks for your quick reply. - Mail original - > De: "Richard Biener" > À: "Laurent Thevenoux" > Cc: "GCC Patches" > Envoyé: Vendredi 6 Octobre 2017 13:42:57 > Objet: Re: tree-complex.c: fix some_nonzerop test over reals (and a

Re: tree-complex.c: fix some_nonzerop test over reals (and a bug fix)

2017-10-06 Thread Richard Biener
On Thu, Oct 5, 2017 at 4:41 PM, Laurent Thevenoux wrote: > Hello, > > This patch improves the some_nonzerop(tree t) function from tree-complex.c > file (the function is only used there). > > This function returns true if a tree as a parameter is not the constant 0 (or > +0.0 only for reals when

tree-complex.c: fix some_nonzerop test over reals (and a bug fix)

2017-10-05 Thread Laurent Thevenoux
Hello, This patch improves the some_nonzerop(tree t) function from tree-complex.c file (the function is only used there). This function returns true if a tree as a parameter is not the constant 0 (or +0.0 only for reals when !flag_signed_zeros ). The former result is then used to determine i