mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 00:08:12 +02:00
* real constants should be propagated during inline expanding
git-svn-id: trunk@36277 -
This commit is contained in:
parent
ddfaf59626
commit
54b5112284
@ -4709,7 +4709,8 @@ implementation
|
||||
{ don't create a temp. for the often seen case that p^ is passed to a var parameter }
|
||||
((paracomplexity>1) and
|
||||
not((realtarget.nodetype=derefn) and (para.parasym.varspez in [vs_var,vs_out,vs_constref])) and
|
||||
not((realtarget.nodetype=loadn) and tloadnode(realtarget).is_addr_param_load)
|
||||
not((realtarget.nodetype=loadn) and tloadnode(realtarget).is_addr_param_load) and
|
||||
not(realtarget.nodetype=realconstn)
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user