re PR target/54661 (mcore_output_movedouble: operation on ‘memexp’ may be undefined)

PR target/54661
	* config/mcore/mcore.c (mcore_output_movedouble): Fix typo.

From-SVN: r192241
This commit is contained in:
Nick Clifton 2012-10-09 08:37:00 +00:00 committed by Nick Clifton
parent 8024199176
commit d72fe292cf
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-10-09 Nick Clifton <nickc@redhat.com>
PR target/54661
* config/mcore/mcore.c (mcore_output_movedouble): Fix typo.
2012-10-09 Marc Glisse <marc.glisse@inria.fr>
PR c++/54427

View File

@ -1,6 +1,6 @@
/* Output routines for Motorola MCore processor
Copyright (C) 1993, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008,
2009, 2010, 2011 Free Software Foundation, Inc.
2009, 2010, 2011, 2012 Free Software Foundation, Inc.
This file is part of GCC.
@ -1342,7 +1342,7 @@ mcore_output_movedouble (rtx operands[], enum machine_mode mode ATTRIBUTE_UNUSED
}
else if (GET_CODE (src) == MEM)
{
rtx memexp = memexp = XEXP (src, 0);
rtx memexp = XEXP (src, 0);
int dstreg = REGNO (dst);
int basereg = -1;