[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 --- Comment #7 from Steve Kargl --- On Mon, Mar 19, 2018 at 08:01:17AM -0700, Steve Kargl wrote: > > I can't find anything in the Fortran2008 standard specifying how > > arithmetic on intrinsic complex types work. CCing two Fortran maintainers

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 --- Comment #6 from Steve Kargl --- On Mon, Mar 19, 2018 at 11:46:11AM +, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 > > Richard Biener changed: > >What|Removed

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 --- Comment #5 from rguenther at suse dot de --- On Mon, 19 Mar 2018, no...@turm-lahnstein.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 > > --- Comment #4 from ead --- > From my naive point of view:

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread no...@turm-lahnstein.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 --- Comment #4 from ead --- From my naive point of view: - The c++ standard doesn't define how complex-number-multiplication should work, it is implementation defined/gcc-specific (I'm not a standard-scholar, so

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 Richard Biener changed: What|Removed |Added CC||kargl at gcc dot gnu.org,

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-16 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 --- Comment #2 from joseph at codesourcery dot com --- I'm not sure what the C++ complex multiplication / division requirements are here (for that matter, C doesn't seem to precisely define which NaN - which value with at least one NaN part

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 Richard Biener changed: What|Removed |Added Keywords||wrong-code