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
This commit is contained in:
parent
2064472550
commit
65c88cef68
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue