Commit 65c88cef by Richard Henderson Committed by Richard Henderson

i386: Fix gcc.dg/torture/tls/tls-reload-1.c

        * config/i386/i386.c (ix86_expand_move): Always assign to op1
        after eliminating TLS symbols.

From-SVN: r194873
parent 20644725
2013-01-03 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_expand_move): Always assign to op1
after eliminating TLS symbols.
2013-01-03 Marc Glisse <marc.glisse@inria.fr>
PR bootstrap/50167
......
/* Subroutines used for code generation on IA-32.
Copyright (C) 1988, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Copyright (C) 1988, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
Free Software Foundation, Inc.
This file is part of GCC.
......@@ -15960,8 +15960,7 @@ ix86_expand_move (enum machine_mode mode, rtx operands[])
op0, 1, OPTAB_DIRECT);
if (tmp == op0)
return;
if (GET_MODE (tmp) != mode)
op1 = convert_to_mode (mode, tmp, 1);
op1 = convert_to_mode (mode, tmp, 1);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment