This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/24902] COMPLEX_ASSIGN is wrong
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2005 19:43:22 -0000
- Subject: [Bug libfortran/24902] COMPLEX_ASSIGN is wrong
- References: <bug-24902-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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" <gcc-bugzilla@gcc.gnu.org> writes:
| The defintion of COMPLEX_ASSIGN is wrong,
that is wrong according to Andrew.
| This is in reference to PR 23497.
In the reference to that thread, please do note that
<lhs> = <rhs>
yields an lvalue for built-in "="; in partiaular
__imag__ z = r
yields an lvalue. do whatever you want in the *middle end*, but be
sure you don't transmute that basic semantics constraint.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24902