* fixed result node of fpc_eh_return_data_regno (r40070), resolves compiler

crashes (and invalid results) when using this intrinsic

git-svn-id: branches/debug_eh@40074 -
This commit is contained in:
Jonas Maebe 2018-10-28 19:54:07 +00:00
parent 4bc0e49878
commit 84de128194

View File

@ -2300,7 +2300,7 @@ implementation
vl:=eh_return_data_regno(vl.svalue);
if vl=-1 then
CGMessagePos(left.fileinfo,type_e_range_check_error_bounds);
result:=genintconstnode(vl);
hp:=genintconstnode(vl);
end;
else
internalerror(88);