===================================================================
@@ -15493,12 +15493,8 @@ ix86_expand_move (enum machine_mode mode
else
{
if (symbol1 != NULL)
- {
- op1 = symbol1;
- if (GET_MODE (op1) != mode)
- op1 = convert_to_mode (mode, op1, 1);
- }
- else if (MEM_P (op0))
+ op1 = symbol1;
+ if (MEM_P (op0))
op1 = force_reg (mode, op1);
else if (!TARGET_64BIT || !x86_64_movabs_operand (op1, mode))
{
===================================================================
@@ -1,6 +1,12 @@
2011-02-13 H.J. Lu <hongjiu.lu@intel.com>
PR target/47715
+ * config/i386/i386.c (ix86_expand_move): Update TLS symbol PIC
+ support.
+
+2011-02-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/47715
* config/i386/i386.c (ix86_expand_move): Properly support TLS
symbol.