[Bug tree-optimization/18463] [4.0 Regression] Moving floating point through an integer register

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 13 17:23:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-13 17:22 -------
Confirmed, the problem is that DOM does:
  D.1192 = (unsigned int) i;
  D.1194 = (float * restrict) D.1192 * 4B;
  *(aa2 + D.1194) = *(a2 + D.1194);
  *(bb2 + D.1194) = *(b2 + D.1194);

Note how we use D.1194 in all three places. for PPC this is the correct thing to do but not for x86 which 
has three operands loads.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |tree-optimization
     Ever Confirmed|                            |1
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-13 17:22:54
               date|                            |
   Target Milestone|---                         |4.0.0


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



More information about the Gcc-bugs mailing list