mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
* reprocess changed typeconvn in doremoveinttypeconvs(), as the changed
resultdef can result in a different type conversion (e.g. from nothing to int_2_int in case the result size changes) git-svn-id: trunk@32338 -
This commit is contained in:
parent
4d53455379
commit
6677747d74
@ -2597,8 +2597,11 @@ implementation
|
||||
end;
|
||||
typeconvn:
|
||||
begin
|
||||
n.resultdef:=todef;
|
||||
ttypeconvnode(n).totypedef:=todef;
|
||||
{ may change the type conversion, e.g. if the old conversion was
|
||||
from 64 bit to a 64 bit, and now becomes 64 bit to 32 bit }
|
||||
n.resultdef:=nil;
|
||||
typecheckpass(n);
|
||||
end;
|
||||
else
|
||||
inserttypeconv_internal(n,todef);
|
||||
|
Loading…
Reference in New Issue
Block a user