mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 20:39:13 +02:00
* Fixed internal error 200411013 when typecasting and dereferencing nil into an array
This commit is contained in:
parent
ce134abe46
commit
2b9455e262
@ -974,6 +974,10 @@ implementation
|
|||||||
hlcg.location_force_mem(current_asmdata.CurrAsmList,left.location,left.resultdef);
|
hlcg.location_force_mem(current_asmdata.CurrAsmList,left.location,left.resultdef);
|
||||||
location_copy(location,left.location);
|
location_copy(location,left.location);
|
||||||
end;
|
end;
|
||||||
|
LOC_CONSTANT: { Usually 'nil' }
|
||||||
|
begin
|
||||||
|
hlcg.reference_reset_base(location.reference,left.resultdef,NR_NO,left.location.value,ctempposinvalid,location.reference.alignment,[]);
|
||||||
|
end;
|
||||||
LOC_INVALID:
|
LOC_INVALID:
|
||||||
Internalerror(2019061101);
|
Internalerror(2019061101);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user