[Bug tree-optimization/15197] [tree-ssa] no SRA of structs containing complex types

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 9 07:36:00 GMT 2004


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



More information about the Gcc-bugs mailing list