mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 03:29:14 +02:00
* create the addr node for cse with create_internal to avoid errors when taking the address of a temp.
git-svn-id: trunk@26624 -
This commit is contained in:
parent
fc7dc9e54c
commit
3a11dd1055
@ -374,7 +374,7 @@ unit optcse;
|
||||
|
||||
if addrstored then
|
||||
templist[i]:=ctempcreatenode.create_value(getpointerdef(def),voidpointertype.size,tt_persistent,
|
||||
true,caddrnode.create(tnode(lists.nodelist[i])))
|
||||
true,caddrnode.create_internal(tnode(lists.nodelist[i])))
|
||||
else
|
||||
templist[i]:=ctempcreatenode.create_value(def,def.size,tt_persistent,
|
||||
def.is_intregable or def.is_fpuregable,tnode(lists.nodelist[i]));
|
||||
|
Loading…
Reference in New Issue
Block a user