--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-01-05 14:06
---
This bug has been open for more that one year without any update, without
general agreement on wether we have a bug or a testcase exhibiting incorrect or
suboptimal behaviour.
Closing.
--
fxcoudert at gcc
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-16 18:58 ---
I mean:
#define COMPLEX_ASSIGN(z_, r_, i_) do {z_ = (r_) + (i_) * 1.0fi} while (0)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24902
--- Comment #2 from gdr at integrable-solutions dot net 2005-11-16 19:43
---
Subject: Re: New: COMPLEX_ASSIGN is wrong
pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes:
| The defintion of COMPLEX_ASSIGN is wrong,
that is wrong according to Andrew.
| This is in reference to
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-16 19:50 ---
Subject: Re: COMPLEX_ASSIGN is wrong
yields an lvalue. do whatever you want in the *middle end*, but be
sure you don't transmute that basic semantics constraint.
Gaby, it also prevents a huge amount of
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-16 19:53 ---
I should also note that:
http://gcc.gnu.org/onlinedocs/gcc/Complex.html#Complex
recomends against using the extensions anyways.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24902
--- Comment #5 from gdr at integrable-solutions dot net 2005-11-16 20:24
---
Subject: Re: COMPLEX_ASSIGN is wrong
pinskia at physics dot uc dot edu [EMAIL PROTECTED] writes:
| Subject: Re: COMPLEX_ASSIGN is wrong
|
| yields an lvalue. do whatever you want in the *middle end*,
--- Comment #6 from gdr at integrable-solutions dot net 2005-11-16 20:27
---
Subject: Re: COMPLEX_ASSIGN is wrong
pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes:
| I should also note that:
| http://gcc.gnu.org/onlinedocs/gcc/Complex.html#Complex
|
| recomends against using
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-11-16 20:29 ---
Subject: Re: COMPLEX_ASSIGN is wrong
--- Comment #6 from gdr at integrable-solutions dot net 2005-11-16 20:27
---
Subject: Re: COMPLEX_ASSIGN is wrong
pinskia at gcc dot gnu dot org [EMAIL
--- Comment #8 from gdr at integrable-solutions dot net 2005-11-16 20:39
---
Subject: Re: COMPLEX_ASSIGN is wrong
pinskia at physics dot uc dot edu [EMAIL PROTECTED] writes:
[...]
| Subject: Re: COMPLEX_ASSIGN is wrong
|
| pinskia at gcc dot gnu dot org [EMAIL PROTECTED]
--- Comment #9 from kargl at gcc dot gnu dot org 2005-11-16 22:45 ---
(In reply to comment #1)
I mean:
#define COMPLEX_ASSIGN(z_, r_, i_) do {z_ = (r_) + (i_) * 1.0fi} while (0)
Does this do the right thing in the presence of special cases?
See PR 24581.
--
10 matches
Mail list logo