florian před 4 roky
rodič
revize
81e83ffa67
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      compiler/x86/nx86inl.pas

+ 2 - 0
compiler/x86/nx86inl.pas

@@ -907,6 +907,8 @@ implementation
          else
            begin
              load_fpu_location(left);
+             if left.location.loc=LOC_REFERENCE then
+               tg.ungetiftemp(current_asmdata.CurrAsmList,left.location.reference);
              emit_none(A_FSQRT,S_NO);
            end;
        end;