mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 08:19:22 +02:00
* handle indexing implicit pointer types on llvm
git-svn-id: trunk@30723 -
This commit is contained in:
parent
98c5f7d20f
commit
864f9b24cc
@ -143,7 +143,9 @@ implementation
|
|||||||
locref:=nil;
|
locref:=nil;
|
||||||
{ avoid uninitialised warning }
|
{ avoid uninitialised warning }
|
||||||
arrptrelementdef:=nil;
|
arrptrelementdef:=nil;
|
||||||
if not arraytopointerconverted then
|
if not arraytopointerconverted and
|
||||||
|
not is_dynamicstring(left.resultdef) and
|
||||||
|
not is_dynamic_array(left.resultdef) then
|
||||||
begin
|
begin
|
||||||
{ the result is currently a pointer to left.resultdef (the array type)
|
{ the result is currently a pointer to left.resultdef (the array type)
|
||||||
-> convert it into a pointer to an element inside this array }
|
-> convert it into a pointer to an element inside this array }
|
||||||
|
Loading…
Reference in New Issue
Block a user