mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:29:29 +02:00
+ fold also constant pointer operations on nil nodes
This commit is contained in:
parent
b3c1f294ba
commit
2e9556f2eb
@ -741,7 +741,7 @@ implementation
|
||||
{ Recover }
|
||||
t:=genintconstnode(0)
|
||||
end
|
||||
else if (lt=pointerconstn) or (rt=pointerconstn) then
|
||||
else if is_constpointernode(left) or is_constpointernode(right) then
|
||||
t := cpointerconstnode.create(qword(v),resultdef)
|
||||
else
|
||||
if is_integer(ld) then
|
||||
|
Loading…
Reference in New Issue
Block a user