This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30172] Operations with partly constant complex values not folded
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2006 13:31:11 -0000
- Subject: [Bug middle-end/30172] Operations with partly constant complex values not folded
- References: <bug-30172-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2006-12-13 13:31 -------
__complex__ ( x, y ) * I == __complex__ ( -y, x )
__complex__ ( x, y ) * -I == __complex__ ( y, -x )
but only if we don't honor NaNs or signed zeros.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30172