[Bug libfortran/24902] COMPLEX_ASSIGN is wrong

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Wed Nov 16 19:43:00 GMT 2005



------- 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



More information about the Gcc-bugs mailing list