mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-11 17:10:31 +01:00
+ propagate pointer constants
This commit is contained in:
parent
3f8bbd3b00
commit
13fc4075f5
@ -347,7 +347,8 @@ unit optconstprop;
|
|||||||
is_constboolnode(a.right) or
|
is_constboolnode(a.right) or
|
||||||
is_constcharnode(a.right) or
|
is_constcharnode(a.right) or
|
||||||
is_constenumnode(a.right) or
|
is_constenumnode(a.right) or
|
||||||
is_conststringnode(a.right)) then
|
is_conststringnode(a.right) or
|
||||||
|
is_constpointernode(a.right)) then
|
||||||
begin
|
begin
|
||||||
{$ifdef DEBUG_CONSTPROP}
|
{$ifdef DEBUG_CONSTPROP}
|
||||||
writeln('******************************* propagating ***********************************');
|
writeln('******************************* propagating ***********************************');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user