* 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:
florian 2014-01-30 17:19:04 +00:00
parent fc7dc9e54c
commit 3a11dd1055

View File

@ -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]));