This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15197] [tree-ssa] no SRA of structs containing complex types
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2004 07:36:58 -0000
- Subject: [Bug tree-optimization/15197] [tree-ssa] no SRA of structs containing complex types
- References: <20040429032755.15197.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-09 07:36 -------
Fixed by RTH's rewrite to SRA.
_m$_M_value$imag = IMAGPART_EXPR <m._M_value>;
_m$_M_value$real = REALPART_EXPR <m._M_value>;
IMAGPART_EXPR <g._M_value> = _m$_M_value$imag * _m$_M_value$real * 2.0e+0;
REALPART_EXPR <g._M_value> = _m$_M_value$real * _m$_M_value$real - _m$_M_value$imag * _m$
_M_value$imag;
return;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15197