This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/24902] COMPLEX_ASSIGN is wrong



------- 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 optimizations so what is
the difference from saying it is wrong?

The issue comes down to what does
__imag__ a = b; really means.

And since this is an extension it could mean anything.

Gaby if you want to prevent optimizations from happening, fine with
me.  Just don't prevent the optimization from happening with fixed
up code.

Gaby, remember this is an extension and not a standard thing so take
everything for granted.

-- Pinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24902


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]