This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18463] [4.0 Regression] Moving floating point through an integer register
- 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: 13 Nov 2004 17:22:56 -0000
- Subject: [Bug tree-optimization/18463] [4.0 Regression] Moving floating point through an integer register
- References: <20041113170938.18463.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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