mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 09:47:25 +01:00
* fixed compiler crash due to infinite recursion when compiling boolean to longint conversion on a 16 or 8-bit CPU
git-svn-id: branches/i8086@24135 -
This commit is contained in:
parent
e76cee64cc
commit
889e8650f1
@ -3079,7 +3079,7 @@ implementation
|
||||
{ convert to a 64bit int (only necessary for 32bit processors) (JM) }
|
||||
if resultdef.size > sizeof(aint) then
|
||||
begin
|
||||
result := ctypeconvnode.create_internal(left,s32inttype);
|
||||
result := ctypeconvnode.create_internal(left,sinttype);
|
||||
result := ctypeconvnode.create(result,resultdef);
|
||||
left := nil;
|
||||
firstpass(result);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user