This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
mov arguments are the same
- From: "Paulo J. Matos" <pocmatos at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 24 Aug 2010 09:50:03 +0100
- Subject: mov arguments are the same
Hello,
In a rule like
(set (match_operand 0 ...)
(match_operand 1 ...))
I sometimes have operand0 equal to operand1, as in
rtx_equal_p(operand[0], operand[1]) == 1.
This generates a move between the same location (same as a nop).
Is there a reason for getting this and is it up to me to handle it or
this is just the result of some problem with my md file? I am in
gcc4.4.4.
Cheers,
--
PMatos