diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8dadd8ed7c2..2159736d1cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-10 Jakub Jelinek + + * config/i386/i386.md (tls_local_dynamic_base): Put pic reg + into proper operand. + 2002-10-10 Denis Chertykov * config/ip2k/ip2k.c (function_epilogue): Optimize stack diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index a89f0259703..dd174fe31da 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -13871,13 +13871,12 @@ "" { if (flag_pic) - operands[2] = pic_offset_table_rtx; + operands[1] = pic_offset_table_rtx; else { - operands[2] = gen_reg_rtx (Pmode); - emit_insn (gen_set_got (operands[2])); + operands[1] = gen_reg_rtx (Pmode); + emit_insn (gen_set_got (operands[1])); } - operands[1] = pic_offset_table_rtx; operands[2] = ix86_tls_get_addr (); })