This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24609] Same value duplicated in two different registers
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2005 16:09:17 -0000
- Subject: [Bug tree-optimization/24609] Same value duplicated in two different registers
- References: <bug-24609-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from ian at airs dot com 2005-11-01 16:09 -------
You've managed to change the code so that we still have two registers, but now
they have different values. I agree that there are probably going to be times
when it is good to have two different registers. But when they always have the
same value, as they do in my original test case, shouldn't something clean that
up? If so, what?
And do you still get two registers in your test case if you change (*p1)[d - 1]
to (*p1)[d]? And if you do get two registers, do they have the same value or
not?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24609