[Bug c/19999] -Wfloat-equal does not warn for complex numbers

2008-02-21 Thread rwild at gcc dot gnu dot org
--- Comment #4 from rwild at gcc dot gnu dot org 2008-02-22 06:19 --- Fixed in 4.4. -- rwild at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c/19999] -Wfloat-equal does not warn for complex numbers

2008-02-21 Thread rwild at gcc dot gnu dot org
--- Comment #3 from rwild at gcc dot gnu dot org 2008-02-22 06:18 --- Subject: Bug 1 Author: rwild Date: Fri Feb 22 06:17:46 2008 New Revision: 132540 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132540 Log: gcc/: PR c/1 * c-typeck.c (build_binary_op): Warn about float

[Bug c/19999] -Wfloat-equal does not warn for complex numbers

2008-02-20 Thread rwild at gcc dot gnu dot org
--- Comment #2 from rwild at gcc dot gnu dot org 2008-02-21 06:29 --- patch at -- rwild at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/19999] -Wfloat-equal does not warn for complex numbers

2005-02-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-16 06:48 --- Confirmed, it is easy to see where the problem is when we look at the source: if (warn_float_equal && (code0 == REAL_TYPE || code1 == REAL_TYPE)) warning ("comparing floating point with == or !